One API key for both Claude Code and GPT.
Dual-protocol endpoints · pay-as-you-go · a per-request ledger you can audit.
Claude at 34% / GPT at 6.5% of official list — long-term rates, not a first-month coupon.
Signup includes 40,000 trial credits. Test the models in the Model Lab before you pay anything.
Website · Docs · Pricing JSON · Status
This is the official operating account of Teapot Router. Development and community live in the teapot-router organization:
- teapot-router — gateway overview, connect guides
- teapot-router-config — two-line config templates for Claude Code / OpenAI SDK
- llm-api-gateway — LLM API gateway for coding agents
- Multilingual landing repos: ja · ko · es · fr · pt
You'll find us listed in models.dev (the data source behind opencode's built-in provider directory), carrot and api-rank.
# Claude Code
export ANTHROPIC_BASE_URL="https://api.teapotrouter.com"
export ANTHROPIC_AUTH_TOKEN="rl_your_token"# OpenAI SDK / Codex
client = OpenAI(
base_url="https://api.teapotrouter.com/v1",
api_key="rl_your_token",
)- Prices are public and machine-readable.
/api/pricingreturns the same numbers you're billed by, and every request expands to tokens × rate = cost in the usage ledger. - Terms that respect your balance. Credit never expires, unused balance is refundable, $3 minimum top-up.
- Try before you pay. The Model Lab is a public demo — run the same generation task across models side-by-side, no account needed.
| File | Use |
|---|---|
assets/teapot-mark.svg |
Compact mark — clay seal, forest-green teapot |
assets/teapot-avatar-orange.png |
Avatar, orange background (1024×1024) |
assets/teapot-avatar-green.png |
Avatar, favicon style (1024×1024) |
assets/social-preview.png |
Social preview banner (2560×1280) |
Named after HTTP 418 “I'm a teapot” 🫖 — a teapot doesn't grow tea, it pours it. RFC 2324
