Skip to main content
Use the official OpenAI Python SDK with Eden AI to access 500+ AI models through a familiar interface.

Overview

The OpenAI Python SDK is fully compatible with Eden AI’s V3 API. Simply point the SDK to Eden AI’s endpoint and you can access models from OpenAI, Anthropic, Google, Cohere, Meta, and more.

Installation

Quick Start

Configure the OpenAI client to use Eden AI:

Available Models

Access models from multiple providers using the provider/model format: OpenAI
  • openai/gpt-4
  • openai/gpt-4-turbo
  • openai/gpt-4o
  • openai/gpt-3.5-turbo
Anthropic
  • anthropic/claude-sonnet-4-5
  • anthropic/claude-opus-4-5
  • anthropic/claude-haiku-4-5
Google
  • google/gemini-2.5-pro
  • google/gemini-2.5-flash
Cohere
  • cohere/command-r-plus
  • cohere/command-r
Meta
  • meta/llama-3-70b
  • meta/llama-3-8b

Multi-Turn Conversations

Build conversational applications with message history:

Vision Capabilities

Send images to vision-capable models:

Error Handling

Environment Variables

Next Steps