Across 7 comparable benchmarks, Llama3.1-70B-Instruct has better reported results on 6 and worse on 1.
Moderate evidence7 of 7 shared results countedHow we compare
Price basis: Listed rates vs listed rates. The price section below shows the applicable periods.
| Fact | Gemma 2 - 9B | Llama3.1-70B-Instruct |
|---|---|---|
| Context window | 8K tokens | 128K tokens |
| Input / 1M | — | $0.720 |
| Output / 1M | — | $0.720 |
| Blended (4:1) | — | $0.720 |
| Status | Available | Available |
| Released | June 27, 2024 | July 23, 2024 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 4 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Llama3.1-70B-Instruct ahead on 2 of 2 counted
Llama3.1-70B-Instruct ahead on 1 of 1 counted
Llama3.1-70B-Instruct ahead on 1 of 1 counted
Gemma 2 - 9B ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
No shared comparable results for Abstract reasoning, Computer & tool use, Research & search, Long context, Multimodal, Cybersecurity.
Published scores, with matching modes where available. Gaps show Gemma 2 - 9B relative to Llama3.1-70B-Instruct. Reading the results
| Benchmark | Gemma 2 - 9B | Llama3.1-70B-Instruct | Gap |
|---|---|---|---|
| HumanEvalCode Generation & Editing · Accuracy | 37.8Normal · no tools | 80.5Normal · no tools | −42.7 pts#76 vs #41 of 100 |
| MBPPCode Generation & Editing · Pass rate (%) | 62.2Normal · no tools | 86.0Normal · no tools | −23.8 pts#37 vs #8 of 67 |
| MATHMathematics · Accuracy | 37.7Normal · no tools | 67.8Normal · no tools | −30.1 pts#39 vs #26 of 42 |
| GPQA DiamondScientific Reasoning · Accuracy | 32.8Normal · no tools | 48.0Normal · no tools | −15.2 pts#194 vs #182 of 200 |
| Creative WritingWriting | 840Normal · no tools | 782Normal · no tools | 1.07×#110 vs #111 of 121 |
| MMLUKnowledge Exams · Accuracy | 71.3Normal · no tools | 86.0Normal · no tools | −14.7 pts#62 vs #29 of 114 |
| MMLU-ProKnowledge Exams · Accuracy | 45.1Reported best | 66.4≠Normal · no tools | −21.3 pts#128 vs #102 of 153 |
Mathematics · Accuracy
Scientific Reasoning · Accuracy
Writing
A dash means no result is available.
| Benchmark | Gemma 2 - 9B | Llama3.1-70B-Instruct |
|---|---|---|
| GSM8K | 70.7 | — |
| LiveCodeBench | — | 33.3 |
| WeirdML v2 | — | 9.0 |
| PinchBench v2 | — | 10.7 |
| ECI | 120 | — |
| ARC | 68.2 | — |
| BALROG | — | 27.9 |
| BBH | 68.2 | — |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
Gemma 2 - 9B: Listed text rates; pricing tier not confirmed.
Llama3.1-70B-Instruct: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | Gemma 2 - 9B | Llama3.1-70B-Instruct | Ratio |
|---|---|---|---|
| Input | — | $0.72 | — |
| Output | — | $0.72 | — |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | — | $0.72 | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Lower prices are highlighted. The cache hit rate applies to input tokens only; models without a published cached-input rate use their normal input price for those tokens.Effective dates: Gemma 2 - 9B —; Llama3.1-70B-Instruct 2026-11-14.| Attribute | Gemma 2 - 9B | Llama3.1-70B-Instruct |
|---|---|---|
| Availability | Available | Available |
| Provider | Google Research | Facebook AI Research Lab |
| Model type | Foundation model | Foundation model |
| First release | June 27, 2024 | July 23, 2024 |
| Context window | 8K tokens | 128K tokens |
| Total parameters | 9B | 70B |
| Architecture | Dense | Dense |
| Input modalities | — | Text |
| Output modalities | — | Text |
| Weights | Open weights | Open weights |
| Licence | Gemma Terms of Use | LLAMA 3.1 COMMUNITY LICENSE AGREEMENT |
| Commercial use | Commercial use allowed | Commercial use allowed |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Gemma 2 - 9B vs Llama3.1-70B-Instruct.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.