OpenRouter / openrouter/auto-code

Auto Code - access through LLMTR

Auto Code is OpenRouter's router for coding agents and harnesses. It treats every request as part of an agent session and picks models by coding-task pass rate, completion time and cost per solved task. It follows edits, test results and recurring errors across turns, keeps the model while work is going well and tries more reasoning effort before switching when trouble persists.

Technical specifications

Canonical IDopenrouter/auto-code
ProviderOpenRouter
Context window2,000,000 tokens
OperationsCHAT_COMPLETIONS, RESPONSES
Modalitiestext

Pricing

An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.

OperationMetricUnitPrice
CHAT_COMPLETIONSstartingcatalogNot available

Example usage

With existing OpenAI SDK flows, change only the base URL and model identifier.

curl https://llmtr.com/v1/chat/completions   -H "Authorization: Bearer llmtr-your_key"   -H "Content-Type: application/json"   -d '{"model":"openrouter/auto-code","messages":[{"role":"user","content":"Hello"}]}'

Guides about this model

Related models