Models

Compare coding models: list prices and phase ratings side by side

Side-by-side comparison of AI model pricing, quality ratings, and best use cases. Claude Opus 5.5 vs GPT-5.5, DeepSeek vs Claude, Kimi K3.1 Pro vs Opus 5.5 — all in one place. Updated for 2026.

ModelProviderInput $/1MCache read $/1MOutput $/1MPlanningImplementDebugTestRefactorDocumentReviewInstructionsBest ForValue
Claude Haiku 5.5Prompts over 100K tokens: $0.50 in / $0.05 cache read / $2.50 out (every token of the request).Anthropic$0.10$0.01$0.50Implement6.46
Qwen PlusPrompts over 128K tokens: $0.345 in / $0.069 cache read / $2.868 out (every token of the request).Prompts over 256K tokens: $0.689 in / $0.1378 cache read / $6.881 out (every token of the request).Alibaba Qwen$0.115$0.023$0.287Test5.29
DeepSeek V4.1 FlashPeak price shown. Off-peak: 50% off — outside 01:00–04:00 and 06:00–10:00 UTC on weekdays, and all day on weekends and Chinese public holidays (DeepSeek's schedule).DeepSeek$0.30$0.006$1.20Implement2.17
DeepSeek V4.1 Flash (legacy id deepseek-reasoner)Peak price shown. Off-peak: 50% off — outside 01:00–04:00 and 06:00–10:00 UTC on weekdays, and all day on weekends and Chinese public holidays (DeepSeek's schedule).Legacy id, kept for clients that use it: served by deepseek-flash (V4.1 Flash), the same model and price as deepseek-chat.DeepSeek$0.30$0.006$1.20Implement2.17
Qwen MaxAlibaba Qwen$0.345$0.069$1.377Implement1.67
GPT-5 MiniOpenAI$0.25$0.025$2.00Test1.44
Gemini 2.5 FlashGoogle$0.30$0.03$2.50Document0.98
Kimi K2.6Moonshot/Kimi$0.95$0.16$4.00Planning0.98
Gemini 3 FlashGoogle$0.50$0.05$3.00Implement0.96
DeepSeek V4 ProPeak price shown. Off-peak: 50% off — outside 01:00–04:00 and 06:00–10:00 UTC on weekdays, and all day on weekends and Chinese public holidays (DeepSeek's schedule).DeepSeek$1.32$0.044$3.96Planning0.92
GLM-5.2Zhipu GLM$1.40$0.26$4.40Planning0.84
GLM-5.3Zhipu GLM$1.40$0.26$4.40Planning0.84
Claude Haiku 4.5Anthropic$1.00$0.10$5.00Test0.54
Claude Sonnet 5.5Anthropic$2.00$0.10$10.00Planning0.42
Kimi K3.1 ProMoonshot/Kimi$2.00$0.20$10.00Planning0.41
Gemini 4 ArgonGoogle$2.00$4.00 from Dec 1, 2026$0.10$0.20 from Dec 1, 2026$10.00$20.00 from Dec 1, 2026Planning0.39
Gemini 2.5 ProPrompts over 200K tokens: $2.50 in / $0.25 cache read / $15.00 out (every token of the request).Deprecated: from Dec 1, 2026 Google serves gemini-2.5-pro requests with Gemini 3.8 Flash and bills that model's price.Google$1.25$0.75 from Dec 1, 2026$0.125$0.075 from Dec 1, 2026$10.00$3.75 from Dec 1, 2026Planning0.36
Gemini 3 ProPrompts over 200K tokens: $4.00 in / $0.40 cache read / $18.00 out (every token of the request).Google$2.00$0.20$12.00Planning0.3
Claude Sonnet 4.6Anthropic$3.00$0.30$15.00Planning0.28
GPT-5.4Prompts over 272K tokens: $5.00 in / $0.50 cache read / $22.50 out (every token of the request).OpenAI$2.50$0.25$15.00Implement0.27
GPT-5.2 (legacy)OpenAI$1.75$0.175$14.00Implement0.27
Kimi K3Moonshot/Kimi$3.00$0.30$15.00Planning0.27
Claude Opus 5.5Anthropic$4.00$0.20$20.00Planning0.21
Claude Opus 5Anthropic$5.00$0.50$25.00Planning0.17
Claude Opus 4.8Anthropic$5.00$0.50$25.00Planning0.17
Claude Opus 4.7Anthropic$5.00$0.50$25.00Planning0.16
Claude Opus 4.5Anthropic$5.00$0.50$25.00Planning0.16
GPT-5.5Prompts over 272K tokens: $10.00 in / $1.00 cache read / $45.00 out (every token of the request).OpenAI$5.00$0.50$30.00Planning0.14
Claude Fable 5.2Anthropic$8.00$0.20$40.00Planning0.1
Claude Fable 5.1Anthropic$10.00$0.25$50.00Planning0.08
GPT-6.1 SolPrompts over 272K tokens: $4.00 in / $0.20 cache read / $15.00 out (every token of the request).OpenAI$2.00$0.10$10.00Not rated yet (available by name in Direct mode)
GPT-6.1 TerraPrompts over 272K tokens: $2.00 in / $0.10 cache read / $7.50 out (every token of the request).OpenAI$1.00$0.05$5.00Not rated yet (available by name in Direct mode)
GPT-6 SolPrompts over 272K tokens: $4.00 in / $0.40 cache read / $15.00 out (every token of the request).OpenAI$2.00$0.20$10.00Not rated yet (available by name in Direct mode)
GPT-6 LunaPrompts over 272K tokens: $0.20 in / $0.02 cache read / $0.75 out (every token of the request).OpenAI$0.10$0.01$0.50Not rated yet (available by name in Direct mode)
Gemini 4 CarbonGoogle$2.00$4.00 from Dec 1, 2026$0.10$0.20 from Dec 1, 2026$10.00$20.00 from Dec 1, 2026Not rated yet (available by name in Direct mode)

Where these prices come from

CodeRouter bills every model at its provider's official list price in US dollars, with no markup; cached input is billed at the provider's cache-read price. Cache writes cost what the provider charges: 1.25× input (5-minute) or 2× (1-hour) on Claude, 1.25× input on GPT-6 and GPT-6.1; other providers don't charge for them. A 5.5% fee applies when you buy credit, not per request. Every day CodeRouter reads each provider's price page; a changed price is billed once it reads the same on two days in a row.

Let CodeRouter pick the model for each request

Each request starts on the cheapest tier that can handle it — Claude Haiku 5.5, Kimi K2.6, Claude Sonnet 5.5, Claude Opus 5.5 — and moves up only when tests or errors show a failure or an agent stops making progress.

Start free trial

Best AI Models for Implementation 2026

Looking for the cheapest AI model that can actually write working code? Or the best code-generation model regardless of price? Top models ranked by implementation capability vs price — from Claude Opus 5.5 and GPT-5.5 down to Haiku 5.5 and DeepSeek V4.1 Flash.

Best Implementation Models (by Quality)

1
Kimi K2.6
$0.95/$4.00
2
DeepSeek V4 Pro
$1.32/$3.96
3
GLM-5.2
$1.40/$4.40
4
GLM-5.3
$1.40/$4.40
5
Claude Sonnet 5.5
$2.00/$10.00

Best Value for Implementation

1
Claude Haiku 5.5
$0.10/$0.50
2
DeepSeek V4.1 Flash
$0.30/$1.20
3
DeepSeek V4.1 Flash (legacy id deepseek-reasoner)
$0.30/$1.20
4
Qwen Max
$0.345/$1.377
5
GPT-5 Mini
$0.25/$2.00

Best AI Models for Planning & Debugging

Architectural planning and debugging live at the hard end of the coding spectrum. These are the models CodeRouter reaches for when the task is big-picture design or tracking down a failure.

Top Planning Models

1
Kimi K2.6
$0.95/$4.00
2
DeepSeek V4 Pro
$1.32/$3.96
3
GLM-5.2
$1.40/$4.40
4
GLM-5.3
$1.40/$4.40
5
Claude Sonnet 5.5
$2.00/$10.00

Top Debugging Models

1
Kimi K2.6
$0.95/$4.00
2
DeepSeek V4 Pro
$1.32/$3.96
3
GLM-5.2
$1.40/$4.40
4
GLM-5.3
$1.40/$4.40
5
Claude Sonnet 5.5
$2.00/$10.00

Best AI Models for Tests & Refactoring

Test generation and refactoring reward models that respect existing patterns. These are the phase-specific leaders for turning "works on my machine" into shipped code.

Top Test Generation Models

1
Kimi K2.6
$0.95/$4.00
2
DeepSeek V4 Pro
$1.32/$3.96
3
GLM-5.2
$1.40/$4.40
4
GLM-5.3
$1.40/$4.40
5
Claude Sonnet 5.5
$2.00/$10.00

Top Refactoring Models

1
Kimi K2.6
$0.95/$4.00
2
DeepSeek V4 Pro
$1.32/$3.96
3
GLM-5.2
$1.40/$4.40
4
GLM-5.3
$1.40/$4.40
5
Claude Sonnet 5.5
$2.00/$10.00

Best AI Models for Documentation & Review

Writing docstrings and reviewing PRs are cheap-model territory — capable small models win the cost/quality trade-off. Smart routing sends this kind of work to faster, cheaper models when they can handle it.

Top Documentation Models

1
Claude Sonnet 5.5
$2.00/$10.00
2
GPT-5.4
$2.50/$15.00
3
Claude Sonnet 4.6
$3.00/$15.00
4
Claude Opus 5.5
$4.00/$20.00
5
Claude Opus 5
$5.00/$25.00

Top Code Review Models

1
Kimi K2.6
$0.95/$4.00
2
DeepSeek V4 Pro
$1.32/$3.96
3
GLM-5.2
$1.40/$4.40
4
GLM-5.3
$1.40/$4.40
5
Claude Sonnet 5.5
$2.00/$10.00

AI API cost calculator: estimate your monthly spend

Enter your estimated monthly token usage to see how much each model would cost. OpenAI API cost calculator, Anthropic pricing calculator — all in one.

Monthly usage:million tokens (50/50 input/output split)
Qwen Plus
$2.01
Claude Haiku 5.5
$3.00
GPT-6 Luna
$3.00
DeepSeek V4.1 Flash
$7.50
DeepSeek V4.1 Flash (legacy id deepseek-reasoner)
$7.50
Qwen Max
$8.61
GPT-5 Mini
$11.25
Gemini 2.5 Flash
$14.00

Stop choosing models by hand

In TokenWatt's 176-task coding benchmark (TokenWatt is a measurement project from the same team), routed requests solved 96–100% of tasks for 56–70% less than sending every request to Opus, across runs. How it was measured

Start free trial