Compare AI models
| Specifications | ||
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. | 200k | 128k |
| API pricingUSD per 1M tokens · lower wins | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | — | $0.30 |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | — | $0.90 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | — | $0.03 |
| — | $105Mistral list price | |
| These models have no shared benchmark scores. | ||
BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 30% | — |
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 72.7% | — |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 75.4% | — |
MMMUMultimodal — Tests the AI on understanding images and text together across many college subjects. Higher is better. | 74.4% | — |
| Overview | ||
| Company | Anthropic | Mistral |
| Release date | May 22 2025 | Jul 30 2025 |
| Access | Closed | Closed |
| Model details | View model | View model |
Other comparisons
Claude Sonnet 4vsGPT-6.2 AstraCodestral 25.08vsGPT-6.2 AstraClaude Sonnet 4vsGemini 4 HydrogenCodestral 25.08vsGemini 4 HydrogenClaude Sonnet 4vsMuse EmberCodestral 25.08vsMuse EmberClaude Sonnet 4vsGrok 4.7Codestral 25.08vsGrok 4.7Claude Sonnet 4vsDeepSeek-V4.1-Flash-1017Codestral 25.08vsDeepSeek-V4.1-Flash-1017Claude Sonnet 4vsKimi K3.1 ProCodestral 25.08vsKimi K3.1 ProFrequently asked questions
Claude Sonnet 4 and Codestral 25.08 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Only Codestral 25.08 has a verified first-party price for an available API: $0.30 per million input tokens and $0.90 per million output tokens. No currently available pay-as-you-go API rate is tracked for Claude Sonnet 4. Claude Sonnet 4 shipped 69 days before Codestral 25.08, so benchmark comparisons should account for the intervening progress.
Context windows are 200k (Claude Sonnet 4) vs 128k (Codestral 25.08).
Direct benchmark comparisons are unavailable — Claude Sonnet 4 and Codestral 25.08 don't publish scores on any of the same benchmarks.