AiCostCompare

Claude Haiku 4.5 vs Auto Code

Side-by-side API pricing and Artificial Analysis performance for Claude Haiku 4.5 (Anthropic) and Auto Code (OpenRouter). Green cells mark the better value in each row.

Prices updated Nov 17, 2026, 6:37 PM UTC · refreshed nightly

Claude Haiku 4.5

Anthropic

Auto Code

OpenRouter

Pricing
Input $/1M$1.00$-1.0e+6
Output $/1M$5.00$-1.0e+6
Blended $/1M (3:1)$2.00$-1.0e+6
RAG example (30K in / 2K out)$0.04$-3.20e+4
Quality & speed
Intelligence Index7.4—
Coding Index43.9—
Agentic Index8—
Output speed (tok/s)——
Time to first token——
Specs
Context window200K2M
Input modalitiestext, image, filetext, image, audio, file, video

FAQ

Which is cheaper, Claude Haiku 4.5 or Auto Code?

Auto Code has the lower blended API price at $-1.0e+6 per 1M tokens (3:1 input:output mix), versus $2.00 for the other model. Prices are live from OpenRouter and refresh nightly.

Which is better for RAG workloads?

For a typical RAG request (30K input / 2K output tokens), Auto Code costs about $-3.20e+4 per request versus $0.04. Also compare context windows: Claude Haiku 4.5 offers 200K and Auto Code offers 2M.

Which scores higher on Artificial Analysis benchmarks?

Claude Haiku 4.5 leads on the Artificial Analysis Intelligence Index (7.4 vs —). Check coding and agentic indices on this page for workload-specific tradeoffs.