Eden AI
Eden AI provides one API for accessing and orchestrating AI models across multiple providers for text, image, audio, document, and multimodal workloads.
Verdict
Common use cases
- Compare Claude and GPT-4 outputs side by side
- Embed product descriptions for semantic search
- Count tokens before sending long prompts
- Track AI spend across providers in one place
- Prototype with Mistral or Cohere without new accounts
Integration
- Vendor
- Eden AI
- Category
- other
- Auth
- API_KEY
- Tools
- 10
- Composio slug
eden_ai
Tools
- Count Anthropic Tokens
Count input tokens for an Anthropic-format message request before generation, including system content and tool definitions.
- Create Anthropic Message
Generate a non-streaming Anthropic-compatible message with content blocks, stop reason, token usage, provider metadata, and Eden AI cost. Each call runs a paid model and consumes Eden AI credits.
- Create Chat Completion
Generate a non-streaming OpenAI-compatible chat completion with a current Eden AI model and return its choices, token usage, provider, and cost. Each call runs a paid model and consumes Eden AI credits.
- Create Embeddings
Create embeddings for one text or a batch of texts and return vectors with model, usage, provider, and cost metadata. Each call runs a paid model and consumes Eden AI credits.
- Create Response
Create or continue a synchronous OpenAI Responses-compatible text response, stored by default for later retrieval, and return its ID, structured output, text, usage, provider, and cost.
- Discover AI Capabilities
Find current Eden AI models or inspect Universal AI feature schemas, providers, pricing, and regions before an execution call.
- Get Cost Overview
Return current account credits and, when a date range is supplied, aggregated consumption filtered by provider or subfeature.
- Get Response
Retrieve a previously stored Responses API object by ID, including its status, text output, structured output, usage, and canonical model.
- Moderate Text
Classify one text or a batch of texts for safety categories and return flags, category scores, applied input types, provider, and cost. Each call runs a paid model and consumes Eden AI credits.
- Run Universal AI
Run one synchronous Eden AI Universal AI feature using a current model and feature-specific input. Call DISCOVER_CAPABILITIES first for the exact model ID and runtime input schema. Returns normalized output, provider, and cost, with the raw
Setup
Setup guide
- 11. Sign up at edenai.co and generate an API key from your dashboard under Settings → API Keys. 2. In Switchy, open your workspace settings and click Integrations, then find Eden AI in the catalog. 3. Paste your API key into the connection form and click Connect. 4. Switchy will validate the key by fetching your account details; if it succeeds, Eden AI appears in your integration list. 5. Open any Project, type '@Eden AI discover' in the chat, and ask it to list available models — you should see a JSON response with providers, pricing, and regions. 6. To test a generation, type '@Eden AI create a chat completion using gpt-4o-mini: summarize this page in three bullets' and confirm you receive a response with token usage and cost metadata.
What teammates see: by default, memories from Eden AI are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Model Comparison
@Eden AI create three chat completions — one with gpt-4o, one with claude-3-5-sonnet, one with mistral-large — each answering: 'What are the top three risks of launching a SaaS product without user research?'
Embedding Batch
@Eden AI create embeddings for these three texts using text-embedding-3-small: 'Real-time collaboration', 'Version history and rollback', 'Single sign-on with SAML'. Return the vectors and token usage.
Token Budget Check
@Eden AI count Anthropic tokens for this message: system 'You are a product strategist', user 'Draft a go-to-market plan for a B2B analytics tool', and include the 'web_search' tool definition.
Cost Audit
@Eden AI get my cost overview from January 20 to January 27, broken down by provider and subfeature, and show my remaining account credits.
Model Discovery
@Eden AI discover all text-generation models available in us-east, sorted by cost per million tokens, and include provider names and context window sizes.
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@edenai what's my remaining credit balance and how much did I spend on OpenAI calls this month?
Your Eden AI account has 487.32 credits remaining. From January 1–31, you consumed 112.68 credits on OpenAI models: GPT-4o accounted for 89.40 credits (text generation), GPT-4o-mini for 14.12 credits (chat completions), and Whisper for 9.16 credits (audio transcription). No other providers were billed in this period. Next renewal is February 1.
Shows the cost-overview tool filtering by provider and date range. Helpful for budget tracking when you're routing requests through multiple AI vendors via Eden AI. The MCP requires an API key with billing-read scope. Credit balances update in near-real-time, but provider breakdowns may lag by a few minutes during high-volume usage.
Use-case deep-dives
When Eden AI wins for embedding vendor evaluation
A 6-person data team building semantic search needs to benchmark three embedding models (OpenAI, Cohere, Voyage) on their internal docs before committing to one vendor. Eden AI's Create Embeddings tool lets them run all three from a single API key and compare vectors side-by-side in the same Switchy thread. The Get Cost Overview tool tracks spend per provider in real time, so they know exactly what each experiment costs before scaling. This works well for evaluation sprints under 500k tokens; beyond that, you'll want direct vendor contracts for volume pricing. If your team already knows which embedding model to use, skip Eden AI and go straight to that provider's MCP—you'll save the markup and the abstraction layer. But for the 'which vendor should we pick' phase, Eden AI collapses three integrations into one and gives you apples-to-apples cost data in a single workspace.
When Eden AI helps track multi-provider support spend
A 3-person support team uses GPT-4 for complex tickets and Claude for routine triage, but they have no visibility into which model is burning budget. Eden AI's Create Chat Completion and Create Anthropic Message tools return per-call cost metadata, and Get Cost Overview aggregates it by provider and date range. In Switchy, the team runs both models from the same thread and sees cumulative spend in a single dashboard—no need to log into OpenAI and Anthropic separately. This setup shines when you're running 2-4 models in parallel and need unified billing insight. If you're only using one LLM, Eden AI adds overhead you don't need; just use that vendor's native MCP. And if you're processing thousands of tickets daily, Eden AI's per-call markup will exceed the value of consolidated reporting. For small teams in the 'figure out our LLM mix' phase, though, Eden AI turns cost tracking from a spreadsheet chore into a built-in feature.
When Count Anthropic Tokens prevents runaway costs
A 4-person product team uses Claude to summarize user interviews, but they keep hitting rate limits because they don't know how many tokens each interview transcript consumes before sending it. Eden AI's Count Anthropic Tokens tool lets them check token counts in Switchy before calling Create Anthropic Message, so they can batch interviews into chunks that stay under the model's context window. This prevents wasted API calls and surprise overage charges. The tool works best when you're prototyping workflows with variable-length inputs—interview transcripts, support tickets, meeting notes—and need to stay within a monthly token budget. If your inputs are predictable (like 500-word product descriptions), you don't need pre-flight token counting; just estimate once and move on. And if you're already using Anthropic's native MCP, it likely has token counting built in. But for teams juggling multiple LLM providers through Eden AI and trying to forecast costs before execution, this tool turns guesswork into data.
Frequently asked
What does the Eden AI MCP do in Switchy?
It lets your team call multiple AI providers (OpenAI, Anthropic, Cohere, etc.) through a single Eden AI account. You can generate chat completions, embeddings, and structured responses, compare token counts across models, and track spend per provider—all without juggling separate API keys for each vendor.
Do I need an Eden AI account to use this MCP?
Yes. You'll need an Eden AI account with credits loaded and an API key. The MCP authenticates with that key, and every model call (chat, embeddings, token counting) consumes credits from your Eden AI balance. No Eden AI account means no access.
Can the Eden AI MCP run models for free?
No. Every generation call—whether chat completion, embedding, or structured response—runs a paid model on Eden AI's infrastructure and deducts credits. The MCP surfaces cost metadata after each call, but you're always paying Eden AI's per-token or per-request pricing.
Why use this instead of calling OpenAI or Anthropic directly?
Eden AI abstracts provider differences into a single API, so you can switch models (GPT-4, Claude, Mistral) without rewriting code. You also get unified spend tracking and the ability to discover new models without managing multiple vendor accounts. Trade-off: you pay Eden AI's markup over raw provider pricing.
Who on the team should connect the Eden AI MCP?
Whoever holds the Eden AI API key and manages the credit budget. That person's key will authenticate all team calls through Switchy, and their account will be billed. If you want spend visibility, make sure they can share the cost-overview tool output with the rest of the team.