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 | 70B |
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. | 8k | 16k |
| 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 | — | |
| Overview | ||
| Company | Meta | |
| Release date | Jun 27 2024 | Jan 29 2024 |
| Access | Open Weight | Open Weight |
| Model details | View model | View model |
Other comparisons
Gemma 2vsClaude Haiku 5.5Code Llama 70BvsClaude Haiku 5.5Gemma 2vsGPT-6.1 SolCode Llama 70BvsGPT-6.1 SolGemma 2vsGrok 4.7Code Llama 70BvsGrok 4.7Gemma 2vsDeepSeek-V4.1-Flash-1017Code Llama 70BvsDeepSeek-V4.1-Flash-1017Gemma 2vsMistral Large 4Code Llama 70BvsMistral Large 4Gemma 2vsKimi K3Code Llama 70BvsKimi K3Frequently asked questions
Gemma 2 and Code Llama 70B don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Code Llama 70B shipped 150 days before Gemma 2, so benchmark comparisons should account for the intervening progress.
Gemma 2 has 9B/27B parameters, while Code Llama 70B has 70B. Context windows are 8k (Gemma 2) vs 16k (Code Llama 70B).
Direct benchmark comparisons are unavailable — Gemma 2 and Code Llama 70B don't publish scores on any of the same benchmarks.