Anthropic's strongest model — hardest reasoning and multi-day agentic work. Cache reads from $0.06 per 1M.
One OpenAI-compatible endpoint for every AI model
Every request, one address. 200+ frontier models behind a single OpenAI-compatible endpoint — no SDK swap, no rewrite, no lock-in.
One OpenAI-compatible key for 200+ frontier models — Claude, GPT, Gemini and more.
A dedicated Ark Global key for Seedance and Seedream video, served worldwide.
Supported model providers — accessed through a single OpenAI-compatible interface.
All product names, logos and trademarks are property of their respective owners. OAIRoute is an independent API gateway and is not affiliated with, endorsed by, or sponsored by these companies.
Three lines to switch your entire stack
Already using the OpenAI SDK? Change the base URL and you are done. Every model below speaks the same request format.
from openai import OpenAI client = OpenAI( api_key="YOUR_OAIROUTE_KEY", base_url="https://api.oairoute.com/v1", # only this line changes ) resp = client.chat.completions.create( model="claude-opus-5", # or gemini-3-pro, gpt-5.6, doubao-pro messages=[{"role": "user", "content": "Explain routing in one sentence."}], ) print(resp.choices[0].message.content)
import OpenAI from "openai"; const client = new OpenAI({ apiKey: process.env.OAIROUTE_API_KEY, baseURL: "https://api.oairoute.com/v1", // only this line changes }); const resp = await client.chat.completions.create({ model: "gemini-3.1-pro", messages: [{ role: "user", content: "Explain routing in one sentence." }], }); console.log(resp.choices[0].message.content);
curl https://api.oairoute.com/v1/chat/completions \ -H "Authorization: Bearer $OAIROUTE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek-v4", "messages": [{"role": "user", "content": "Explain routing in one sentence."}], "stream": true }'
# Works with any OpenAI-compatible library or tool OPENAI_API_KEY=YOUR_OAIROUTE_KEY OPENAI_BASE_URL=https://api.oairoute.com/v1 # Anthropic-format clients (Claude Code, etc.) ANTHROPIC_BASE_URL=https://api.oairoute.com ANTHROPIC_API_KEY=YOUR_OAIROUTE_KEY
Create an account
Sign up at api.oairoute.com — free trial credit included.
Generate an API key
One key works across every model. Scope it per project if you like.
Change your base URL
Point your client at api.oairoute.com/v1 and ship.
Ark Global
Volcengine's frontier models — text, image and video — served worldwide through an OpenAI-compatible endpoint. Models you cannot get from Western gateways.
Seedance 2.5 Flash
Token-billed 480p–720p video — the lowest-cost way to run Seedance 2.5
Seedance 2.5
Text-to-video generation up to 30s, 1080p resolution
Seedream 5.5
Newest text-to-image — 2K output, multi-image sets and layer decomposition
Seedream 5.0 Pro
Text-to-image, photorealistic and concept art styles
Seedance 2.0
Text-to-video generation up to 15s, 4k resolution
Global routing
Accessible outside mainland China with no extra setup.
Newly added models
Frontier models added to the gateway, newest first. All prices in USD per million tokens.
OpenAI's strongest image model — photoreal detail, precise text rendering and fast iteration.
OpenAI's strongest image model, tuned for vivid color and stylized lighting.
Anthropic's highest-intelligence model, built for long-running agentic coding.
OpenAI's most capable model for complex reasoning, coding and computer use.
Google's flagship for software engineering, deep math and long-horizon agents.
Gemini 4 tier for high-throughput serving — same 1M context, tuned for steady load.
Lighter Gemini 4 build — lowest list price of the trio, same 1M context.
DeepSeek's top tier — deeper reasoning for hard multi-step work.
Live web and X knowledge with high-throughput reasoning.
Cheapest tier for high-volume classification and extraction.
Agentic tool use and document-heavy workflows at long context.
Alibaba's flagship text model with strong Chinese-language performance.
Long-context multimodal model with open weights.
OpenAI's newest image model — photorealistic output and precise text rendering.
ByteDance's newest text-to-image model — 2K output, multi-image sets and layer decomposition.
Token-billed video generation at 480p and 720p — the cheapest way to run Seedance 2.5.
Text, image and reference-video to video — up to 30s, real-person support.
The newest flagship from every lab, at the lowest channel price
The newest flagship from each lab, plus ByteDance's Seedance and Seedream. Every price below is the lowest upstream channel available for that model.
| Model | Official price | OAIRoute | Channels | Discount |
|---|---|---|---|---|
| $8.00 / $40.00per 1M tokens | $2.40 / $12.00per 1M tokens | 4 | 0.3× official price | |
| $5.00 / $30.00per 1M tokens | $2.25 / $13.50per 1M tokens | 6 | 0.45× official price | |
| $5.00 / $30.00per 1M tokens | $2.25 / $13.50per 1M tokens | 6 | 0.45× official price | |
| $4.00 / $20.00per 1M tokens | $0.20 / $1.00per 1M tokens | 13 | 0.05× official price | |
| $2.00 / $10.00per 1M tokens | $0.18 / $0.90per 1M tokens | 9 | 0.09× official price | |
| $10.00 / $50.00per 1M tokens | $0.50 / $2.50per 1M tokens | 11 | 0.05× official price | |
| $2.00 / $10.00per 1M tokens | $0.10 / $0.50per 1M tokens | 11 | 0.05× official price | |
| $2.00 / $10.00per 1M tokens | $0.30 / $1.50per 1M tokens | 7 | 0.15× official price | |
| $2.00 / $10.00per 1M tokens | $0.30 / $1.50per 1M tokens | 8 | 0.15× official price | |
| $1.50 / $7.50per 1M tokens | $0.675 / $3.38per 1M tokens | 4 | 0.45× official price | |
| $4.50 / $13.50per 1M tokens | $0.203 / $0.608per 1M tokens | 5 | 0.05× official price | |
| $2.00 / $6.00per 1M tokens | $0.12 / $0.36per 1M tokens | 3 | 0.06× official price | |
| $10.00 / $50.00per 1M tokens | $1.50 / $7.50per 1M tokens | 8 | 0.15× official price | |
| $1.00 / $4.00per 1M tokens | $0.045 / $0.18per 1M tokens | 5 | 0.05× official price | |
| $2.10 / $8.40per 1M tokens | $0.158 / $0.63per 1M tokens | 3 | 0.08× official price | |
| $5.00 / $30.00per 1M tokens | $2.25 / $13.50per 1M tokens | 4 | 0.45× official price | |
| $5.00 / $30.00per 1M tokens | $2.24 / $13.44per 1M tokens | 8 | 0.45× official price | |
| $2.00 / $12.00per 1M tokens | $0.30 / $1.80per 1M tokens | 6 | 0.15× official price | |
| $0.035per 2K image | $0.026per 2K image | 2 | 0.75× official price | |
| $0.336per 5s @480p | $0.202per 5s @480p | 2 | 0.6× official price | |
| $0.514per 5s @480p | $0.308per 5s @480p | 4 | 0.6× official price |
Works in the tools you already use
Pick your coding agent or client, paste one config block, replace the key. No plugins, no wrappers.
{ "env": { "ANTHROPIC_BASE_URL": "https://api.oairoute.com", "ANTHROPIC_API_KEY": "YOUR_OAIROUTE_KEY", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5" } }
claude in any project directory.model_provider = "oairoute" model = "gpt-5.6" [model_providers.oairoute] name = "oairoute" base_url = "https://api.oairoute.com/v1" wire_api = "responses" experimental_bearer_token = "YOUR_OAIROUTE_KEY"
codex.GEMINI_API_KEY=YOUR_OAIROUTE_KEY GOOGLE_GEMINI_BASE_URL=https://api.oairoute.com # Or use it in OpenAI-compatible mode: OPENAI_API_KEY=YOUR_OAIROUTE_KEY OPENAI_BASE_URL=https://api.oairoute.com/v1
gemini from your terminal.API Provider OpenAI Compatible Base URL https://api.oairoute.com/v1 API Key YOUR_OAIROUTE_KEY Model ID claude-opus-5 # Enable "Supports Images" and "Supports Prompt Caching" # for the models that offer them.
Provider OpenAI Compatible Base URL https://api.oairoute.com/v1 API Key YOUR_OAIROUTE_KEY Model claude-sonnet-5 # Roo supports separate models per mode — # use a cheaper model for Ask, a stronger one for Code.
{ "provider": { "oairoute": { "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "https://api.oairoute.com/v1", "apiKey": "YOUR_OAIROUTE_KEY" }, "models": { "claude-opus-5": { "name": "Claude Opus 5" }, "gpt-5.6": { "name": "GPT-5.6" } } } } }
opencode and pick the provider with the model switcher.Provider Type OpenAI Provider Name OAIRoute API Host https://api.oairoute.com API Key YOUR_OAIROUTE_KEY # Click "Manage" to auto-fetch the full model list # from /v1/models — no manual entry needed.
from langchain_openai import ChatOpenAI llm = ChatOpenAI( model="claude-opus-5", api_key="YOUR_OAIROUTE_KEY", base_url="https://api.oairoute.com/v1", ) class="t-c"># Every LangChain chain, agent and tool works unchanged — class="t-c"># swap the model string to route to a different provider. print(llm.invoke("Explain API routing.").content)
Built for production, not demos
Everything an AI gateway needs to sit between your product and a dozen model providers.
One protocol, every model
Anthropic, Gemini and provider-native formats are translated to the OpenAI schema on the fly. Your code targets one API forever.
Automatic failover
Multiple upstream channels per model. When one degrades, requests reroute in milliseconds — your users never see the 529.
Usage and budgets
Per-key spend limits, request logs and token accounting. Know exactly which feature is burning your budget.
Multi-key management
Issue scoped keys per environment, teammate or customer. Revoke one without rotating everything else.
Reachable worldwide
Serves regions where providers are blocked or unavailable, including Chinese models that Western gateways do not carry.
Streaming that stays fast
Full SSE streaming, tool calling, vision and prompt caching pass through untouched. Sub-50ms routing overhead.
Your app talks to one endpoint
OAIRoute normalizes authentication, request format, streaming and errors across every upstream provider.
Common questions
What exactly is OAIRoute?
Do I need to rewrite my code to switch models?
How is the pricing lower than the providers' list prices?
Can I use it with Claude Code, Codex CLI or Cline?
Which models can I get here that OpenRouter does not carry?
What happens to my data?
How do I get started?
About OAIRoute
OAIRoute exists for a simple reason: the AI model landscape moves faster than any codebase can follow. A new frontier model ships every few weeks, each with its own SDK, auth scheme and request format — and rewriting your integration every time is wasted work.
We run a single OpenAI-compatible gateway in front of all of them. Your application targets one endpoint and one key; we handle protocol translation, upstream failover, capacity and billing. When the next model launches, you change a string.
We are independent and self-funded, which means our incentive is straightforward: keep the routing fast, keep the prices honest, and keep the endpoint up.
Talk to the team
Questions about pricing, quotas or enterprise deployment — reach us directly. We usually reply within one business day.