Subscribe

What is OpenRouter Auto Code, and what does it cost?

Last updated

Short answer: OpenRouter Auto Code is a model router for coding agents that OpenRouter launched on November 6, 2026. You set the model to openrouter/auto-code in any chat-completions request, and for each turn it picks a model and a reasoning effort for you. OpenRouter's docs say "You pay the standard price of whichever model serves each request. Auto Code doesn't add a fee." So there is no subscription and no router markup, but your bill depends on which models it picks. OpenRouter says that across five benchmarks Auto Code "scores in line with Claude Opus 5.5 while costing 74% less per task." That is OpenRouter's own benchmark claim, and we have not tested it.

How Auto Code picks a model

According to OpenRouter's docs, Auto Code runs on the same engine as the general Auto Router but uses a policy tuned for coding. It starts in a higher cost tier that includes stronger coding models, weighs speed more heavily, and penalizes failures more harshly, so it course-corrects faster when tests fail or the same error comes back. It prefers changing the reasoning effort over switching models, because switching throws away your prompt cache. OpenRouter's announcement says that during the beta it stayed on the same model for nearly nine of every ten agent turns.

What it costs

There is no separate fee for the router. You pay the normal per-token price of whichever model handles each request, and the response tells you which model served it. Because Auto Code deliberately starts in a more expensive tier than the general router, a coding session can cost more per request than cheap single models would, even if it costs less per solved task. If you want to keep spending down, you can limit it to an allowed list of models or exclude expensive ones. Auto Code ignores the usual cost_tier setting, but the docs describe a separate way to route a request on a low, medium or high general tier instead.

Auto Code versus the general Auto Router

Both routers launched in their new form on November 6, 2026. OpenRouter says the general Auto Router (openrouter/auto) is for mixed traffic and general agents and favors a cost-efficient tier, while Auto Code is for coding agents and harnesses. OpenRouter also says the rebuilt Auto Router deliberately moved its pricing back up toward where it was a few months ago to include more models, and that people who preferred the old, cheaper behavior can set cost_tier to low.

What we cannot confirm

The 74% figure, the "up to 4×" improvement over the old router and the faster routing step (0.65 seconds against 1.96 seconds at p90) all come from OpenRouter's own announcement. We have not run Auto Code ourselves, and we are not putting a dollar figure on a typical coding session, because that depends entirely on which models it routes to for your work.

Sources

Free PDF: the AI Coding Cost Cheat Sheet. Enter your email to download it, plus one email a week when picks or prices move.

FAQ

Is OpenRouter Auto Code free?

The router itself adds no fee, but it is not free to use. You pay the standard price of whichever model serves each request.

Is Auto Code really 74% cheaper than Claude Opus 5.5?

That is OpenRouter's claim, measured per task across five benchmarks it chose. We have not verified it, and your own savings will depend on your tasks.

Can I stop it from picking expensive models?

Yes. OpenRouter says Auto Code treats your allowed and excluded model lists as hard restrictions, including lists saved on your workspace's Routing page.

Can I use it in my existing coding agent?

OpenRouter says it works anywhere your harness accepts a model string, as long as that tool can talk to OpenRouter's API. It also recommends sending a session id so every turn of an agent session is treated as one conversation.

Do affiliate links affect this answer?

No. There is no affiliate link on this page, and affiliate status never affects our picks.

Next steps

Spotted an error? Send a correction.

Free: the AI Coding Cost Cheat Sheet (PDF)

What $0, about $20 and $100+ a month gets you across 22 AI coding tools, with prices copied from vendor pages when we wrote it; plans change often, so check each vendor's page before you buy. Enter your email to download it now. You'll also get our free weekly email: what shipped and which picks or prices moved, about a 2-minute read. Unsubscribe anytime.