Claude Opus 5.5: $2.80 in, $14.00 out per million tokens, 30% under list. Model 1 of 29.
29 models, one key
Claude, GPT, Gemini, DeepSeek, Kimi and more from 12 labs, each under list.
Pay as you go from $5.
Claude Opus 5.5: $2.80 in, $14.00 out per million tokens, 30% under list. Model 1 of 29.
Claude, GPT, Gemini, DeepSeek, Kimi and more from 12 labs, each under list.
Prepaid credits: From $5 top-ups, Never expiring, No monthly fee.
Pay per token from a prepaid balance.
Claude Code, Cursor, Codex and OpenCode, with one base URL.
Usage lists the model, tokens and cost of every call.
Online, degraded or unavailable, for every model, live from the API.
Anything that speaks the OpenAI or Anthropic API works. Pick your client; the base URL is marked.
import osfrom openai import OpenAIclient = OpenAI( base_url="https://api.routing.run/v1", api_key=os.environ["ROUTING_API_KEY"],)client.chat.completions.create( model="claude-sonnet-5.5", messages=[{"role": "user", "content": "Hi"}],)Change two arguments and keep the rest. In TypeScript the option is baseURL.OpenAI SDK guide
import osfrom anthropic import Anthropicclient = Anthropic( base_url="https://api.routing.run", api_key=os.environ["ROUTING_API_KEY"],)client.messages.create( model="claude-sonnet-5.5", max_tokens=1024, messages=[{"role": "user", "content": "Hi"}],)The SDK adds /v1/messages itself, so its base URL has no /v1.Anthropic SDK guide
curl https://api.routing.run/v1/chat/completions \ -H "Authorization: Bearer $ROUTING_API_KEY" \ --json '{ "model": "claude-sonnet-5.5", "messages": [{"role": "user", "content": "Hi"}] }'Add "stream": true to get the answer as it is written.curl guide
export ANTHROPIC_BASE_URL=https://api.routing.runexport ANTHROPIC_AUTH_TOKEN=$ROUTING_API_KEYexport ANTHROPIC_MODEL=claude-sonnet-5.5claudeIn your shell. Claude Code reads these three variables.Claude Code guide
model_provider = "routing"model = "claude-sonnet-5.5" [model_providers.routing]name = "routing.run"base_url = "https://api.routing.run/v1"env_key = "ROUTING_API_KEY"wire_api = "responses"In ~/.codex/config.toml, as a model provider. Then run codex as usual.Codex guide
OpenAI API Key your routing.run keyOverride OpenAI Base URL https://api.routing.run/v1Model claude-sonnet-5.5In Settings, Models: turn on Override OpenAI Base URL, add the model by its id and pick it in the chat.Cursor guide
{ "provider": { "routing": { "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "https://api.routing.run/v1", "apiKey": "{env:ROUTING_API_KEY}" }, "models": { "claude-sonnet-5.5": {} } } }}In opencode.json. The key comes from your environment.OpenCode guide
API Provider OpenAI CompatibleBase URL https://api.routing.run/v1API Key your routing.run keyModel ID claude-sonnet-5.5In Cline's settings, under API Provider.Cline guide
{ "language_models": { "openai_compatible": { "routing": { "api_url": "https://api.routing.run/v1", "available_models": [ { "name": "claude-sonnet-5.5", "max_tokens": 1000000 } ] } } }}In settings.json. Zed reads the key from ROUTING_API_KEY.Zed guide
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";import { generateText } from "ai";const routing = createOpenAICompatible({ name: "routing", baseURL: "https://api.routing.run/v1", apiKey: process.env.ROUTING_API_KEY,});const { text } = await generateText({ model: routing("claude-sonnet-5.5"), prompt: "Hi",});With @ai-sdk/openai-compatible. The key comes from your environment.Vercel AI SDK guide
import osfrom langchain_openai import ChatOpenAI llm = ChatOpenAI( model="claude-sonnet-5.5", base_url="https://api.routing.run/v1", api_key=os.environ["ROUTING_API_KEY"],)print(llm.invoke("Hi").content)ChatOpenAI takes the base URL and key directly.LangChain guide
What you see is what each token costs.
Columns
Drag a column or use its up and down buttons to change the order.
Show only
gpt-oss-120b| Row | |||||||
|---|---|---|---|---|---|---|---|
| 1 | Claude Fable 5.2 | $5.60 / 1M | $28.00 / 1M | 30% | 1M | — | |
| 2 | Claude Opus 5.5 | $2.80 / 1M | $14.00 / 1M | 30% | 1M | — | |
| 3 | Claude Sonnet 5.5 | $1.80 / 1M | $9.00 / 1M | 10% | 1M | — | |
| 4 | Claude Haiku 5.5 | $0.07 / 1M | $0.35 / 1M | 30% | 100K | — | |
| 5 | Claude Opus 5 | $2.00 / 1M | $10.00 / 1M | 60% | 1M | — | |
| 6 | Claude Sonnet 5 | $1.20 / 1M | $6.00 / 1M | 40% | 1M | — | |
| 7 | GPT-6 Astra | $8.00 / 1M | $40.00 / 1M | 20% | 1.05M | — | |
| 8 | GPT-6.1 Sol | $1.80 / 1M | $9.00 / 1M | 10% | 1.05M | — | |
| 9 | GPT-6.1 Terra | $0.90 / 1M | $4.50 / 1M | 10% | 1.05M | — | |
| 10 | GPT-6 Luna | $0.095 / 1M | $0.475 / 1M | 5% | 1.05M | — | |
| 11 | GPT-OSS 120B | $0.014 / 1M | $0.06 / 1M | 80% | 128K | — | |
| 12 | Gemini 4 Argon | $0.50 / 1M | $2.50 / 1M | 75% | 1.05M | — | |
| 13 | Gemini 4 Carbon | $0.50 / 1M | $2.50 / 1M | 75% | 1.05M | — | |
| 14 | Gemini 4 Hydrogen | $0.375 / 1M | $1.88 / 1M | 75% | 1.05M | — | |
| 15 | Gemini 3.8 Flash | $0.165 / 1M | $0.825 / 1M | 80% | 1.05M | — | |
| 16 | DeepSeek V4 Pro | $0.256 / 1M | $0.512 / 1M | 80% | 1M | — | |
| 17 | DeepSeek V4.1 Flash | $0.0488 / 1M | $0.188 / 1M | 75% | 1.05M | — | |
| 18 | Kimi K3 | $0.855 / 1M | $4.50 / 1M | 70% | 1M | — | |
| 19 | Kimi K3.1 Pro | $1.60 / 1M | $8.00 / 1M | 20% | 1.05M | — | |
| 20 | Kimi K2.7 Code | $0.15 / 1M | $0.70 / 1M | 80% | 262K | — | |
| 21 | GLM 5.3 | $0.238 / 1M | $0.88 / 1M | 80% | 1M | — | |
| 22 | GLM 5.3 Flash | $0.042 / 1M | $0.175 / 1M | 65% | 1.05M | — | |
| 23 | Qwen3.8 Max | $0.40 / 1M | $1.20 / 1M | 80% | 1M | — | |
| 24 | Qwen3.8 Flash | $0.0525 / 1M | $0.165 / 1M | 65% | 1M | — | |
| 25 | MiniMax M3 | $0.165 / 1M | $0.66 / 1M | 45% | 200K | — | |
| 26 | Grok 4.7 | $1.90 / 1M | $5.70 / 1M | 5% | 500K | — | |
| 27 | MiMo V2.6 Pro | $0.24 / 1M | $0.479 / 1M | 45% | 1.05M | — | |
| 28 | Mistral Large 4 | $0.515 / 1M | $1.55 / 1M | 30% | 524K | — | |
| 29 | Nemotron 3 Ultra | $0.188 / 1M | $0.938 / 1M | 70% | 1M | — | |
| 29 models | Min $0.014 | Min $0.06 | — | Avg 49% | Max 1.05M | — |
No model matches this view.
Prices per million tokens. Ours rounded up, list rounded down; the exact figures are at api.routing.run/v1/pricing. Select a name for the model's page, or an id to copy it.
Pick a model, a mix and a monthly volume. The figures use the per‑token prices in the table.
You save each month
$168.00
$2,016 a year30% under list
90M input and 10M output tokens at Claude Opus 5.5's per-token prices. Cached input costs less again.
Anything else: [email protected]
Each request is charged per token at its model's price in the table, under list on every model. Input and output are priced separately, and cached input costs less.
Yes. We send each request to the model id you ask for and never substitute another model. The table shows the context each one accepts.
We don't store the content of your prompts or responses. They pass through memory to the model and are discarded once the response is sent. We keep request metadata (model, token counts, cost, timing) for billing.
The API answers 503 with a short message. Each model's live status is in /v1/models; retry after a moment, or send the request to another model id.
Credits you buy don't expire. The smallest top-up is $5.
Sign in with GitHub, Google, Discord, Apple or an email link, add $5 and create a key. Each request is charged from your balance at the table's price.