Skip to content
Guides

What is OpenRouter? Routing, pricing and data controls

One OpenAI-compatible API for many models. How OpenRouter routing, fees, free models and data controls work as of November 2026, and when to go direct.

OpenRouter is a service that sits between your code and many model vendors. You send requests in the OpenAI format to one address with one key, and it forwards them to the provider that serves the model you named. You pay OpenRouter instead of each provider, at the providers' token prices plus a fee when you buy credits. Calling a vendor directly is still the better choice in a few cases, covered at the end.

What does OpenRouter do?

OpenRouter describes itself as a unified API to access many LLM models, with billing and usage analytics in one place. Its quickstart shows the OpenAI SDK pointed at https://openrouter.ai/api/v1 as a drop-in replacement. In practice you change the base URL and the key, and the model name becomes an identifier with the model's author in front, such as author/model. The list of identifiers is at GET /api/v1/models.

Two things follow. You can try a different model by changing one string. And one account covers many vendors, with billing and usage analytics in one place.

How does routing and fallback work?

Many models are served by more than one provider. By default, OpenRouter routes each request on each provider's measured price, throughput, latency and reliability. Providers close to the best share most of the traffic, and a provider whose errors are far worse than the others gets none until it recovers. If a request fails, the retry goes to another provider chosen the same way.

You can steer this with a provider object on the request. The options that matter most:

  • order tries named providers in sequence. only and ignore allow or skip providers.
  • sort set to price, throughput or latency bypasses default routing and tries providers in that order.
  • allow_fallbacks defaults to true. Set it to false to stop other providers from being used.
  • require_parameters limits routing to providers that support every parameter in your request, so none silently ignores one.
  • data_collection and zdr filter by data policy, covered below.

Fallback also works across models. Give the models parameter an array of identifiers in priority order, and any error can trigger the next model, including context length errors, moderation flags, rate limits and downtime. You are billed for the model that answered, which the response reports in its model field.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "<author>/<model>",
    "messages": [{ "role": "user", "content": "Hello" }],
    "provider": { "zdr": true, "allow_fallbacks": true }
  }'

How does OpenRouter billing work?

These figures are as of November 2026. Check the pricing page before you budget, because fees change.

ItemWhat the docs say
Token pricesPricing matches the underlying providers, with no markup on inference.
Fee on buying credits5.5% on the pay-as-you-go Standard plan, with a $0.80 minimum, and 8% on the Business plan. Crypto payments carry 5%. The fee applies when you buy credits, not per request.
Your own provider keysNo OpenRouter fee up to $25,000 a month of list-price inference on pay-as-you-go, then 5% of what the same request would cost on OpenRouter, deducted from credits.
Free models25 or more free models. 50 requests a day, or 1,000 a day once you have bought at least $10 of credits, and 20 requests a minute. Failed attempts count.
EnterpriseFees and limits set by contract.

Sources for the table: the pricing page for the Standard and Business fees, the BYOK allowance and the free-model figures, and the FAQ for the $0.80 minimum and the crypto fee.

Third-party posts sometimes quote the credit fee as the cost of using OpenRouter. It is the only platform fee on the standard plan, and you pay it once when you top up. If you buy $100 of credits at 5.5%, the fee is $5.50, and inference is then billed at the provider prices.

Models that reason bill their thinking as output tokens, so reasoning tokens are charged like any other output. The guide on reasoning effort covers when that is worth paying for.

Bring your own key

You can add provider keys in your workspace, and OpenRouter uses them first for the matching provider. By default, if all your keys fail or hit a rate limit, it falls back to shared OpenRouter capacity and spends credits. A setting per key turns that fallback off, so credits are never spent on that provider. With your own keys, rate limits and costs are controlled through your provider account.

Free models

Free models suit trials and low-stakes work. Mind the caps above. Also note that, per the fallback docs, if a request falls back from a :free model to a paid one, you are charged the paid model's price. List only free models in the array to keep a request free.

What happens to your data?

By default, OpenRouter logs basic request metadata, such as timestamps, model used and token counts, and does not log prompts and completions. You can opt in to logging them in exchange for a 1% discount. That covers OpenRouter. The provider that runs the model has its own policy, and providers differ.

OpenRouter's ZDR page sorts provider endpoints into three data policies:

  • Zero data retention: no routine storage of prompts or responses after processing, and no training on your data.
  • Safety retention: prompts and responses may be kept to detect and prevent abuse. No training.
  • Retention and training: data may be stored and used for training under the provider's policy.

You can enforce ZDR for the whole account in privacy settings, or per request with provider.zdr set to true. A request-level setting adds to the account setting and cannot switch off one that is already on. The cost is choice: with ZDR enforced, requests route only to eligible endpoints, so some models become unavailable, and the page says Google models are the most affected. It also says ZDR covers inference routing only, so tools such as web search may have their own retention policies. Separately, data_collection set to deny restricts a request to providers that do not collect user data.

When is calling a vendor directly better?

OpenRouter is a good fit when you want to compare models, switch easily, or serve users with a mix of models. A direct account is the better choice in these cases:

  • You use one vendor at volume. You skip the 5.5% credit fee and the extra hop. With your own key on OpenRouter you can avoid the fee up to the allowance, but you then manage two accounts.
  • You need a contract with the vendor. A signed data-processing agreement, a negotiated rate or a committed-spend discount is between you and the vendor. A router adds a second party to that agreement.
  • You need a vendor-only feature on day one. A router exposes the parameters it maps. The require_parameters option exists because providers can ignore parameters they do not support. Test that the feature you rely on survives the translation.
  • You need the tightest data policy. If your policy allows only one vendor's zero-retention terms, going direct removes a layer to audit. If it allows several, ZDR routing may be enough.

The reverse also holds. If you are building a first version and do not yet know which model you will keep, one key and one bill save more time than a few percent costs.

Tenslo AI uses OpenRouter through one server-side key, so you can pick any model in its picker for a conversation without an OpenRouter account or key of your own. The picker lists the OpenRouter models that answer in text, not batch-only endpoints.

Sources

  1. Frequently Asked Questions, OpenRouter docs
  2. Quickstart, OpenRouter docs
  3. Provider Routing, OpenRouter docs
  4. Model Fallbacks, OpenRouter docs
  5. OpenRouter pricing, OpenRouter
  6. Reasoning Tokens, OpenRouter docs
  7. BYOK, OpenRouter docs
  8. Zero Data Retention (ZDR) in OpenRouter, OpenRouter docs

Share

Use OpenRouter models with no key of your own.

Tenslo AI runs on OpenRouter through one server-side key, so you can chat with the models in its picker without an OpenRouter account.