One key, one base URL — call every model through an OpenAI- and Anthropic-compatible gateway.
Website · Models & pricing · Quickstart · Claude Code · Blog · Examples
KeepRouter is a multi-model LLM API gateway. Point your existing OpenAI or Anthropic client at it and call Claude, GPT, Gemini, Mistral, Qwen, Kimi, Zhipu GLM, DeepSeek and 50+ more through a single key — prepaid, pay-as-you-go, billed at cost (0% token markup), no monthly fee.
Claude Code — point it at KeepRouter and run Claude, or cheaper models:
export ANTHROPIC_BASE_URL=https://keeprouter.com
export ANTHROPIC_AUTH_TOKEN=sk-kr-your-keyOpenAI SDK — change one base URL, keep your code:
from openai import OpenAI
client = OpenAI(base_url="https://keeprouter.com/v1", api_key="sk-kr-your-key")
r = client.chat.completions.create(
model="claude-opus-4-8", # or gpt-4o, gemini-3.5-flash, deepseek-v3.2, free, …
messages=[{"role": "user", "content": "Hello"}],
)→ Runnable examples · Quickstart
| Capability | What it means |
|---|---|
| Two protocols, one key | Speaks the OpenAI API (/v1/chat/completions) and the native Anthropic API (/v1/messages) — works with the OpenAI SDK, the Anthropic SDK, and Claude Code, unchanged. |
| Billed at cost | 0% token markup; pay only for what you use, with a transparent top-up fee. No subscription, no monthly fee. |
| 50+ models, one endpoint | Claude, GPT, Gemini, Mistral, Qwen, Kimi, Zhipu GLM, DeepSeek, MiMo, MiniMax and more — switch model by changing one string. |
A free $0 model |
Test and prototype at no cost; new accounts also get free trial credit. |
| Bilingual | English and 简体中文, across the site and docs. |
- 🌐 Website — https://keeprouter.com
- 📊 Models & pricing — https://keeprouter.com/models
- ⚡ Quickstart — https://keeprouter.com/docs/quickstart
- 🤖 Run Claude Code on cheaper models — https://keeprouter.com/use-cases/claude-code
- 🧩 Use any model with the OpenAI SDK — https://keeprouter.com/use-cases/openai-sdk
- ✍️ Blog — https://keeprouter.com/blog
- 🩺 Status — https://keeprouter.com/status
- Email — support@keeprouter.com
- Examples & issues — keeprouter/keeprouter-examples