Compare AI models
| Specifications | ||
ParametersThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality. | — | 7B |
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 | 256k |
| 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% | — |
| Overview | ||
| Company | Anthropic | Mistral |
| Release date | May 22 2025 | Jul 16 2024 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Other comparisons
Claude Sonnet 4vsGPT-6.1 SolCodestral Mamba 7BvsGPT-6.1 SolClaude Sonnet 4vsGemini 4 ArgonCodestral Mamba 7BvsGemini 4 ArgonClaude Sonnet 4vsMuse Spark OpenCodestral Mamba 7BvsMuse Spark OpenClaude Sonnet 4vsGrok 4.7Codestral Mamba 7BvsGrok 4.7Claude Sonnet 4vsDeepSeek-V4.1-Flash-1017Codestral Mamba 7BvsDeepSeek-V4.1-Flash-1017Claude Sonnet 4vsKimi K3Codestral Mamba 7BvsKimi K3Frequently asked questions
Claude Sonnet 4 and Codestral Mamba 7B don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Codestral Mamba 7B shipped 310 days before Claude Sonnet 4, so benchmark comparisons should account for the intervening progress.
Context windows are 200k (Claude Sonnet 4) vs 256k (Codestral Mamba 7B). Claude Sonnet 4 is closed, while Codestral Mamba 7B is open weight.
Direct benchmark comparisons are unavailable — Claude Sonnet 4 and Codestral Mamba 7B don't publish scores on any of the same benchmarks.