Gemini 3.7 Flash vs Llama 3.1 70B Instruct
Gemini 3.7 Flash leads Llama 3.1 70B Instruct on the Artificial Analysis Intelligence Index, 39.6 to 6.6, and Llama 3.1 70B Instruct costs 6.7x less per output token ($0.56 vs $3.75 per million). Updated October 21, 2026; 35 benchmarks have a result for both.
Gemini 3.7 Flash or Llama 3.1 70B Instruct: which to pick
Only Gemini 3.7 Flash has a coding score, 58.0 on the Vibe Coding Index; Llama 3.1 70B Instruct has none, so the two cannot be ranked on coding.
Pick Llama 3.1 70B Instruct for output tokens 6.7x cheaper ($0.56 vs $3.75 per million).
- Shared results
- 35
- Gemini 3.7 Flash only
- 79
- Llama 3.1 70B Instruct only
- 12
- Like-for-like categories
- 6 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only Gemini 3.7 Flash has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 39.6 against 6.6.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Gemini 3.7 Flash has a GPQA Diamond result, 93.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3.7 Flash has a MMLU Pro result, 90.1%.
Directional only
Web design
Design Arena: websites
No call
Only Gemini 3.7 Flash has a Design Arena: websites result, 1304.
Directional only
Long documents
Listed context window
Gemini 3.7 Flash
Gemini 3.7 Flash takes 1.05M tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Llama 3.1 70B Instruct
Gemini 3.7 Flash $0.0026, Llama 3.1 70B Instruct $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 3.7 Flash has the number, $1.78.
Directional only
At a glance
- Coding index
- Gemini 3.7 Flash 58.0 from 6 benchmarks, Llama 3.1 70B Instruct not benchmarked.
- Widest category
- Math, 59.4 points apart on average over 3 shared benchmarks.
- Widest single gap
- OTIS Mock AIME: Gemini 3.7 Flash 97.2% against Llama 3.1 70B Instruct 3.6%, 93.6 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.7 Flash $3.75 against Llama 3.1 70B Instruct $0.56 per million output tokens, 6.7x apart.
- Context window
- Gemini 3.7 Flash takes 1.05M tokens, Llama 3.1 70B Instruct 131K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Gemini 3.7 Flash | Bars | Llama 3.1 70B Instruct | Ties |
|---|---|---|---|---|
| Coding | 2 | 0 | ||
| Intelligence | 2 | 0 | ||
| Reasoning | 6 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 4 | 0 | ||
| General | 18 | 0 | ||
| All shared boards | 35 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| LiveBench coding | 80.5% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena WebDev | 1591 | Not measured | Only Gemini 3.7 Flash measured |
| AA Coding Index | 71.5 | Not measured | Only Gemini 3.7 Flash measured |
| LiveCodeBench (Vals AI) | 88.7% | Not measured | Only Gemini 3.7 Flash measured |
| SWE-bench Verified (Vals AI) | 80.8% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench 4 (Vals AI) | 12.1% | Not measured | Only Gemini 3.7 Flash measured |
| Vibe Code Bench (Vals AI) | 70.4% | Not measured | Only Gemini 3.7 Flash measured |
| Code migration (Vals AI) | 34.8% | Not measured | Only Gemini 3.7 Flash measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.7 Flash measured |
| IOI (Vals AI) | 67.8% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench 2.1 (Vals AI) | 77.5% | Not measured | Only Gemini 3.7 Flash measured |
| SkillsBench (Vals AI) | 65.9% | Not measured | Only Gemini 3.7 Flash measured |
| CyberBench (Vals AI) | 43.8% | Not measured | Only Gemini 3.7 Flash measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 23.2% | Only Llama 3.1 70B Instruct measured |
| SciCode | 59.8% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 3.0% | Only Llama 3.1 70B Instruct measured |
| FrontierCode | 43.6% | Not measured | Only Gemini 3.7 Flash measured |
| FrontierSWE | 20.3% | Not measured | Only Gemini 3.7 Flash measured |
| WeirdML | Not measured | 9.0% | Only Llama 3.1 70B Instruct measured |
| ALE-Bench | 904.3 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: coding | 1499 | 1260 | Gemini 3.7 Flash |
| LMArena Text: software and IT | 1498 | 1260 | Gemini 3.7 Flash |
| LMArena WebDev: React | 1587 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena WebDev: HTML | 1593 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena WebDev: from an image | 1599 | Not measured | Only Gemini 3.7 Flash measured |
| SciCode | 13.8% | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 13 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| AA Intelligence Index | 39.6 | 6.6 | Gemini 3.7 Flash |
| Epoch Capabilities Index | 158.0 | 125.9 | Gemini 3.7 Flash |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index21 boards, none shared
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1223 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building full-stack apps | 1208 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building mobile apps | 1230 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building Android apps | 1242 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building Godot games | 1264 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building games | 1235 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: spreadsheets | 1053 | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench research | 76.5% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench browser | 56.0% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench long agentic | 28.3% | Not measured | Only Gemini 3.7 Flash measured |
| SREBench (Vals AI) | 4.6% | Not measured | Only Gemini 3.7 Flash measured |
| Finance Agent (Vals AI) | 59.0% | Not measured | Only Gemini 3.7 Flash measured |
| Tax Agent Bench (Vals AI) | 22.8% | Not measured | Only Gemini 3.7 Flash measured |
| Legal Research Bench (Vals AI) | 34.6% | Not measured | Only Gemini 3.7 Flash measured |
| Excel Modeling Benchmark (Vals AI) | 71.3% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench-Science (Vals AI) | 7.1% | Not measured | Only Gemini 3.7 Flash measured |
| τ²-Bench Telecom | Not measured | 15.2% | Only Llama 3.1 70B Instruct measured |
| APEX-Agents | 67.8% | Not measured | Only Gemini 3.7 Flash measured |
| Remote Labor Index | 5.0% | Not measured | Only Gemini 3.7 Flash measured |
| BALROG | Not measured | 27.9% | Only Llama 3.1 70B Instruct measured |
| TheAgentCompany | Not measured | 6.9% | Only Llama 3.1 70B Instruct measured |
| Neither model has a result on the other 20 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| GPQA Diamond | 93.9% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench reasoning | 87.8% | Not measured | Only Gemini 3.7 Flash measured |
| MMMU Pro (Vals AI) | 89.0% | Not measured | Only Gemini 3.7 Flash measured |
| GPQA Diamond (Artificial Analysis run) | 94.5% | 40.9% | Gemini 3.7 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 47.9% | 4.5% | Gemini 3.7 Flash |
| GPQA Diamond (Epoch AI run) | 94.8% | 44.2% | Gemini 3.7 Flash |
| ARC-AGI | 95.5% | Not measured | Only Gemini 3.7 Flash measured |
| ARC-AGI-2 | 84.6% | Not measured | Only Gemini 3.7 Flash measured |
| Chess puzzles | 66.0% | Not measured | Only Gemini 3.7 Flash measured |
| Mystery game puzzles | 37.0% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: hard prompts | 1495 | 1241 | Gemini 3.7 Flash |
| LMArena Text: expert | 1512 | 1209 | Gemini 3.7 Flash |
| LMArena Text: hard prompts in English | 1487 | 1261 | Gemini 3.7 Flash |
| LMArena Vision: diagrams | 1329 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: homework | 1320 | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| AA Math Index | Not measured | 4.0 | Only Llama 3.1 70B Instruct measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 4.0% | Only Llama 3.1 70B Instruct measured |
| OTIS Mock AIME | 97.2% | 3.6% | Gemini 3.7 Flash |
| FrontierMath, tiers 1 to 3 | 71.6% | Not measured | Only Gemini 3.7 Flash measured |
| FrontierMath, tier 4 | 36.6% | Not measured | Only Gemini 3.7 Flash measured |
| ProofBench | 58.0% | Not measured | Only Gemini 3.7 Flash measured |
| MATH level 5 | Not measured | 36.7% | Only Llama 3.1 70B Instruct measured |
| LMArena Text: math | 1511 | 1252 | Gemini 3.7 Flash |
| LMArena Text: mathematical work | 1502 | 1253 | Gemini 3.7 Flash |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| MMLU Pro | 90.1% | Not measured | Only Gemini 3.7 Flash measured |
| LegalBench (Vals AI) | 87.3% | Not measured | Only Gemini 3.7 Flash measured |
| TaxEval (Vals AI) | 74.7% | Not measured | Only Gemini 3.7 Flash measured |
| MortgageTax (Vals AI) | 66.7% | Not measured | Only Gemini 3.7 Flash measured |
| MedCode (Vals AI) | 53.4% | Not measured | Only Gemini 3.7 Flash measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 67.6% | Only Llama 3.1 70B Instruct measured |
| SimpleQA Verified | 69.2% | Not measured | Only Gemini 3.7 Flash measured |
| MMLU | Not measured | 80.1% | Only Llama 3.1 70B Instruct measured |
| LMArena Text: science | 1511 | 1276 | Gemini 3.7 Flash |
| LMArena Text: medicine and healthcare | 1494 | 1257 | Gemini 3.7 Flash |
| LMArena Text: legal and government | 1496 | 1283 | Gemini 3.7 Flash |
| LMArena Text: business and finance | 1479 | 1235 | Gemini 3.7 Flash |
| FACTS Benchmark Suite | 71.2% | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 5 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| Design Arena: websites | 1304 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: UI components | 1299 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: game dev | 1318 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: data viz | 1315 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: 3D | 1308 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: all code categories | 1308 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: SVG | 1283 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: ASCII art | 1276 | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench design | 73.2% | Not measured | Only Gemini 3.7 Flash measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index180
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| LiveBench data analysis | 68.0% | Not measured | Only Gemini 3.7 Flash measured |
| SAGE (Vals AI) | 49.2% | Not measured | Only Gemini 3.7 Flash measured |
| MedScribe (Vals AI) | 83.9% | Not measured | Only Gemini 3.7 Flash measured |
| IFBench | Not measured | 34.4% | Only Llama 3.1 70B Instruct measured |
| Long context reasoning (AA-LCR) | 83.0% | Not measured | Only Gemini 3.7 Flash measured |
| DTBench | 96.8% | 60.0% | Gemini 3.7 Flash |
| LMCA | 50.4% | 14.8% | Gemini 3.7 Flash |
| Furniture assembly | 26.7% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text | 1489 | 1261 | Gemini 3.7 Flash |
| LMArena Text: instruction following | 1484 | 1231 | Gemini 3.7 Flash |
| LMArena Text: creative writing | 1488 | 1232 | Gemini 3.7 Flash |
| LMArena Vision | 1314 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: English | 1483 | 1294 | Gemini 3.7 Flash |
| LMArena Text: non-English | 1487 | 1219 | Gemini 3.7 Flash |
| LMArena Text: Chinese | 1552 | 1215 | Gemini 3.7 Flash |
| LMArena Text: German | 1506 | 1222 | Gemini 3.7 Flash |
| LMArena Text: Japanese | 1511 | 1132 | Gemini 3.7 Flash |
| LMArena Text: Korean | 1481 | 1140 | Gemini 3.7 Flash |
| LMArena Text: French | 1500 | 1262 | Gemini 3.7 Flash |
| LMArena Text: Spanish | 1495 | 1253 | Gemini 3.7 Flash |
| LMArena Text: Russian | 1515 | 1234 | Gemini 3.7 Flash |
| LMArena Text: Polish | 1503 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: multi-turn | 1485 | 1256 | Gemini 3.7 Flash |
| LMArena Text: longer queries | 1492 | 1241 | Gemini 3.7 Flash |
| LMArena Text: writing and language | 1491 | 1236 | Gemini 3.7 Flash |
| LMArena Text: entertainment and media | 1477 | 1230 | Gemini 3.7 Flash |
| LMArena Vision: English | 1309 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: Chinese | 1394 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: reading text | 1322 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: humor | 1299 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: creative writing | 1312 | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.7 Flash | Llama 3.1 70B Instruct | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Llama 3.1 70B Instruct costs less
Repository review
50K input + 3K output tokens
Llama 3.1 70B Instruct costs less
Agent loop
200K input + 10K output tokens
Llama 3.1 70B Instruct costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Google Gemini 3.7 Flash | Meta Llama 3.1 70B Instruct |
|---|---|---|
| Maker | Meta Llama | |
| Weights | No public weights listed | Open weights |
| Released | August 13, 2026 | July 23, 2024 |
| Context window | 1.05M | 131K |
| Input $/Mtok | $0.75 | $0.56 |
| Output $/Mtok | $3.75 | $0.56 |
| Coding index | 58.0 | Not benchmarked |
| Independent measurements behind it | 6 | 0 |
| Cost per solved task | $1.78 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.7 Flash better than Llama 3.1 70B Instruct for coding?
Only Gemini 3.7 Flash has a coding score, 58.0 on the Vibe Coding Index; Llama 3.1 70B Instruct has none, so the two cannot be ranked on coding. Pick Llama 3.1 70B Instruct for output tokens 6.7x cheaper ($0.56 vs $3.75 per million).
Which is cheaper, Gemini 3.7 Flash or Llama 3.1 70B Instruct?
Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; Llama 3.1 70B Instruct costs $0.56 and $0.56. Cost per solved task is known for Gemini 3.7 Flash only.
Which has the bigger context window, Gemini 3.7 Flash or Llama 3.1 70B Instruct?
Gemini 3.7 Flash, with 1.05M tokens against 131K.
How many benchmarks is the Gemini 3.7 Flash vs Llama 3.1 70B Instruct comparison based on?
35 benchmarks have a result for both models as of October 21, 2026. Gemini 3.7 Flash's coding index rests on 6 independent benchmarks and Llama 3.1 70B Instruct's on 0. Where only one model has a result, the page says so instead of naming a winner.