openrouter logo
openrouter

Auto Code

Source description (English)

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...

Overview

Model specifications

Context
2,000,000 tokens
Maximum output
128,000 tokens
Architecture
text+image+file+audio+video->text+image
Tokenizer
Router
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Variable pricing

The routed model determines the charge. A missing fixed rate does not mean the request is free.

API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openrouter/auto-code","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

Input → Output

Input
textimageaudiofilevideo
Output
textimage
API

Supported API parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_completion_tokensmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_atop_ktop_logprobstop_pverbosity
Available providers

0 providers

Checked: November 18, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

No endpoint details were provided at the last synchronization.

openrouter

4 models

All models