Model comparison

Gemini 3.7 Flash vs Llama 3.1-8B

Gemini 3.7 Flash is the stronger model overall, scoring 59.8 to 22.8 on the Noometry Index. Llama 3.1-8B costs 26× less per token, which makes it the better buy when Gemini 3.7 Flash's lead doesn't matter for your workload.

Last verified . 26 shared benchmarks.

Gemini 3.7 Flash Google

59.8

Rank #11 Confirmed

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

Summary

  • They share 26 benchmarks with published results for both. Gemini 3.7 Flash scores higher in 9 categories and Llama 3.1-8B in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Gemini 3.7 Flash leads 69.8 to 8.0.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 97.2% for Gemini 3.7 Flash and 1.7% for Llama 3.1-8B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $0.75 / $3.75 for Gemini 3.7 Flash.
  • Gemini 3.7 Flash accepts more context: 1.05M tokens versus 128K.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

Gemini 3.7 Flash and Llama 3.1-8B specifications
Gemini 3.7 FlashLlama 3.1-8B
ProviderGoogleMeta
Noometry Index59.822.8
Released2026-08-132024-07-23
WeightsProprietaryOpen
Context window1.05M128K
Max output66K4K
Input $ / M tokens$0.75$0.05
Output $ / M tokens$3.75$0.08
Results tracked4443

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Gemini 3.7 Flash leads

Gemini 3.7 Flash: 55.7 (#19), Llama 3.1-8B: 19.9 (#335)

Coding benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
SciCode59.8%13.2%
LMArena Coding14991195
DeepSWE65.5%—
FrontierCode43.6%—
LMArena WebDev1593—
FrontierSWE20.3%—
WeirdML—1.7%
BigCodeBench Instruct—32.8%
BigCodeBench Complete—40.5%
ALE-Bench904.3—
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use Gemini 3.7 Flash leads

Gemini 3.7 Flash: 42.2 (#18), Llama 3.1-8B: 22.3 (#123)

Agentic & Tool Use benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
APEX-Agents67.8%—
Berkeley Function Calling Leaderboard—25.8%
Remote Labor Index5%—
BALROG—15.1%
GDP.pdf23.8%—

Reasoning Gemini 3.7 Flash leads

Gemini 3.7 Flash: 70.1 (#12), Llama 3.1-8B: 14.5 (#316)

Reasoning benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
CritPt14.3%0%
Chess Puzzles47%0%
LMArena Hard Prompts14971175
DTBench96.8%50.9%
LMCA50.4%5.4%
Epoch Capabilities Index157.72116.48
ARC-AGI-284.6%—
NYT Connections (extended)94%—
ARC-AGI-195.5%—
Mystery Game Puzzles37%—
PIQA—81.2%

Math Gemini 3.7 Flash leads

Gemini 3.7 Flash: 69.5 (#18), Llama 3.1-8B: 9.5 (#311)

Math benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
OTIS Mock AIME 2024-202597.2%1.7%
LMArena Math15111179
FrontierMath (Tiers 1-3)71.6%—
FrontierMath Tier 436.6%—
ProofBench58%—
Omni-MATH—13.7%
MATH Level 5—22.9%
GSM8K—82.4%

Knowledge Gemini 3.7 Flash leads

Gemini 3.7 Flash: 69.8 (#4), Llama 3.1-8B: 8.0 (#302)

Knowledge benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
GPQA Diamond94.8%27%
LMArena Expert15081144
SimpleQA Verified69.2%—
MMLU-Pro—40.6%
GPQA (HELM)—24.7%
BoolQ—82.8%
MMLU—56.1%

Multimodal Not comparable

Gemini 3.7 Flash: 36.9 (#69), Llama 3.1-8B: —

Multimodal benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
LMArena Vision1314—
Furniture Assembly26.7%—

Multilingual Gemini 3.7 Flash leads

Gemini 3.7 Flash: 57.8 (#7), Llama 3.1-8B: 34.2 (#244)

Multilingual benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
LMArena Non-English14851148
LMArena Chinese15531151
LMArena French15121176
LMArena German14851144
LMArena Japanese15061061
LMArena Korean14861053
LMArena Russian15191158
LMArena Spanish15071169

Instruction Following Gemini 3.7 Flash leads

Gemini 3.7 Flash: 78.0 (#12), Llama 3.1-8B: 59.1 (#253)

Instruction Following benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
LMArena Instruction Following14861159
IFEval—74.3%

Long Context Gemini 3.7 Flash leads

Gemini 3.7 Flash: 45.8 (#28), Llama 3.1-8B: 35.8 (#233)

Long Context benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
LMArena Longer Query14931182

Writing & Preference Gemini 3.7 Flash leads

Gemini 3.7 Flash: 71.4 (#19), Llama 3.1-8B: 29.9 (#285)

Writing & Preference benchmarks
BenchmarkGemini 3.7 FlashLlama 3.1-8B
LMArena Text14871187
LMArena Creative Writing14901154
EQ-Bench Creative Writing1723713
LMArena Multi-Turn14951172
WildBench—68.7%

Frequently asked questions

Is Gemini 3.7 Flash better than Llama 3.1-8B?

Gemini 3.7 Flash is the stronger model overall, scoring 59.8 to 22.8 on the Noometry Index. Llama 3.1-8B costs 26× less per token, which makes it the better buy when Gemini 3.7 Flash's lead doesn't matter for your workload.

Which is cheaper, Gemini 3.7 Flash or Llama 3.1-8B?

Llama 3.1-8B is cheaper. It lists at $0.05 per million input tokens and $0.08 per million output tokens; Gemini 3.7 Flash lists at $0.75 and $3.75.

Is Gemini 3.7 Flash or Llama 3.1-8B better for coding?

Gemini 3.7 Flash scores higher on coding benchmarks: 55.7 versus 19.9 in the Noometry coding category.

Which has the bigger context window?

Gemini 3.7 Flash does, with 1.05M tokens against 128K.

How many benchmarks do Gemini 3.7 Flash and Llama 3.1-8B share?

26 benchmarks have published results for both models. Gemini 3.7 Flash has 44 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper