Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free trial
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • LLM cost calculator
  • Token counter
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Benchmarks
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)
Help Center
🔁

Switch from the OpenAI API

Found this helpful? Share it:

Already built on the OpenAI API? Point your code at idapt's base URL and keep everything else. Same SDK, same request shapes, 200+ models 🔁

Switch in two steps

  1. Create an API key under Settings → Developer and pick its scopes. Workspace Gateway keys can also carry a lifetime USD spend cap: see API keys and scopes.

  2. Set your client's base URL to https://idapt.app/api/openai/v1 and send the key as Authorization: Bearer uk_...

from openai import OpenAI

client = OpenAI(
    base_url="https://idapt.app/api/openai/v1",
    api_key="uk_your_key_here",
)

The full walkthrough with per-framework snippets lives in the OpenAI API migration guide.

What works

  • chat/completions, with streaming and tools

  • responses, as a non-streaming bridge

  • embeddings

  • images/generations

  • audio/speech and audio/transcriptions

  • models, listing the full catalog

responses with stream: true returns a 501; use chat/completions for streaming.

What's rejected

A few OpenAI features have no idapt equivalent: the auto model and n > 1. Requests that use them are rejected with a clear error, never silently ignored, so your app can't misbehave without you knowing.

Billing

LLM tokens bill at the prices shown in the app: no separate API pricing, what you see is what you pay.

Related articles

🔗

OpenAI-compatible API

Use idapt's 200+ models from any app that speaks the OpenAI API format.

📖

REST API

Authentication, versioning, response shapes, pagination, and errors for the idapt REST API, plus the full endpoint list.

Up next

Switch from the Anthropic API

Point the Anthropic SDK or Claude Code at idapt's base URL: the same Messages API with usage tracking and per-key spend caps.

Was this helpful?