Skip to content
AnyRouter
All posts

A free LLM router: how free models work on a gateway

A free LLM router sends your request to a free model and keeps working when that route fails. This post explains how free models run on AnyRouter: the $0 per token rule, the anyrouter/free id, the fallback header, the shared pool and the plan rules.

What is a free LLM router?

An LLM router picks which model or provider serves a request. A free LLM router does that with free models in the catalog.

You call one base URL with one API key. The gateway routes the request, retries on another upstream when one fails, and logs the call. The LLM gateway page describes the full model.

On AnyRouter, free models sit in the same catalog as paid ones. Browse them on the free models page or in the model list.

How are free models priced?

Free models cost $0 per token on Go and up.

  • $0 per token on the free models.
  • No daily cap.
  • No credit deduction.

Model ids are written provider/model, so a free model uses the same call shape as any other. The id anyrouter/free picks one for you.

A first request to anyrouter/free
export ANYROUTER_API_KEY="sk-ar-v1-your-key"

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": "Hello!"}]
  }'

The quickstart walks through key creation and the first call.

What happens when a free route fails?

Free routes share a throttled pool. When a route returns 401, 429 or 5xx, the gateway retries the next upstream. See model fallbacks.

If a :free model fails on every route, AnyRouter answers with anyrouter/free instead of an error. It sets this response header so you can tell:

terminal
x-anyrouter-fallback: anyrouter/free

Who can use free models?

Access depends on the plan.

PlanFree modelsOther access
Free5-request lifetime trial on free and decision modelsPaid models with purchased credit. Your own BYOK keys work as normal.
Free, after $5 of unrefunded top-upsOpen for goodPaid models with purchased credit. Your own BYOK keys work as normal.
Go ($2 per month) and up$0 per token, no daily cap, no credit deductionEvery model.

Go is $2 per month. One valid, unique donated key that the pool can use also counts. See pricing for the current plans.

What about your own keys?

Free models are one way to spend nothing per token. Bring-your-own-key is the other way to avoid a markup.

BYOK routes through provider keys you already pay for. AnyRouter adds $0 markup, so the provider bills you what it charges. Read BYOK and bring your own keys.

For more on free access, read free LLM API. To compare with another router, see AnyRouter vs OpenRouter.

Official site

The official AnyRouter domain is https://anyrouter.dev, shortened as https://anyr.dev. It is the only valid domain for the API, docs, models, pricing and terms.

Sites on other domains that use the AnyRouter name are clones and are not affiliated with AnyRouter.

FAQ

What is a free LLM router?

It is an LLM gateway that lists free models next to paid ones and routes your request to them with one API key. On AnyRouter the free models are $0 per token on Go and up.

Do free models have a daily cap?

No. Free models on AnyRouter have no daily cap and no credit deduction on Go and up. They run on a shared, throttled pool, so a busy hour can return a 429.

What does anyrouter/free do?

It is a model id that picks a free model for you. If a :free model fails on every route, AnyRouter answers with anyrouter/free instead of an error and sets the response header x-anyrouter-fallback: anyrouter/free.

Can I use free models on the Free plan?

The Free plan is a 5-request lifetime trial on free and decision models. After $5 of unrefunded top-ups, free models stay open to you for good. Go is $2 per month and reaches every model.

Related posts