OpenRouter Auto Code: a router that counts failed tests
OpenRouter rebuilt its Auto Router and added Auto Code, a coding-agent router that weighs pass rate, speed and cost per solved task.
OpenRouter announced on Nov 6, 2026 a rebuilt Auto Router (openrouter/auto) and a new coding-specific router, Auto Code (openrouter/auto-code). Both pick a model and a reasoning effort for each request by rating eleven factors about it, then weighing live prices, provider health and cache status. If you hand-pick models for a coding agent, Auto Code is aimed at you. OpenRouter says it favors a pricier tier of coding models, weighs speed more heavily, and switches sooner when the same error repeats or tests fail after an edit.
OpenRouter's headline numbers are its own. It says Auto Code scores in line with Claude Opus 5.5 across five benchmarks at 74% lower cost per task, and that the routing step is 3× faster at the p90 (0.65s against 1.96s) in its live test. BeatAPI notes that the 74% is a cost-per-task benchmark result, not a forecast for your repository. It also says the "nearly nine of every ten turns on the same model" figure describes beta behavior. OpenRouter itself concedes that no router beats the single best frontier model at every point on the cost and quality curve.
Two details are easy to miss. First, the default openrouter/auto slug now deliberately routes to pricier models than before. OpenRouter suggests cost_tier: low if you want the old behavior. Second, according to OmniaKey's walkthrough of the docs, Auto Code ignores cost_tier on the auto-router plugin. To set a general tier there, you need a separate entry:
{
"id": "jev-router",
"cost_tier": "medium"
}
OmniaKey says it worked only from OpenRouter's announcement and docs and has not run a paid test. There's no router fee: you pay the served model's standard price, and the response's model field names it.
In our reading, this suits a coding harness that runs tests, because that's where Auto Code gets the pass/fail signal its policy leans on. Still open: how tool-call formats are handled when it switches models mid-session.
Try it: run a week of your agent's tasks on openrouter/auto-code alongside your pinned model. Log the response model field, and compare cost per accepted change rather than cost per request. If your pinned model wins, keep it, as OpenRouter itself advises.