Model comparison

GPT-5.4 vs Llama 3.1-8B

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

Last verified . 27 shared benchmarks.

GPT-5.4 OpenAI

59.5

Rank #14 Confirmed

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

Summary

  • They share 27 benchmarks with published results for both. GPT-5.4 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 math, where GPT-5.4 leads 73.3 to 9.5.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 97.8% for GPT-5.4 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 $2.50 / $15 for GPT-5.4.
  • GPT-5.4 accepts more context: 1.05M tokens versus 128K.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

GPT-5.4 and Llama 3.1-8B specifications
GPT-5.4Llama 3.1-8B
ProviderOpenAIMeta
Noometry Index59.522.8
Released2026-03-052024-07-23
WeightsProprietaryOpen
Context window1.05M128K
Max output128K4K
Input $ / M tokens$2.50$0.05
Output $ / M tokens$15$0.08
Results tracked6843

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

Category by category

Coding GPT-5.4 leads

GPT-5.4: 52.8 (#28), Llama 3.1-8B: 19.9 (#335)

Coding benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
SciCode56.6%13.2%
WeirdML77.7%1.7%
LMArena Coding14971195
SWE-bench Verified76.9%—
DeepSWE51.8%—
LMArena WebDev1465—
GSO31.4%—
BigCodeBench Instruct—32.8%
MirrorCode15.6%—
BigCodeBench Complete—40.5%
ALE-Bench1,607—
AlgoTune1.85—
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use GPT-5.4 leads

GPT-5.4: 46.5 (#12), Llama 3.1-8B: 22.3 (#123)

Agentic & Tool Use benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
Terminal-Bench81.8%—
APEX-Agents52.4%—
Berkeley Function Calling Leaderboard—25.8%
τ²-bench Banking39.4%—
DeepResearch Bench35.1%—
PostTrainBench19%—
BALROG—15.1%
GBAEval45.1%—
LMArena Search1197—
METR Time Horizons74.3%—
Vending-Bench 26,144—

Reasoning GPT-5.4 leads

GPT-5.4: 61.7 (#17), Llama 3.1-8B: 14.5 (#316)

Reasoning benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
CritPt23.4%0%
Chess Puzzles44%0%
LMArena Hard Prompts14851175
DTBench94.4%50.9%
LMCA52%5.4%
Epoch Capabilities Index156.92116.48
ARC-AGI-274%—
Kagi LLM Benchmark63.8%—
NYT Connections (extended)91.3%—
ARC-AGI-193.7%—
EnigmaEval16%—
Thematic Generalization80%—
EBR-Bench25.4%—
Mystery Game Puzzles37%—
ForecastBench59.5—
PIQA—81.2%

Math GPT-5.4 leads

GPT-5.4: 73.3 (#14), Llama 3.1-8B: 9.5 (#311)

Knowledge GPT-5.4 leads

GPT-5.4: 65.3 (#13), Llama 3.1-8B: 8.0 (#302)

Knowledge benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
GPQA Diamond93.3%27%
LMArena Expert15071144
Humanity's Last Exam36.2%—
SimpleQA Verified45.1%—
MMLU-Pro—40.6%
Vectara Hallucination Rate7%—
GPQA (HELM)—24.7%
BoolQ—82.8%
MMLU—56.1%

Multimodal Not comparable

GPT-5.4: 43.8 (#19), Llama 3.1-8B: —

Multimodal benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
LMArena Vision1302—
Blueprint-Bench 227.1%—
Furniture Assembly37.5%—
LMArena Document1471—

Multilingual GPT-5.4 leads

GPT-5.4: 56.4 (#22), Llama 3.1-8B: 34.2 (#244)

Multilingual benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
LMArena Non-English14651148
LMArena Chinese15201151
LMArena French14931176
LMArena German14721144
LMArena Japanese14841061
LMArena Korean14491053
LMArena Russian14801158
LMArena Spanish14531169

Instruction Following GPT-5.4 leads

GPT-5.4: 77.3 (#25), Llama 3.1-8B: 59.1 (#253)

Instruction Following benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
LMArena Instruction Following14691159
IFEval—74.3%

Long Context GPT-5.4 leads

GPT-5.4: 50.3 (#8), Llama 3.1-8B: 35.8 (#233)

Long Context benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
LMArena Longer Query14741182
CL-bench27.9%—
CL-bench Life21.7%—

Writing & Preference GPT-5.4 leads

GPT-5.4: 72.1 (#18), Llama 3.1-8B: 29.9 (#285)

Writing & Preference benchmarks
BenchmarkGPT-5.4Llama 3.1-8B
LMArena Text14691187
LMArena Creative Writing14391154
EQ-Bench Creative Writing1840713
LMArena Multi-Turn14821172
WildBench—68.7%
EQ-Bench 41272—

Frequently asked questions

Is GPT-5.4 better than Llama 3.1-8B?

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

Which is cheaper, GPT-5.4 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.4 lists at $2.50 and $15.

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

GPT-5.4 scores higher on coding benchmarks: 52.8 versus 19.9 in the Noometry coding category.

Which has the bigger context window?

GPT-5.4 does, with 1.05M tokens against 128K.

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

27 benchmarks have published results for both models. GPT-5.4 has 68 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper