Model comparison

GPT-5 Mini vs Llama 3.1-8B

GPT-5 Mini is the stronger model overall, scoring 41.8 to 23.0 on the Noometry Index. Llama 3.1-8B costs 12× less per token, which makes it the better buy when GPT-5 Mini's lead doesn't matter for your workload.

Last verified . 34 shared benchmarks.

GPT-5 Mini OpenAI

41.8

Rank #128 Confirmed

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Summary

  • They share 34 benchmarks with published results for both. GPT-5 Mini 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 GPT-5 Mini leads 45.6 to 8.0.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 86.7% for GPT-5 Mini 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.25 / $2 for GPT-5 Mini.
  • GPT-5 Mini accepts more context: 400K tokens versus 128K.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

GPT-5 Mini and Llama 3.1-8B specifications
GPT-5 MiniLlama 3.1-8B
ProviderOpenAIMeta
Noometry Index41.823.0
Released2025-08-072024-07-23
WeightsProprietaryOpen
Context window400K128K
Max output128K4K
Input $ / M tokens$0.25$0.05
Output $ / M tokens$2$0.08
Results tracked6043

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

Category by category

Coding GPT-5 Mini leads

GPT-5 Mini: 40.1 (#146), Llama 3.1-8B: 20.2 (#340)

Coding benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
SciCode39.2%13.2%
WeirdML52.7%1.7%
LMArena Coding14061195
SWE-bench Verified64.7%—
SWE-bench Verified (bash only)59.8%—
SWE-bench Multilingual39.7%—
BigCodeBench Instruct—32.8%
BigCodeBench Complete—40.5%
ALE-Bench799.77—
AlgoTune1.38—
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use GPT-5 Mini leads

GPT-5 Mini: 31.1 (#70), Llama 3.1-8B: 22.5 (#131)

Agentic & Tool Use benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
Berkeley Function Calling Leaderboard55.5%25.8%
Terminal-Bench34.8%—
BALROG—15.1%
Vending-Bench 2-31.18—

Reasoning GPT-5 Mini leads

GPT-5 Mini: 23.9 (#168), Llama 3.1-8B: 14.9 (#321)

Reasoning benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
CritPt0%0%
Chess Puzzles30%0%
LMArena Hard Prompts13801175
DTBench80.5%50.9%
LMCA34.2%5.4%
Epoch Capabilities Index145.52116.57
ARC-AGI-24.4%—
Kagi LLM Benchmark70.3%—
ARC-AGI-154.3%—
EnigmaEval8.2%—
Mystery Game Puzzles10%—
ForecastBench61—
PIQA—81.2%

Math GPT-5 Mini leads

GPT-5 Mini: 46.7 (#69), Llama 3.1-8B: 10.2 (#317)

Math benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
OTIS Mock AIME 2024-202586.7%1.7%
Omni-MATH72.2%13.7%
LMArena Math13781179
MATH Level 597.8%22.9%
FrontierMath (Tiers 1-3)46.7%—
FrontierMath Tier 412.2%—
ProofBench9%—
FrontierMath (Feb 2025 set)27.2%—
FrontierMath Tier 4 (v1)6.3%—
GSM8K—82.4%

Knowledge GPT-5 Mini leads

GPT-5 Mini: 45.6 (#86), Llama 3.1-8B: 8.0 (#307)

Knowledge benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
GPQA Diamond75%27%
MMLU-Pro83.5%40.6%
GPQA (HELM)75.6%24.7%
LMArena Expert13791144
Humanity's Last Exam19.4%—
SimpleQA Verified21.6%—
Confabulations13.3%—
Vectara Hallucination Rate12.9%—
BoolQ—82.8%
MMLU—56.1%

Multimodal Not comparable

GPT-5 Mini: 35.6 (#85), Llama 3.1-8B: —

Multimodal benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
LMArena Vision1202—
VPCT40.2%—

Multilingual GPT-5 Mini leads

GPT-5 Mini: 48.9 (#137), Llama 3.1-8B: 34.0 (#249)

Multilingual benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
LMArena Non-English13631148
LMArena Chinese13851151
LMArena French13861177
LMArena German13661144
LMArena Japanese13411061
LMArena Korean13081053
LMArena Russian13621158
LMArena Spanish13551169

Instruction Following GPT-5 Mini leads

GPT-5 Mini: 76.2 (#46), Llama 3.1-8B: 58.9 (#258)

Instruction Following benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
IFEval92.7%74.3%
LMArena Instruction Following13571159

Long Context GPT-5 Mini leads

GPT-5 Mini: 41.9 (#132), Llama 3.1-8B: 35.8 (#238)

Long Context benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
LMArena Longer Query13551182
Fiction.LiveBench69.4%—

Writing & Preference GPT-5 Mini leads

GPT-5 Mini: 55.2 (#148), Llama 3.1-8B: 29.7 (#290)

Writing & Preference benchmarks
BenchmarkGPT-5 MiniLlama 3.1-8B
LMArena Text13731187
LMArena Creative Writing13251154
EQ-Bench Creative Writing1313713
WildBench85.5%68.7%
LMArena Multi-Turn13631172
Short-Story Creative Writing83.1%—

Frequently asked questions

Is GPT-5 Mini better than Llama 3.1-8B?

GPT-5 Mini is the stronger model overall, scoring 41.8 to 23.0 on the Noometry Index. Llama 3.1-8B costs 12× less per token, which makes it the better buy when GPT-5 Mini's lead doesn't matter for your workload.

Which is cheaper, GPT-5 Mini 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; GPT-5 Mini lists at $0.25 and $2.

Is GPT-5 Mini or Llama 3.1-8B better for coding?

GPT-5 Mini scores higher on coding benchmarks: 40.1 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

GPT-5 Mini does, with 400K tokens against 128K.

How many benchmarks do GPT-5 Mini and Llama 3.1-8B share?

34 benchmarks have published results for both models. GPT-5 Mini has 60 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper