6 minutes

How OpenRouter routes a request

Explain how OpenRouter chooses among a model’s providers and retries on failure, and steer that choice with :nitro, :floor, and openrouter/auto.

Your request names a model, like google/gemini-3.8-flash, but not a provider. Popular models often have several providers, and OpenRouter picks one of them for each request. This is routing: OpenRouter balances price, speed, and reliability across the providers for you.

What OpenRouter compares

For every provider that hosts the model, OpenRouter compares what a good response costs: the effective price after caching, throughput (tokens per second), time to first token, failures, rate limits, and whether tool calls come back well formed. The providers closest to the best share most of the traffic.

OpenRouter compares every provider that hosts the model. The best ones share most of the traffic, and even providers far behind keep a small share unless their errors or rate limits are far worse than the rest. The percentages are an example.

Why the provider can change

Because traffic is shared, two requests to the same model can be served by different providers. That’s expected, not a fault. The provider field in each response tells you which one answered.

Two things keep routing from getting in your way:

  • Cached conversations stay put. After a request uses prompt caching, follow-up requests in the same conversation go to the same provider while the cache is warm, so you keep the caching discount.
  • Failures retry elsewhere. If a provider errors or hits a rate limit, OpenRouter retries the request on another of the model’s providers, unless you’ve limited routing to that one provider.

Check your understanding

You send the same prompt to the same model twice, and the responses show different values in the provider field. What happened?

Steer routing from the model slug

In Ori or API requests, you can change how a provider or model is chosen from the model slug, without writing any routing configuration:

  • Append :nitro (for example, google/gemini-3.8-flash:nitro) to sort providers by throughput. It can also use faster priority-tier endpoints, which cost more.
  • Append :floor (for example, google/gemini-3.8-flash:floor) to sort providers by price. It can also use cheaper flex-tier endpoints, which run at lower priority, so responses can take longer.
  • Use openrouter/auto to let the Auto Router pick a model automatically based on your prompt.

:nitro and :floor replace OpenRouter’s usual balancing for that request: they sort on one thing instead of weighing them all.

Apply it

Your coding agent’s long generations on a model feel slow, and you’d rather pay a little more for speed. What can you change without writing any routing configuration?

Routing decides where each request runs. The next lesson moves to the dashboard itself: where your keys, settings, and usage live, and why some of them sit at the account level and others in a workspace.

Takeaway

You pick the model; OpenRouter picks the provider for each request. It compares price, speed, and reliability across the model’s providers, shares traffic among the best, keeps warm caches in place, and retries on another provider when one fails. Use :nitro, :floor, or openrouter/auto to steer it from the slug.

Try it live

Optional

Open a model with several providers and compare their prices, throughput, and latency. Those are the numbers OpenRouter weighs when it routes your request.