Skip to content

Every LLM.
One API.

OpenAI-compatible gateway. 241 models, 17 providers. Free models, $4 credit on Go, $0 markup on your own keys.Point any OpenAI or Anthropic client at one key and switch models without code changes. How it works →

curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "anyrouter/auto", "messages": [{"role": "user", "content": "Hi"}]}'
Hi! How can I help today?
ExpandModelContextInputOutputCache readCache writeEstimated
THX-01Free1K00——0Free
Microsoft-Decision-133KBYOKlist $0.04 in · $0 out
Drex v1.5131KBYOKlist $0.04 in · $0 out
Solar Decide Flash524KBYOKlist $0.05 in · $0 out
Claude Haiku 5.51MPoolBYOKlist $0.10 in · $0.50 out
Quyet 1.0 Large10KBYOKlist $0.08 in · $0 out
Mistral Large 41MPoolBYOKlist $0.68 in · $2.09 out
PPLX Decider v1.1 (27B)262KBYOKlist $0.02 in · $0 out
Browse all 241 models

How a request routes

Your app sends one request to AnyRouter. AnyRouter checks the key, picks a route and, if an upstream fails, falls back to the next one. You are billed once.

Your appPOST /v1/chat/completions
AnyRouterkey · route · fallback
  • Workers AI429 → next
  • OpenRouter200
  • DeepInfra

FAQ

What is AnyRouter?

OpenAI-compatible gateway. 241 models, 17 providers. Free models, $4 credit on Go, $0 markup on your own keys.

How do I call models through AnyRouter?

Point your SDK at one base URL and reference models as provider/model, as in the code above. The table lists every model with its price per 1 million tokens.

Do you take a cut if I bring my own keys?

No. Route through your own provider keys and the markup is $0: what you pay upstream is exactly what you pay.

How do I get started?

Sign up in seconds, no card required. Free models cost nothing, Go adds $4 credit, and the table above shows what every other model costs.