Route leading models through one OpenAI-compatible endpoint. Change one base_url; KoRouter handles provider switching, automatic failover, and transparent pay-as-you-go pricing.
KoRouter serves both OpenAI- and Anthropic-compatible endpoints. Change one base_url and these tools run on any major model from providers worldwide — no code changes, pay as you go, below official prices.
Clients
Claude CodeCodexClineOpenCodeAiderOpenClawHermes
…and any other OpenAI- or Anthropic-compatible client.
Shell / ~/.zshrcBoth protocols ready
# OpenAI-compatible · Codex / Cline / Aider …export OPENAI_BASE_URL="https://korouter.ai"export OPENAI_API_KEY="sk-********"# Anthropic-compatible endpoint · Claude Codeexport ANTHROPIC_BASE_URL="https://korouter.ai"export ANTHROPIC_AUTH_TOKEN="sk-********"# Models: bare ids, e.g. claude-fable-5
* Illustrative — see the console docs for actual endpoints
02 — Pricing
Same models.Up to 92% off.
One credit balance covers every model. Token, image, and request prices come from the live billing catalog — no monthly fee, no minimum spend.
Pricing follows each model's billing mode. Token models are charged by input, output, and cache tokens; image and request models are charged per image or request. The live catalog shows the actual price you pay. All calls draw from one credit balance, and every charge traces back to a single request.
They're negotiated rates, and we pass the savings on to you. A discount can grow or shrink over time, but a KoRouter price is never above the provider's official price — the marketplace shows both side by side.
One API key covers every provider — no separate signups, top-ups, or SDKs to maintain. KoRouter also adds smart routing, automatic failover, unified usage analytics, and rate-limit smoothing to keep your production service steady.
Anything that speaks the OpenAI API: the official OpenAI SDKs (TypeScript, Python, and more), LangChain, Vercel AI SDK, LlamaIndex, and other mainstream frameworks work out of the box — or call the REST API directly.
Request content passes through to the provider and is never stored by us — we keep billing metadata (model, tokens, cost, timing), not conversation data. API keys are stored as a one-way hash and can be rotated or revoked at any time.
Signing up is free; calls are paid, with no starter balance. Top up to use every currently available model with no monthly fee or minimum spend.
Ready when you are
One key. Leading models. Connect now.
Free to sign up · no monthly fee · pay as you go with credits