All use cases
Built-in presets
Start on anyrouter/free or anyrouter/auto
Two built-in virtual models: free failover on every plan (anyrouter/free) and stable paid failover (anyrouter/auto). Do not pick a flaky SKU for your first request.
What this is for
A first request that pins a single free SKU often 404s or 429s. You want something that is answering right now, with automatic fallback.
Steps, then copy
- 1.Create a key. anyrouter/free needs the Go plan ($2/mo) or a donated provider key; it does not deduct credits and has no daily limit.
- 2.Call model anyrouter/free for the subsidized free chain, or anyrouter/auto for paid models that are healthy right now.
- 3.Read the model pages and the free-tier docs for failover behavior.
curl · anyrouter/free
bash
curl https://anyrouter.dev/api/v1/chat/completions \
-H "Authorization: Bearer $ANYROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anyrouter/free",
"messages": [{ "role": "user", "content": "Say hello in one sentence." }]
}'curl · anyrouter/auto
bash
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": "Say hello in one sentence." }]
}'Ready to try it
The guide has the full walkthrough. Sign up if you still need a key.
Next playbooks
- Go: paid models from $2 a monthThe Go plan is $2/mo and adds paid-model access with a monthly credit. Free models have no daily limit on any plan. Cancel any time. Donating a provider key can unlock Go without paying.
- Route a free NVIDIA key through one URLNVIDIA issues free API keys. Add one as BYOK and every OpenAI-compatible app you own can use it through AnyRouter.
- A real free LLM API for side projectsOne key, 271+ models, and a documented free tier — not a mystery coupon that disappears.