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. | 100k | 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. | ||
HumanEvalFunction synthesis — 164 small Python problems: the AI is given a function's description and has to write the working function. This was the coding benchmark of the GPT-3.5 and GPT-4 era, before the field moved to fixing real bugs in real repositories. Higher is better. | 71.2% | — |
MMLUGeneral knowledge — A 57-subject multiple-choice exam — history, law, medicine, maths — that was the standard measure of how much a model knows from 2020 until roughly 2024, when frontier scores crowded into the high 80s and labs moved on to harder tests. The scores here were published years apart under different testing setups, so read them as a historical record rather than a like-for-like ranking. Higher is better. | 78.5% | — |
GSM8KGrade-school math — Grade-school maths word problems that take a few steps of arithmetic to work through. It separated the models of 2022 and 2023 sharply, then saturated. One caveat on the historical numbers: OpenAI included part of the GSM8K training set in GPT-4's pre-training mix, so GPT-4's score is not a clean few-shot result. Higher is better. | 88% | — |
| Overview | ||
| Company | Anthropic | |
| Release date | Jul 11 2023 | Jun 27 2024 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Frequently asked questions
Claude 2 and Gemma 2 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Claude 2 shipped 352 days before Gemma 2, so benchmark comparisons should account for the intervening progress.
Context windows are 100k (Claude 2) vs 8k (Gemma 2). Claude 2 is closed, while Gemma 2 is open weight.
Direct benchmark comparisons are unavailable — Claude 2 and Gemma 2 don't publish scores on any of the same benchmarks.