Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Auto Code - Model - OpenSmartRoute
Modelv1.0.0
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...
Reference model card from the OpenRouter listing - model openrouter/auto-code. Prices are per million tokens as listed; ratings and installs below are from this marketplace.
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...
Facts
Vendor
OpenRouter
Context window
2,000,000 tokens
Max output
128,000 tokens
Input
text, image, audio, file, video
Output
text, image
Tool calling
yes
Structured outputs
yes
Reasoning
yes
Open weights
no
Endpoint: https://openrouter.ai/api/v1 (OpenAI-compatible), model openrouter/auto-code
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - nothing else to configurecurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'# or pin it on the OpenAI-compatible endpoint: {"model": "model-openrouter-auto-code", ...}
Installed into a catalogue, chosen by a router
Install Auto Code and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.