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. | — | 9B/27B |
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 | 8k |
| API pricingUSD per 1M tokens · lower wins | ||
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | — | $0.65NextBit |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | — | $0.65NextBit |
| — | $163NextBit · int4 | |
| 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 | |
| Release date | May 22 2025 | Jun 27 2024 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Other comparisons
Claude Sonnet 4vsGPT-6.1 SolGemma 2vsGPT-6.1 SolClaude Sonnet 4vsMuse Spark OpenGemma 2vsMuse Spark OpenClaude Sonnet 4vsGrok 4.7Gemma 2vsGrok 4.7Claude Sonnet 4vsDeepSeek-V4.1-Flash-1017Gemma 2vsDeepSeek-V4.1-Flash-1017Claude Sonnet 4vsMistral Large 4Gemma 2vsMistral Large 4Claude Sonnet 4vsKimi K3Gemma 2vsKimi K3Frequently asked questions
Claude Sonnet 4 and Gemma 2 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Gemma 2 shipped 329 days before Claude Sonnet 4, so benchmark comparisons should account for the intervening progress.
Context windows are 200k (Claude Sonnet 4) vs 8k (Gemma 2). Claude Sonnet 4 is closed, while Gemma 2 is open weight.
Direct benchmark comparisons are unavailable — Claude Sonnet 4 and Gemma 2 don't publish scores on any of the same benchmarks.