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 ID | openrouter/auto-code |
|---|---|
| Provider | OpenRouter |
| Context window | 2,000,000 tokens |
| Operations | CHAT_COMPLETIONS, RESPONSES |
| Modalities | text |
Pricing
An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.
| Operation | Metric | Unit | Price |
|---|---|---|---|
| CHAT_COMPLETIONS | starting | catalog | Not 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
- OpenRouter Auto Code: a router for coding agents - Auto Code is OpenRouter's model router for coding agents and harnesses. You can try the id openrouter/auto-code on LLMTR at https://llmtr.com/v1/responses. This article explains how Auto Code differs from Auto Router, how OpenRouter says it decides, and what to log in an agent loop.
Related models
- Auto Router openrouter/auto
- Gemma 4 llmtr/gemma-4
- Qwen 3.6 35B-A3B llmtr/qwen3-6-35b
- Qwen 3.8 27B llmtr/qwen3-8-27b
- Trendyol Asure 12B llmtr/trendyol-asure-12b
- Magibu 11B v8 llmtr/magibu-11b-v8
- Muse Glimmer 30B (Turkey) llmtr/muse-glimmer-30b-tr
- Leyla llmtr/leyla