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.
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 | Llama 3.1-8B | |
|---|---|---|
| Provider | OpenAI | Meta |
| Noometry Index | 59.5 | 22.8 |
| Released | 2026-03-05 | 2024-07-23 |
| Weights | Proprietary | Open |
| Context window | 1.05M | 128K |
| Max output | 128K | 4K |
| Input $ / M tokens | $2.50 | $0.05 |
| Output $ / M tokens | $15 | $0.08 |
| Results tracked | 68 | 43 |
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)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| SciCode | 56.6% | 13.2% |
| WeirdML | 77.7% | 1.7% |
| LMArena Coding | 1497 | 1195 |
| SWE-bench Verified | 76.9% | — |
| DeepSWE | 51.8% | — |
| LMArena WebDev | 1465 | — |
| GSO | 31.4% | — |
| BigCodeBench Instruct | — | 32.8% |
| MirrorCode | 15.6% | — |
| BigCodeBench Complete | — | 40.5% |
| ALE-Bench | 1,607 | — |
| AlgoTune | 1.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)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| Terminal-Bench | 81.8% | — |
| APEX-Agents | 52.4% | — |
| Berkeley Function Calling Leaderboard | — | 25.8% |
| τ²-bench Banking | 39.4% | — |
| DeepResearch Bench | 35.1% | — |
| PostTrainBench | 19% | — |
| BALROG | — | 15.1% |
| GBAEval | 45.1% | — |
| LMArena Search | 1197 | — |
| METR Time Horizons | 74.3% | — |
| Vending-Bench 2 | 6,144 | — |
Reasoning GPT-5.4 leads
GPT-5.4: 61.7 (#17), Llama 3.1-8B: 14.5 (#316)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| CritPt | 23.4% | 0% |
| Chess Puzzles | 44% | 0% |
| LMArena Hard Prompts | 1485 | 1175 |
| DTBench | 94.4% | 50.9% |
| LMCA | 52% | 5.4% |
| Epoch Capabilities Index | 156.92 | 116.48 |
| ARC-AGI-2 | 74% | — |
| Kagi LLM Benchmark | 63.8% | — |
| NYT Connections (extended) | 91.3% | — |
| ARC-AGI-1 | 93.7% | — |
| EnigmaEval | 16% | — |
| Thematic Generalization | 80% | — |
| EBR-Bench | 25.4% | — |
| Mystery Game Puzzles | 37% | — |
| ForecastBench | 59.5 | — |
| PIQA | — | 81.2% |
Math GPT-5.4 leads
GPT-5.4: 73.3 (#14), Llama 3.1-8B: 9.5 (#311)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 97.8% | 1.7% |
| LMArena Math | 1488 | 1179 |
| FrontierMath (Tiers 1-3) | 78.6% | — |
| FrontierMath Tier 4 | 49% | — |
| MathArena Final-Answer Competitions | 83.1% | — |
| ProofBench | 56% | — |
| Omni-MATH | — | 13.7% |
| MATH Level 5 | — | 22.9% |
| FrontierMath (Feb 2025 set) | 47.6% | — |
| FrontierMath Tier 4 (v1) | 27.1% | — |
| GSM8K | — | 82.4% |
Knowledge GPT-5.4 leads
GPT-5.4: 65.3 (#13), Llama 3.1-8B: 8.0 (#302)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| GPQA Diamond | 93.3% | 27% |
| LMArena Expert | 1507 | 1144 |
| Humanity's Last Exam | 36.2% | — |
| SimpleQA Verified | 45.1% | — |
| MMLU-Pro | — | 40.6% |
| Vectara Hallucination Rate | 7% | — |
| GPQA (HELM) | — | 24.7% |
| BoolQ | — | 82.8% |
| MMLU | — | 56.1% |
Multimodal Not comparable
GPT-5.4: 43.8 (#19), Llama 3.1-8B: —
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| LMArena Vision | 1302 | — |
| Blueprint-Bench 2 | 27.1% | — |
| Furniture Assembly | 37.5% | — |
| LMArena Document | 1471 | — |
Multilingual GPT-5.4 leads
GPT-5.4: 56.4 (#22), Llama 3.1-8B: 34.2 (#244)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| LMArena Non-English | 1465 | 1148 |
| LMArena Chinese | 1520 | 1151 |
| LMArena French | 1493 | 1176 |
| LMArena German | 1472 | 1144 |
| LMArena Japanese | 1484 | 1061 |
| LMArena Korean | 1449 | 1053 |
| LMArena Russian | 1480 | 1158 |
| LMArena Spanish | 1453 | 1169 |
Instruction Following GPT-5.4 leads
GPT-5.4: 77.3 (#25), Llama 3.1-8B: 59.1 (#253)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| LMArena Instruction Following | 1469 | 1159 |
| IFEval | — | 74.3% |
Long Context GPT-5.4 leads
GPT-5.4: 50.3 (#8), Llama 3.1-8B: 35.8 (#233)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| LMArena Longer Query | 1474 | 1182 |
| CL-bench | 27.9% | — |
| CL-bench Life | 21.7% | — |
Writing & Preference GPT-5.4 leads
GPT-5.4: 72.1 (#18), Llama 3.1-8B: 29.9 (#285)
| Benchmark | GPT-5.4 | Llama 3.1-8B |
|---|---|---|
| LMArena Text | 1469 | 1187 |
| LMArena Creative Writing | 1439 | 1154 |
| EQ-Bench Creative Writing | 1840 | 713 |
| LMArena Multi-Turn | 1482 | 1172 |
| WildBench | — | 68.7% |
| EQ-Bench 4 | 1272 | — |
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.