Skip to main content
Build conversational AI applications using Eden AI’s OpenAI-compatible chat completions endpoint.

Overview

Eden AI V3 provides full OpenAI API compatibility with multi-provider support. The endpoint follows OpenAI’s exact format, making it a drop-in replacement. Endpoint:
Note: Streaming is optional. When enabled, responses are delivered via Server-Sent Events (SSE). See Streaming for streaming examples.

Model Format

Use the simplified model string format for LLM:
Examples:
  • openai/gpt-4
  • anthropic/claude-sonnet-4-5
  • google/gemini-2.5-flash
  • cohere/command-r-plus

Basic Chat Completion

Multi-Turn Conversations

Build conversations with message history:

System Messages

Guide the model’s behavior with system messages:

Temperature and Parameters

Control response creativity and behavior:

Extended Thinking (Claude)

For Anthropic Claude models, the thinking parameter enables extended reasoning: the model produces internal thinking content before its final answer, which can improve quality on complex tasks.
Extended thinking is only supported on Anthropic Claude models. When thinking is enabled, top_p is ignored.

Available Parameters

For details on the fallbacks field, see Fallback.

Response Format

Standard JSON response:

Available Models

For the full list of supported models and their capabilities (PDF support, reasoning, web search, tool calling), see List LLM Models.

OpenAI Python SDK Integration

Use Eden AI with the OpenAI SDK:

Next Steps

First Expert Model Call

Try OCR, image, and audio features with the Expert Models endpoint

LLMs vs Expert Models

Understand when to use each endpoint