AiCostCompare

Claude Sonnet 4

by Anthropic · anthropic/claude-sonnet-4 · #382 cheapest of 422 paid models

Prices updated Sep 19, 2026, 6:22 PM UTC · refreshed hourly

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

Compare vs:GPT-5.6 SolGPT-5.6 TerraGPT-4.1GPT-4.1 Mini

Pricing

Input

$3.00

per 1M tokens

Output

$15.00

per 1M tokens

Blended (3:1)

$6.00

3 input : 1 output

Cache read

$0.30

per 1M cached tokens

Cache write

$3.75

per 1M tokens

Cache & batch economics

Effective prices for Claude Sonnet 4 with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$6.00$0.321
50%$4.99$0.186−42%
90%$4.18$0.078−76%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.006$6.00
Document summary8,0001,000$0.039$39.00
Codebase question (RAG)30,0002,000$0.12$120.00
Long-context analysis150,0005,000$0.525$525.00

Performance

Intelligence Index

AA composite quality

Coding Index

37.6

Math Index

Agentic Index

Output speed

median

Time to first token

median

Time to first answer

after reasoning tokens

Design Arena Elo

CategoryElo
Website1,158
UI components1,144
Data viz1,172
SVG1,102
3D1,168
Game dev1,162
Code categories1,156

Specs

Context window

1M

tokens

Max output

64K

tokens

Input modalities

image, text, file

Tokenizer

Claude