Favicon für openrouter

Auto Code

openrouter/auto-code

Auto Code is OpenRouter’s router built specifically for coding agents and harnesses. It uses the same routing engine as the Auto Router, with every request treated as part of an agent session and model choices guided by coding-task pass rate, completion time, and cost per solved task.

It follows edits, test results, and recurring errors across turns, keeping the model while work is going well and trying more reasoning effort before switching when trouble persists. Its default coding tier starts from stronger models and weighs failed code changes more heavily. Your model and provider restrictions still apply.

Live-Routing

Erkunden Sie die tatsächliche Agentennutzung und wie der Router Modelle für neue Aufgaben auswählt.

API

Direkt einsetzbarer Code zum Aufrufen dieses Modells. Die API von OpenRouter ist OpenAI-kompatibel – bei den meisten SDKs genügt es, die Basis-URL auszutauschen. Zwischen den Modellen ändert sich nur der unten stehende Modell-Slug.

Derzeit nicht über EU-regionales Routing verfügbar. Dokumentation zum regionsinternen Routing

Dokumentation

Anleitungen, Rezeptsammlungen, Blogbeiträge und Tools für die Entwicklung mit Auto Code auf OpenRouter.

Häufig gestellte Fragen