Best for coding
Insufficient dataEvidence
comparable_coding_benchmark_missingNo same-source coding benchmark is attached to both model versions.
Compare Anthropic Claude Haiku Latest and Claude Sonnet 5 across context window, API pricing, modalities, tool use and recommended use cases.
Recommendations are conditional. Unknown values never count as a loss, and missing comparable benchmarks produce no winner.
comparable_coding_benchmark_missingNo same-source coding benchmark is attached to both model versions.
comparable_agent_benchmark_missingCapabilities are listed, but a comparable agent benchmark is missing.
context_window_largerAnthropic Claude Haiku Latest=200000; Claude Sonnet 5=1000000
same_provider_monthly_cost_lowerAnthropic Claude Haiku Latest=2; Claude Sonnet 5=4; input=1000000; cached_input=0; output=200000; provider=OpenRouter
open_weights_supportAnthropic Claude Haiku Latest=unknown; Claude Sonnet 5=unknown
| Attribute | Anthropic Claude Haiku Latest | Claude Sonnet 5 | Winner |
|---|---|---|---|
Context windowcontext_window_largerProvider endpoint | 200K | 1M | Claude Sonnet 5 |
Maximum outputmax_output_largerProvider endpoint | 64K | 128K | Claude Sonnet 5 |
Input modalitiesinput_modalities_differProvider endpoint | Text, Image, File | Text, Image, File | Insufficient data |
Output modalitiesoutput_modalities_differProvider endpoint | Text | Text | Insufficient data |
Tool callingtool_calling_supportProvider endpoint | Supported | Supported | Tie |
Structured outputstructured_output_supportProvider endpoint | Supported | Supported | Tie |
Reasoningreasoning_supportModel | Supported | Supported | Insufficient data |
Open weightsopen_weights_supportModel | Unknown | Unknown | Insufficient data |
Input price per 1M tokensinput_price_lowerProvider endpoint | $1 | $2 | Anthropic Claude Haiku Latest |
Output price per 1M tokensoutput_price_lowerProvider endpoint | $5 | $10 | Anthropic Claude Haiku Latest |
Estimate token charges for the selected provider endpoints. Image, audio, request and web-search charges are not included.
This is a provider snapshot, not a quote. Confirm production pricing before use.