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.

即時路由

探索實際的代理使用情況,以及路由器如何為新工作選擇模型。

API

可直接用於呼叫此模型的程式碼。OpenRouter 的 API 與 OpenAI 相容,只需替換基底 URL 即可使用大多數 SDK。切換模型時,唯一需要變更的是下方的模型 slug。

目前無法透過歐盟區域內路由使用。 區域內路由文件

說明文件

在 OpenRouter 上使用 Auto Code 開發的指南、實作食譜、部落格文章與工具。

常見問題