NEW Claude Fable 5.2 is live — the strongest model on the planet. $2.40 in / $12 out / $0.06 cached per 1M — 0.3× the official price.Try it now

The Unified AI Gateway
OpenAI SDKClaude CodeCodexHarnessLangChainYour backend
oairoute.com
One Route, Every Model OpenAI-compatible
OpenAIAnthropicGoogleDeepSeekKimiGLMVolcengine

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.

API GatewayAPI GatewayLiveGet API key

One OpenAI-compatible key for 200+ frontier models — Claude, GPT, Gemini and more.

Ark GlobalArk GlobalLiveGet API key

A dedicated Ark Global key for Seedance and Seedream video, served worldwide.

Base URL
200+Models
20+Providers
99.9%Uptime
<50msOverhead

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.

Quick Start

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.

main.py
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)
index.mjs
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);
request.sh
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
  }'
.env
# 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
1

Create an account

Sign up at api.oairoute.com — free trial credit included.

2

Generate an API key

One key works across every model. Scope it per project if you like.

3

Change your base URL

Point your client at api.oairoute.com/v1 and ship.

Open console
Now Live
Volcengine

Ark Global

Volcengine's frontier models — text, image and video — served worldwide through an OpenAI-compatible endpoint. Models you cannot get from Western gateways.

Open Ark Global

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.

Model Catalog

Newly added models

Frontier models added to the gateway, newest first. All prices in USD per million tokens.

Claude Fable 5.2NewAnthropic

Anthropic's strongest model — hardest reasoning and multi-day agentic work. Cache reads from $0.06 per 1M.

$2.40 / $12.00 per 1M1M
GPT Image 2.6 FlareNewOpenAI

OpenAI's strongest image model — photoreal detail, precise text rendering and fast iteration.

$2.25 / $13.50 per 1M—
GPT Image 2.6 SunburstNewOpenAI

OpenAI's strongest image model, tuned for vivid color and stylized lighting.

$2.25 / $13.50 per 1M—
Claude Opus 5.5NewAnthropic

Anthropic's highest-intelligence model, built for long-running agentic coding.

$0.20 / $1.00 per 1M1M
GPT-6-AstraNewOpenAI

OpenAI's most capable model for complex reasoning, coding and computer use.

$0.50 / $2.50 per 1M1.1M
Gemini 4 ArgonNewGoogle

Google's flagship for software engineering, deep math and long-horizon agents.

$0.30 / $1.50 per 1M1M
Gemini 4 CarbonNewGoogle

Gemini 4 tier for high-throughput serving — same 1M context, tuned for steady load.

$0.30 / $1.50 per 1M1M
Gemini 4 HydrogenNewGoogle

Lighter Gemini 4 build — lowest list price of the trio, same 1M context.

$0.675 / $3.38 per 1M1M
DeepSeek V4 ProBest valueDeepSeek

DeepSeek's top tier — deeper reasoning for hard multi-step work.

$0.203 / $0.608 per 1M1M
Grok 4.7xAI

Live web and X knowledge with high-throughput reasoning.

$0.12 / $0.36 per 1M500K
GLM-5.3 FlashZhipu

Cheapest tier for high-volume classification and extraction.

$0.036 / $0.126 per 1M1M
Kimi K3Moonshot

Agentic tool use and document-heavy workflows at long context.

$0.90 / $4.50 per 1M1M
Qwen3.8 MaxAlibaba

Alibaba's flagship text model with strong Chinese-language performance.

$0.54 / $1.62 per 1M—
MiniMax M3MiniMax

Long-context multimodal model with open weights.

$0.158 / $0.63 per 1M1M
GPT Image 2.5NewOpenAI

OpenAI's newest image model — photorealistic output and precise text rendering.

$2.25 / $13.50 per 1M—
Seedream 5.5NewVolcengine

ByteDance's newest text-to-image model — 2K output, multi-image sets and layer decomposition.

$0.026 per 2K image2K
Seedance 2.5 FlashNewVolcengine

Token-billed video generation at 480p and 720p — the cheapest way to run Seedance 2.5.

$0.202 per 5s @480p480p–720p
Seedance 2.5NewVolcengine

Text, image and reference-video to video — up to 30s, real-person support.

$0.308 per 5s @480p480p–4K
Pricing

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.

