Home / openrouter / Auto Code

Auto Code API Pricing & Cost Calculator

Auto Code is OpenRouter’s router built specifically for coding agents and harnesses. It uses the same routing engine as the [Auto Router](https://openrouter.ai/openrouter/auto), with every request treated as part of an...

ReasoningVision openrouter/auto-code
Input / 1M
—
Output / 1M
—
Cache Read / 1M
—
Blended 3:1 / 1M
—
Agent Cached / 1M
—
Context Window
2M

Monthly Workload Cost Calculator

Daily
$0.00
Monthly
$0.00
Cache Saved
$0.00
Annual
$0.00

Benchmarks & Capabilities

Intelligence Index—
Coding / Engineering— / —
Agentic Index—
Design Arena Avg ELO—
Value Score—
Modalitytext+image+file+audio+video->text+image
Max Output128K

5 Cheaper Alternatives to Auto Code

Alternative ModelBlended / 1MInput / 1MOutput / 1MIntelSide-by-Side
OpenAI: GPT-6.1 Terra (batch)
openai/gpt-6.1-terra:batch
$1.00 $0.500 $2.50 51 Compare →
Google: Gemini 4 Neon (batch)
google/gemini-4-neon:batch
$3.00 $1.50 $7.50 62 Compare →
Google: Gemini 4 Hydrogen (batch)
google/gemini-4-hydrogen:batch
$1.50 $0.750 $3.75 54 Compare →
OpenAI: GPT-6.2 Sol (batch)
openai/gpt-6.2-sol:batch
$2.00 $1.00 $5.00 57 Compare →
OpenAI: GPT-6.1 Sol (batch)
openai/gpt-6.1-sol:batch
$2.00 $1.00 $5.00 55 Compare →

Frequently Asked Questions

How much does Auto Code API cost per 1M tokens?

Auto Code (openrouter/auto-code) costs — per 1M input tokens and — per 1M output tokens (3:1 blended price: — per 1M tokens).

Does Auto Code support prompt caching and how much does it save?

No separate cache_read_per_1m discount is listed on OpenRouter for Auto Code, so repeated prompt tokens are billed at — per 1M tokens.

What is the context window and maximum output of Auto Code?

Auto Code supports a 2M token context window (2,000,000 tokens) and up to 128K output tokens per completion.

Fetch Live JSON via API

curl -s "https://llm.lhblabs.com/api/v1/models/openrouter-auto-code"
Recommended Stack: Ima Router

Route multi-provider LLM traffic with automatic fallback and unified billing.

Try Ima Router →
Self-Serve Placement Building an LLM API, GPU Cloud, or AI Dev Tool?
Feature your product across 1,500+ LLM pricing & comparison pages starting at $49/mo.
Book Sponsor Slot →