Model comparison

Gemini 3.8 Flash vs Llama 3.1-8B

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

Last verified . 27 shared benchmarks.

Gemini 3.8 Flash Google

61.8

Rank #11 Confirmed

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Summary

  • They share 27 benchmarks with published results for both. Gemini 3.8 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.8 Flash leads 74.8 to 8.0.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 98.9% for Gemini 3.8 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.8 Flash.
  • Gemini 3.8 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.8 Flash and Llama 3.1-8B specifications
Gemini 3.8 FlashLlama 3.1-8B
ProviderGoogleMeta
Noometry Index61.823.0
Released2026-09-022024-07-23
WeightsProprietaryOpen
Context window1.05M128K
Max output66K4K
Input $ / M tokens$0.75$0.05
Output $ / M tokens$3.75$0.08
Results tracked5043

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

Category by category

Coding Gemini 3.8 Flash leads

Gemini 3.8 Flash: 59.2 (#15), Llama 3.1-8B: 20.2 (#340)

Coding benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
SciCode56.6%13.2%
WeirdML84.8%1.7%
LMArena Coding15101195
DeepSWE73.8%—
FrontierCode41.2%—
CursorBench39.6%—
LMArena WebDev1584—
FrontierSWE19.6%—
BigCodeBench Instruct—32.8%
BigCodeBench Complete—40.5%
ALE-Bench1,270—
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use Gemini 3.8 Flash leads

Gemini 3.8 Flash: 41.8 (#21), Llama 3.1-8B: 22.5 (#131)

Agentic & Tool Use benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
APEX-Agents64.3%—
Berkeley Function Calling Leaderboard—25.8%
Remote Labor Index5.8%—
BALROG—15.1%
GDP.pdf23.4%—
Vending-Bench 25,094—

Reasoning Gemini 3.8 Flash leads

Gemini 3.8 Flash: 76.9 (#5), Llama 3.1-8B: 14.9 (#321)

Reasoning benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
CritPt18.3%0%
Chess Puzzles61%0%
LMArena Hard Prompts15081175
DTBench95.7%50.9%
LMCA52.9%5.4%
Epoch Capabilities Index156.71116.57
ARC-AGI-289.2%—
NYT Connections (extended)97.4%—
ARC-AGI-198.5%—
Mystery Game Puzzles47%—
Surface Evolver Bench76.9%—
PIQA—81.2%

Math Gemini 3.8 Flash leads

Gemini 3.8 Flash: 65.3 (#28), Llama 3.1-8B: 10.2 (#317)

Math benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
OTIS Mock AIME 2024-202598.9%1.7%
LMArena Math15281179
FrontierMath (Tiers 1-3)68.4%—
FrontierMath Tier 422%—
ProofBench48%—
Omni-MATH—13.7%
MATH Level 5—22.9%
GSM8K—82.4%

Knowledge Gemini 3.8 Flash leads

Gemini 3.8 Flash: 74.8 (#2), Llama 3.1-8B: 8.0 (#307)

Knowledge benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
GPQA Diamond95.4%27%
LMArena Expert15241144
Humanity's Last Exam44.5%—
SimpleQA Verified69.7%—
MMLU-Pro—40.6%
GPQA (HELM)—24.7%
BoolQ—82.8%
MMLU—56.1%

Multimodal Not comparable

Gemini 3.8 Flash: 40.7 (#45), Llama 3.1-8B: —

Multimodal benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
LMArena Vision1314—
Blueprint-Bench 238.6%—
Furniture Assembly31.7%—

Multilingual Gemini 3.8 Flash leads

Gemini 3.8 Flash: 58.0 (#5), Llama 3.1-8B: 34.0 (#249)

Multilingual benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
LMArena Non-English14911148
LMArena Chinese15541151
LMArena French14981177
LMArena German14931144
LMArena Japanese15021061
LMArena Korean14591053
LMArena Russian15151158
LMArena Spanish14851169

Instruction Following Gemini 3.8 Flash leads

Gemini 3.8 Flash: 78.0 (#13), Llama 3.1-8B: 58.9 (#258)

Instruction Following benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
LMArena Instruction Following14901159
IFEval—74.3%

Long Context Gemini 3.8 Flash leads

Gemini 3.8 Flash: 46.3 (#24), Llama 3.1-8B: 35.8 (#238)

Long Context benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
LMArena Longer Query15081182

Writing & Preference Gemini 3.8 Flash leads

Gemini 3.8 Flash: 72.2 (#15), Llama 3.1-8B: 29.7 (#290)

Writing & Preference benchmarks
BenchmarkGemini 3.8 FlashLlama 3.1-8B
LMArena Text14991187
LMArena Creative Writing14921154
EQ-Bench Creative Writing1748713
LMArena Multi-Turn15011172
WildBench—68.7%

Frequently asked questions

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

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

Which is cheaper, Gemini 3.8 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.8 Flash lists at $0.75 and $3.75.

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

Gemini 3.8 Flash scores higher on coding benchmarks: 59.2 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

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

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

27 benchmarks have published results for both models. Gemini 3.8 Flash has 50 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper