# Eden AI Documentation ## Docs - [Count Anthropic Tokens](https://www.edenai.co/docs/api-reference/anthropic-messages/count-anthropic-tokens.md): Count input tokens for an Anthropic-format request without running the model. - [Create Anthropic Message](https://www.edenai.co/docs/api-reference/anthropic-messages/create-anthropic-message.md): Anthropic Messages API — native pass-through via litellm. - [Chat Completions](https://www.edenai.co/docs/api-reference/chat/chat-completions.md): OpenAI-compatible chat completions endpoint (v3). - [Monitor Consumptions](https://www.edenai.co/docs/api-reference/cost-monitoring/monitor-consumptions.md): Returns aggregated consumption over time. - [My Credits](https://www.edenai.co/docs/api-reference/cost-monitoring/my-credits.md): Get you current credits - [Create Embeddings](https://www.edenai.co/docs/api-reference/embeddings/create-embeddings.md): OpenAI-compatible embeddings endpoint. - [List Embeddings Models](https://www.edenai.co/docs/api-reference/embeddings/list-embeddings-models.md): List available embeddings models. - [Delete All Files](https://www.edenai.co/docs/api-reference/files-management/delete-all-files.md): Delete all uploaded files for the authenticated user. - [Delete Files By Ids](https://www.edenai.co/docs/api-reference/files-management/delete-files-by-ids.md): Delete specific files by their IDs. - [List Files](https://www.edenai.co/docs/api-reference/files-management/list-files.md): List uploaded files for the authenticated user. - [Upload File](https://www.edenai.co/docs/api-reference/files-management/upload-file.md): Upload a file for persistent storage. - [Get Feature Info](https://www.edenai.co/docs/api-reference/info/get-feature-info.md): Get detailed information for a specific feature/subfeature. - [List Features](https://www.edenai.co/docs/api-reference/info/list-features.md): List all available features and their subfeatures. - [List Subfeatures](https://www.edenai.co/docs/api-reference/info/list-subfeatures.md): List all subfeatures for a specific feature. - [Invalidate Router Cache](https://www.edenai.co/docs/api-reference/models/invalidate-router-cache.md): Invalidate router default-models cache. Staff only. - [List Models](https://www.edenai.co/docs/api-reference/models/list-models.md): List available LLM models with extended metadata. - [Create Moderation](https://www.edenai.co/docs/api-reference/moderations/create-moderation.md): OpenAI-compatible content moderation endpoint. - [List Moderation Models](https://www.edenai.co/docs/api-reference/moderations/list-moderation-models.md): List available moderation models. - [Create Response](https://www.edenai.co/docs/api-reference/responses/create-response.md): Create a model response. - [Delete Response](https://www.edenai.co/docs/api-reference/responses/delete-response.md): Delete a stored model response by ID. - [Retrieve Response](https://www.edenai.co/docs/api-reference/responses/retrieve-response.md): Retrieve a stored model response by ID. - [Create Async Job](https://www.edenai.co/docs/api-reference/universal-ai/create-async-job.md): Create an async job for long-running AI operations. - [Delete Async Job](https://www.edenai.co/docs/api-reference/universal-ai/delete-async-job.md): Delete an async job. Users can only delete their own jobs. - [Get Async Job](https://www.edenai.co/docs/api-reference/universal-ai/get-async-job.md): Get details for a specific async job. - [List Async Jobs](https://www.edenai.co/docs/api-reference/universal-ai/list-async-jobs.md): List async jobs for the authenticated user. - [Universal Ai](https://www.edenai.co/docs/api-reference/universal-ai/universal-ai.md): Universal AI endpoint for synchronous non-LLM AI features. - [Create new Token](https://www.edenai.co/docs/api-reference/user-management/create-new-token.md) - [Delete Token](https://www.edenai.co/docs/api-reference/user-management/delete-token.md) - [List Tokens](https://www.edenai.co/docs/api-reference/user-management/list-tokens.md) - [Retrieve Token](https://www.edenai.co/docs/api-reference/user-management/retrieve-token.md) - [Update Token](https://www.edenai.co/docs/api-reference/user-management/update-token.md) - [Eden AI Documentation](https://www.edenai.co/docs/index.md): One API. 500+ AI models. Use any LLM or AI feature with fallback, routing, and cost tracking built in. - [Data retention](https://www.edenai.co/docs/v3/data-governance/data-retention.md): Learn about Eden AI's data retention policies and log retention options. - [EU Endpoint](https://www.edenai.co/docs/v3/data-governance/eu-endpoint.md) - [Servers location](https://www.edenai.co/docs/v3/data-governance/servers-location.md): Eden AI's infrastructure is hosted in secure European data centers to ensure optimal performance and compliance. - [Speech To Text](https://www.edenai.co/docs/v3/expert-models/features/audio/speech-to-text-async.md): Speech Recognition (or speech to text or voice to text) can recognize and transcribe spoken words (voice), that will be converted to text with or without diarization. - [Text to Speech](https://www.edenai.co/docs/v3/expert-models/features/audio/tts.md): Text-to-speech (TTS) is a technology that converts written text into spoken audio, enabling computers and digital devices to "read" text aloud. - [AI Image Detection](https://www.edenai.co/docs/v3/expert-models/features/image/ai-detection.md): Determine whether an image was generated by AI or is a real photograph or artwork. - [Image Anonymization](https://www.edenai.co/docs/v3/expert-models/features/image/anonymization.md): Image Anonymization API, also known as image de-identification or image de-personalization, refers to the process of automatically removing personal or sensitive information from images. - [Background removal](https://www.edenai.co/docs/v3/expert-models/features/image/background-removal.md): Background removal is a digital image processing technique designed to seamlessly eliminate the backdrop of a photo, leaving behind only the main subject. - [Deepfake Detection](https://www.edenai.co/docs/v3/expert-models/features/image/deepfake-detection.md) - [Explicit Content Detection](https://www.edenai.co/docs/v3/expert-models/features/image/explicit-content.md): Explicit Content Detection detects adult only content in images, that is generally inappropriate for people under the age of 18 and includes nudity, sexual activity, pornography, violence, gore - [Face Comparison](https://www.edenai.co/docs/v3/expert-models/features/image/face-compare.md): Compare two faces and decide whether they are from the same person. The API expects 2 images, reference and query, where the former is the ground truth (e.g. - [Face Detection](https://www.edenai.co/docs/v3/expert-models/features/image/face-detection.md): Face Detection is a computer technology being used in a variety of applications that identifies human faces in digital images with different attributes like landmarks, sentiments and physical attire - [Image generation](https://www.edenai.co/docs/v3/expert-models/features/image/generation.md): Image Generation is an advanced feature that generates compelling images based on a given text prompt. - [Logo Detection](https://www.edenai.co/docs/v3/expert-models/features/image/logo-detection.md): Logo Detection is a powerful technology that enables the automatic identification and recognition of popular logos within an image. - [Object Detection](https://www.edenai.co/docs/v3/expert-models/features/image/object-detection.md): Object Detection is a computer vision technique that allows users to identify and locate (with bounding boxes) objects in an image. - [Financial Parser](https://www.edenai.co/docs/v3/expert-models/features/ocr/financial-parser.md): Financial Parser API is a powerful and versatile tool designed to streamline your financial data extraction process. - [Identity Parser](https://www.edenai.co/docs/v3/expert-models/features/ocr/identity-parser.md): ID Document parsing technology allows users to automatically extract information from an ID Document such as passport, ID card, driving license and more. - [Text Detection (OCR)](https://www.edenai.co/docs/v3/expert-models/features/ocr/ocr.md): Optical Character Recognition or Reader (OCR) is the electronic or mechanical conversion of images of typed, handwritten or printed text into machine-encoded text. - [OCR Multipage](https://www.edenai.co/docs/v3/expert-models/features/ocr/ocr-async.md): OCR or Optical Character Recognition is also referred to as text recognition or text extraction. It allows users to extract text data from PDFs with multiple pages. - [Table Extraction](https://www.edenai.co/docs/v3/expert-models/features/ocr/ocr-tables-async.md): OCR Table (Optical Character Recognition for tabular documents) allows users to analyze documents containing tables and returns a structured representation of the detected tables in the form of a - [Resume Parser](https://www.edenai.co/docs/v3/expert-models/features/ocr/resume-parser.md): Resume Parser enables users to extract various information from resumes (curriculum vitae, CV) that could be in a variety of formats and returns structured data (name, job list, education, skills) to - [Text AI Content Detection](https://www.edenai.co/docs/v3/expert-models/features/text/ai-detection.md): The AI Detection API is a tool designed to determine whether a given text was generated by an artificial intelligence chatbot, or a Language Model (LLM). - [Text Moderation](https://www.edenai.co/docs/v3/expert-models/features/text/moderation.md): Text moderation scans text for offensive, sexually explicit or suggestive content, it also checks if there is any content of self-harm, violence, racist or hate speech. - [Named Entity Recognition](https://www.edenai.co/docs/v3/expert-models/features/text/named-entity-recognition.md): Named Entity Recognition (also called entity identification or extraction) is an information extraction technique that automatically identifies named entities in a text and classifies them into - [Plagiarism Detection](https://www.edenai.co/docs/v3/expert-models/features/text/plagia-detection.md): The Plagiarism Detection API is a tool designed to scan a content string for plagiarism using a plagiarism detection module - [Grammar Spell Check](https://www.edenai.co/docs/v3/expert-models/features/text/spell-check.md): Spell Check analyzes the inputted text by comparing it to a dictionary of correctly spelled words to identify and highlight any spelling errors or grammatical mistakes. - [Topic Extraction](https://www.edenai.co/docs/v3/expert-models/features/text/topic-extraction.md): Topic analysis is a Natural Language Processing (NLP) technique that allows us to automatically extract meaning from text by identifying recurrent themes or topics. - [Text Translation](https://www.edenai.co/docs/v3/expert-models/features/translation/automatic-translation.md): Automatic translation or machine translation (MT) is the process of automatically translating a text from one language to another language. - [Document Translation](https://www.edenai.co/docs/v3/expert-models/features/translation/document-translation.md): Document Translation API translates whole documents in supported languages and various file formats (like pdf or doc) while keeping their structure intact. - [Video Generation](https://www.edenai.co/docs/v3/expert-models/features/video/generation-async.md): The Video Generation API enables easy creation of high-quality videos from text,and images, perfect for marketing, education, and more—all through one integration. - [List Expert Models](https://www.edenai.co/docs/v3/expert-models/listing-models.md): Use the /v3/info endpoints to discover all available expert model features, providers, and models. - [Provider Parameters](https://www.edenai.co/docs/v3/expert-models/provider-parameters.md): The provider_params field lets you pass provider-specific parameters that aren't part of Eden AI's unified schema. - [Webhooks](https://www.edenai.co/docs/v3/expert-models/webhooks.md): Webhooks let you receive results from async Universal AI jobs via HTTP callbacks instead of polling. - [Buying Credits & Auto-Refill](https://www.edenai.co/docs/v3/general/buying-credits.md): Eden AI uses a pay-per-use credit system. Every API response includes a cost field showing the charge in USD for that request, so you always know exactly what you are spending. - [BYOK (Bring Your Own Key)](https://www.edenai.co/docs/v3/general/byok.md): Eden AI lets you use your own provider API keys (OpenAI, Google, Anthropic, etc. - [Caching](https://www.edenai.co/docs/v3/general/caching.md): Eden AI automatically caches responses for repeated identical requests. When a request matches a previous one (same model and same input), the cached response is returned at no additional cost. - [Custom API Keys](https://www.edenai.co/docs/v3/general/custom-api-keys.md): Custom API keys let you create additional tokens beyond your main account key. Each token can have its own budget, expiration, and type, giving you fine-grained control over access and spending. - [Fallback](https://www.edenai.co/docs/v3/general/fallback.md): Eden AI automatically handles fallback on both LLM and Universal AI / expert model requests. - [Monitoring](https://www.edenai.co/docs/v3/general/monitoring.md): Learn how to track your Eden AI API consumption and costs using the Cost Monitoring endpoints. - [Sandbox](https://www.edenai.co/docs/v3/general/sandbox.md): Sandbox tokens let you test your integration without real provider calls and at no cost. - [Support](https://www.edenai.co/docs/v3/general/support.md): Eden AI offers several support channels depending on the nature of your question and your plan. - [Users & Organisation](https://www.edenai.co/docs/v3/general/users-organisation.md): Eden AI provides team and organisation management features for companies that need structured access control, project separation, and governance over their AI usage. - [Claude Code](https://www.edenai.co/docs/v3/integrations/claude-code.md): Configure Claude Code, Anthropic's official CLI coding agent, to use Eden AI for access to 500+ models behind a single API key. - [Cline](https://www.edenai.co/docs/v3/integrations/cline.md): Configure Cline, the autonomous AI coding agent for VS Code, to use Eden AI for access to +300 LLM models. - [Codex CLI](https://www.edenai.co/docs/v3/integrations/codex-cli.md): Configure Codex CLI, OpenAI's open-source local coding agent, to use Eden AI for access to 500+ models behind a single API key. - [Continue.dev](https://www.edenai.co/docs/v3/integrations/continue-dev.md): Configure Continue.dev, the open-source AI code assistant, to use Eden AI for access to 500+ models. - [LangChain](https://www.edenai.co/docs/v3/integrations/langchain.md): Integrate Eden AI with LangChain for building powerful LLM applications with access to 500+ models. - [LibreChat](https://www.edenai.co/docs/v3/integrations/librechat.md): Configure LibreChat, the open-source ChatGPT alternative, to use Eden AI for access to 500+ AI models. - [n8n](https://www.edenai.co/docs/v3/integrations/n8n.md): Connect n8n to Eden AI using the official community node, and plug +300 LLM models from 50+ providers into any AI Agent or Chain workflow. - [Open WebUI](https://www.edenai.co/docs/v3/integrations/open-webui.md): Configure Open WebUI (formerly Ollama WebUI) to use Eden AI for accessing 500+ AI models through a sleek interface. - [OpenAI Python SDK](https://www.edenai.co/docs/v3/integrations/openai-sdk-python.md): Use the official OpenAI Python SDK with Eden AI to access 500+ AI models through a familiar interface. - [OpenAI TS/JS SDK](https://www.edenai.co/docs/v3/integrations/openai-sdk-typescript.md): Use the official OpenAI TypeScript/JavaScript SDK with Eden AI for seamless multi-provider access. - [OpenClaw](https://www.edenai.co/docs/v3/integrations/openclaw.md): Connect OpenClaw to Eden AI and route your agent through 500+ models with smart routing, automatic fallbacks, and a single API key. - [OpenCode](https://www.edenai.co/docs/v3/integrations/opencode.md): Configure OpenCode, the AI-powered terminal coding assistant, to use Eden AI for access to 500+ models. - [Chat completions](https://www.edenai.co/docs/v3/llms/chat-completions.md): Build conversational AI applications using Eden AI's OpenAI-compatible chat completions endpoint. - [Embeddings](https://www.edenai.co/docs/v3/llms/embeddings.md): Turn text into vectors with one OpenAI-compatible API. Run RAG, semantic search, clustering, and recommendations across 200+ models on Eden AI. - [File upload](https://www.edenai.co/docs/v3/llms/file-upload.md): Learn how to upload and manage files with V3's persistent file storage system. - [Image Generation](https://www.edenai.co/docs/v3/llms/image-generation.md): Generate and edit images through the chat completions endpoint using LLMs that natively support image output. - [List LLM Models](https://www.edenai.co/docs/v3/llms/listing-models.md): Use the /v3/models endpoint to retrieve all LLM models available through Eden AI, along with their capabilities: PDF support, reasoning, web search, and tool calling. - [Responses](https://www.edenai.co/docs/v3/llms/responses.md): Eden AI supports the OpenAI Responses API — a stateful alternative to chat completions that stores conversation history server-side, so you don't need to resend the full message history on each turn. - [Smart routing](https://www.edenai.co/docs/v3/llms/smart-routing.md): Learn practical patterns for implementing smart routing with LLMs using Eden AI's dynamic model selection. - [Streaming](https://www.edenai.co/docs/v3/llms/streaming.md): Learn how to handle streaming responses from the V3 LLM endpoint using Server-Sent Events (SSE). - [Structured Output](https://www.edenai.co/docs/v3/llms/structured-output.md): Structured output lets you constrain LLM responses to valid JSON that follows a specific format. - [Web Search](https://www.edenai.co/docs/v3/llms/web-search.md): Web search lets LLMs access real-time information from the internet when generating responses. - [What is an AI Gateway?](https://www.edenai.co/docs/v3/overview/ai-gateway.md): Eden AI is a unified AI gateway that gives you access to 500+ AI models from 50+ providers through a single API. - [LLMs vs Expert Models](https://www.edenai.co/docs/v3/overview/llms-vs-expert-models.md): Eden AI V3 provides two main endpoints. Both share the same base URL (https://api. - [Plans & Pricing](https://www.edenai.co/docs/v3/overview/plans-prices.md): Eden AI charges no markup on provider pricing. You pay exactly what the underlying provider charges, plus a 5. - [Rate Limits](https://www.edenai.co/docs/v3/overview/rate-limits.md): Eden AI applies a per-account rate limit on requests to the API. The limit can be raised based on the volume and pattern of traffic you need to support. - [First Expert Model call](https://www.edenai.co/docs/v3/quickstart/first-expert-model-call.md): Get started with Eden AI's Universal AI endpoint for expert models (OCR, image analysis, text processing, and more). - [First LLM Call](https://www.edenai.co/docs/v3/quickstart/first-llm-call.md): Make your first call to Eden AI's OpenAI-compatible LLM endpoint and start building with 500+ models. ## OpenAPI Specs - [openapi](https://www.edenai.co/docs/api-reference/openapi.json)