ModelOfficial priceOAIRouteChannelsDiscount
AnthropicClaude Fable 5.2Anthropic$8.00 / $40.00per 1M tokens$2.40 / $12.00per 1M tokens40.3× official price
OpenAIGPT Image 2.6 FlareOpenAI$5.00 / $30.00per 1M tokens$2.25 / $13.50per 1M tokens60.45× official price
OpenAIGPT Image 2.6 SunburstOpenAI$5.00 / $30.00per 1M tokens$2.25 / $13.50per 1M tokens60.45× official price
AnthropicClaude Opus 5.5Anthropic$4.00 / $20.00per 1M tokens$0.20 / $1.00per 1M tokens130.05× official price
AnthropicClaude Sonnet 5.5Anthropic$2.00 / $10.00per 1M tokens$0.18 / $0.90per 1M tokens90.09× official price
OpenAIGPT-6-AstraOpenAI$10.00 / $50.00per 1M tokens$0.50 / $2.50per 1M tokens110.05× official price
OpenAIGPT-6.1 SolOpenAI$2.00 / $10.00per 1M tokens$0.10 / $0.50per 1M tokens110.05× official price
GoogleGemini 4 ArgonGoogle$2.00 / $10.00per 1M tokens$0.30 / $1.50per 1M tokens70.15× official price
GoogleGemini 4 CarbonGoogle$2.00 / $10.00per 1M tokens$0.30 / $1.50per 1M tokens80.15× official price
GoogleGemini 4 HydrogenGoogle$1.50 / $7.50per 1M tokens$0.675 / $3.38per 1M tokens40.45× official price
DeepSeekDeepSeek V4 ProDeepSeek$4.50 / $13.50per 1M tokens$0.203 / $0.608per 1M tokens50.05× official price
xAIGrok 4.7xAI$2.00 / $6.00per 1M tokens$0.12 / $0.36per 1M tokens30.06× official price
AnthropicClaude Fable 5.1Anthropic$10.00 / $50.00per 1M tokens$1.50 / $7.50per 1M tokens80.15× official price
DeepSeekDeepSeek V4.1 FlashDeepSeek$1.00 / $4.00per 1M tokens$0.045 / $0.18per 1M tokens50.05× official price
MiniMaxMiniMax M3MiniMax$2.10 / $8.40per 1M tokens$0.158 / $0.63per 1M tokens30.08× official price
OpenAIGPT Image 2.5OpenAI$5.00 / $30.00per 1M tokens$2.25 / $13.50per 1M tokens40.45× official price
OpenAIGPT Image 2OpenAI$5.00 / $30.00per 1M tokens$2.24 / $13.44per 1M tokens80.45× official price
GoogleGemini 3 Pro ImageGoogle$2.00 / $12.00per 1M tokens$0.30 / $1.80per 1M tokens60.15× official price
VolcengineSeedream 5.5Volcengine$0.035per 2K image$0.026per 2K image20.75× official price
VolcengineSeedance 2.5 FlashVolcengine$0.336per 5s @480p$0.202per 5s @480p20.6× official price
VolcengineSeedance 2.5Volcengine$0.514per 5s @480p$0.308per 5s @480p40.6× official price
All prices shown are the lowest available channel for each model. Channel availability and price can change by model, region and load — the console lists every channel with its current rate.
Prices updated 2026-11-17Compare every channel in the console
Deploy

Works in the tools you already use

Pick your coding agent or client, paste one config block, replace the key. No plugins, no wrappers.

~/.claude/settings.json
{
  "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"
  }
}
Save the file, then run claude in any project directory.
~/.codex/config.toml
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"
Create the file if it does not exist, then run codex.
~/.gemini/.env
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
Then run gemini from your terminal.
Cline → Settings → API Provider
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.
Settings are stored per workspace — set it once in your global config.
Roo Code → Settings → Provider
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.
Tip: assign a cheap model to Ask mode to cut costs significantly.
~/.config/opencode/opencode.json
{
  "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" }
      }
    }
  }
}
Run opencode and pick the provider with the model switcher.
Settings → Model Provider → Add
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.
The model list is pulled automatically from the gateway.
agent.py
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)
Also works with LlamaIndex, Vercel AI SDK, and any OpenAI-compatible client.
Enterprise Gateway

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.

How it works

Your app talks to one endpoint

OAIRoute normalizes authentication, request format, streaming and errors across every upstream provider.

Your side
OpenAI SDK
LangChain
Claude Code
Your backend
api.oairoute.com/v1
Auth + rate limit
Schema translation
Channel selection
Failover + retry
Usage accounting
Upstream providers
openai
claude
gemini
volcengine
deepseek
xai
FAQ

Common questions

What exactly is OAIRoute?
OAIRoute is a unified AI API gateway. It exposes one OpenAI-compatible endpoint at api.oairoute.com/v1 that routes to Claude, Gemini, GPT, Doubao, DeepSeek, Grok and 200+ other models. You keep using the OpenAI SDK you already have and change only the base URL.
Do I need to rewrite my code to switch models?
No. Every model is exposed through the standard OpenAI chat completions schema, so switching from GPT to Claude or Gemini means changing the model string. Streaming, tool calling, vision inputs and prompt caching all work through the same interface.
How is the pricing lower than the providers' list prices?
Aggregated volume. We buy capacity in bulk across many customers and pass most of the discount through. You pay per token used with no monthly subscription and no minimum commitment.
Can I use it with Claude Code, Codex CLI or Cline?
Yes — those are the most common use cases. Claude Code needs ANTHROPIC_BASE_URL pointed at https://api.oairoute.com, Codex needs a model_providers block in ~/.codex/config.toml, and any OpenAI-compatible client just needs the base URL and key. The Deploy section above has copy-paste config for each.
Which models can I get here that OpenRouter does not carry?
Chinese frontier models, primarily. Doubao, Seedance video generation, Seedream image generation, Qwen, DeepSeek, GLM, Kimi and Hunyuan are available through OAIRoute and Ark Global, and most Western gateways do not carry them.
What happens to my data?
Requests are proxied to the upstream provider and not used to train any model. Logs retain metadata for billing and debugging; you can see exactly what was recorded in your console.
How do I get started?
Register at api.oairoute.com, create a key on the token page, and paste it into the config for your tool. Most users are making their first successful request in under two minutes.

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.

Contact

Talk to the team

Questions about pricing, quotas or enterprise deployment — reach us directly. We usually reply within one business day.

Copied