Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
Blog

Use 200+ AI Models with the OpenAI API Format

ITidapt Team·March 29, 2026·Last reviewed July 16, 2026

Anything built on the OpenAI SDK can talk to every model in the idapt catalog by changing one line: the base URL. Claude, GPT, Gemini, Grok, DeepSeek, Mistral, and the rest of the 200+ model catalog answer at one endpoint, with one key and one bill.

One endpoint, every model

Set your base URL to https://idapt.app/api/openai/v1 and use an idapt API key. Every library and tool that speaks the OpenAI format works unchanged: LangChain, LlamaIndex, editors, custom scripts.

Python

from openai import OpenAI

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

response = client.chat.completions.create(
    model="anthropic/claude-sonnet-4.6",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://idapt.app/api/openai/v1",
  apiKey: "idapt_your_key_here",
});

const response = await client.chat.completions.create({
  model: "google/gemini-2.5-flash",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of response) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}

curl

curl https://idapt.app/api/openai/v1/chat/completions \
  -H "Authorization: Bearer idapt_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-pro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

What's supported

  • Chat Completions: streaming and non-streaming, tool and function calling included.
  • Responses API: POST /responses works against the same catalog.
  • Model listing: GET /models returns every model with its id.
  • Full SSE streaming, compatible with every OpenAI SDK.

Prefer a different dialect? The same catalog answers on an Anthropic-compatible endpoint and an OpenRouter-compatible one, so existing code keeps its SDK. The OpenAI API migration guide maps every field.

Pricing

The same rates as the web app, at the prices shown in the app, with no separate API pricing. On a paid plan, calls draw your included usage first, then your Credit balance (a 9.5% service fee applies when you add credits). Or bring your own provider keys and matching calls bill straight to your provider account.

Get started

  1. Sign up and pick a plan, or connect your own keys.
  2. Create a key under Settings → API Keys with the completions permission.
  3. Set the base URL and ship. The full guide covers models, errors, and limits.
APIDeveloper ToolsModels

Found this helpful? Share it:

  • One endpoint, every model
  • Python
  • Node.js
  • curl
  • What's supported
  • Pricing
  • Get started

Continue reading

  • Bring Your Own Keys: BYOK in Practice

    How BYOK works in idapt: connect provider API keys, route matching models on your accounts, and mix BYOK with platform billing and local inference.

  • Build on idapt: SDK Quickstart

    The @idapt/sdk in ten minutes: authenticate, chat with any model, read and write Drive files, and run agents from TypeScript.

  • Capability-Matched Cost Cutting: Pay for the Ceiling You Use

    Most AI spend goes to flagship models doing non-flagship work. How to match benchmark tier to task tier, verify the swap, and keep quality where it matters.

  • One Prompt, Five Models: Comparing Side by Side

    How to run the same prompt across several models in idapt with parallel tabs, when triangulation beats trusting one answer, and how to pick a keeper.

Explore idapt

  • Best of: the picks by job

    Data-backed model picks for coding, writing, research, and media.

  • One API key for every model.

    OpenAI-, Anthropic-, and OpenRouter-compatible endpoints with routing you control.

  • One chat. Every model.

    GPT, Claude, Gemini, Grok, Llama: pick mid-conversation, cheapest-first.

  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers · Soon
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • 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)