AI GLOSSARY · PRICING, LIMITS AND PLANS

OpenRouter

Markdown version · Wikidata Q140795851

Definition

OpenRouter is a service, published by OpenRouter, that gives access to many AI models from different providers through a single API endpoint. Applications send requests to OpenRouter, which forwards them to the chosen model.

Also called: open router ai, openrouter api, openrouter models, OpenRouter AI.

In plain language

OpenRouter is a switchboard for AI models. Normally, if you want to use models from several companies, you sign up with each one and write code for each interface. With OpenRouter you write code once, point it at OpenRouter's address, and name the model you want. A developer might use it to try several models on the same task without rewriting the app. The limit is that your requests travel through one more company on the way to the model provider, so its terms and data handling matter alongside the provider's. Costs depend on which model you pick, so read the pricing page and set a budget before you run an agent in a loop, because agents can send many requests.

Technical definition

OpenRouter exposes a REST API whose request and response schemas, according to its API reference, are very similar to OpenAI's APIs, with a few small differences, and it normalizes the schema across models and providers. Its quickstart states that existing OpenAI SDK code can use it as a drop-in replacement by setting the base URL to https://openrouter.ai/api/v1. Requests can use a Responses-style input field or Chat Completions-style messages. The API reference says parameters a model does not support are ignored. The quickstart also says OpenRouter handles fallbacks automatically. A separate router feature can pick a model for each request within limits you set.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    llm-cost-estimator 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A monthly LLM cost range built from a usage profile and your own price table, with cache, batch and subscription effects.
    Why it exercises the concept
    A gateway like OpenRouter makes many models reachable with one code path. This skill is how you estimate what a chosen model would cost with your own prices.
  2. Skill by Skill Almanac · Illustrative, not executed

    local-model-sizing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A check of whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes memory needs.
    Why it exercises the concept
    It is the contrast case: running a model on your own hardware instead of calling a hosted one through an API.
  3. Guide · Illustrative, not executed

    Self-Hosting an AI Agent: What You Take On

    What you see
    What you own when an AI agent runs on your machine: model memory, network exposure, file access and vetting skills.
    Why it exercises the concept
    It sets out what changes when the model is not behind someone else's API, which helps you weigh a hosted gateway against self-hosting.

How it shows up when you use agents

When people run coding agents or build their own agent loops, the model is usually reached over a network API. OpenRouter sits between the agent and several providers. Instead of keeping one account and one client library per provider, you keep one connection and change the model name in the request. Because its API follows OpenAI's request format closely, tools that already speak that format can often be pointed at OpenRouter by changing the base URL, as its quickstart describes.

For an agent, this matters in three places. The model name becomes a setting you can change per task. Each request is still billed by the model you pick, so a long agent session can add up; see AI pricing model and token. And limits on requests still apply; see rate limit.

What breaks when it is misunderstood: people assume that a gateway makes every model behave the same. The API reference says OpenRouter normalizes the schema, and also says unsupported parameters are ignored, so a setting you rely on may have no effect on a given model. Check that the model supports what your agent needs, such as tool calling, before you switch.

Next action: pick one task, run it against two models with the same prompt, and compare results and cost with the LLM cost estimator before standardising.

Common confusions

  • OpenRouter versus a model. OpenRouter lists models from other providers and forwards requests to them. See AI model.
  • OpenRouter versus OpenAI. The API format is similar by design, but they are different companies and different services.
  • OpenRouter versus running a model locally. A local model runs on your hardware. OpenRouter is a hosted service your requests travel through. See self-hosted LLM.
  • Myth: one endpoint means one price. You pay according to the model you choose, so the endpoint does not set the cost.

Terms that mention OpenRouter

2 terms mention this one

More in Pricing, limits and plans

Next steps

  1. Self-Hosting an AI Agent: What You Take On The long-form guide.
  2. llm-cost-estimator A skill that exercises it.
  3. AI pricing model Related term.
  4. Token Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .

This entry is still in review, so it is not listed in search engines yet.

Change log (2)
  • : First version.
  • : Verifier pass: applied reviewer corrections to unsupported or misattributed claims.