OpenRouter launches a rebuilt Auto Router and a new Auto Code router (November 6, 2026)
openrouter/auto and openrouter/auto-code pick a model and reasoning effort per request. No router fee; you pay the chosen model's price.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
- OpenRouter API keyOPENROUTER_API_KEYGet key
Click Create API Key
What changed
On November 6, 2026 OpenRouter released a rebuilt Auto Router and a new Auto Code router. Both pick a model and a reasoning effort for each request, using live prices, cache status, provider health and benchmark results.
openrouter/auto: the general router. It favours a cost-efficient tier of models.openrouter/auto-code: tuned for coding agents and harnesses. It starts in a higher cost tier and treats each request as part of an agent session, so it avoids switching models without need.openrouter/auto-beta: the channel where Auto Router changes appear first.
There is no extra router fee. You pay the normal price of the model that serves the request. The response's model field shows which model answered. Existing openrouter/auto users need no changes.
Prerequisites
Steps
- Set
modeltoopenrouter/auto(oropenrouter/auto-codefor coding agents) in a normal request. - To steer it, add the
auto-routerplugin.cost_tiertakeslow,mediumorhigh;allowed_modelsandexcluded_modelslimit the pool. This is the docs' Python example (it needsimport jsonandimport requests):
response = requests.post(
url="https://openrouter.ai/api/v1/responses",
headers={
"Authorization": "Bearer <OPENROUTER_API_KEY>",
"Content-Type": "application/json",
},
data=json.dumps({
"model": "openrouter/auto",
"input": "Summarize this paragraph",
"plugins": [
{
"id": "auto-router",
"cost_tier": "high"
}
]
})
)