GPT-5 vs Llama 3.1 Instruct 405B
Wins 5 of 6 areas
Coding · Agents · Reasoning · Long documents · Following instructions
Wins 0 of 6 areas
—
GPT-5 is the stronger all-rounder.
Scores updated · 28 tests both models report · How we compare
Where each one wins
Tests won in each of the six areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software40GPT-54 of 4 tests
- ReasoningHard problems that need careful thinking40GPT-54 of 4 tests
- AgentsCarrying out multi-step tasks on its own10GPT-51 of 1 test
- Long documentsFinding answers in very long texts10GPT-51 of 1 test
- Following instructionsDoing exactly what it is asked10GPT-51 of 1 test
- FactsGetting facts right instead of making them up11Even1 each
Agents, long documents and following instructions rest on a single test each.
What it costs
Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.
The biggest differences
The tests each model wins by the widest margin, up to three each. Scores are out of 100.
Where GPT-5 pulls ahead
- Reasons across sets of long documentsAA-LCR+52.9points ahead
- Fixes real GitHub issues in Python projectsSWE-bench Verified+50.4points ahead
- Follows unfamiliar, precisely checkable instructionsIFBench+34.1points ahead
Where Llama 3.1 Instruct 405B pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+29.8points ahead
Every test, side by side
All 28 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGPT-5
- SWE-bench VerifiedGPT-5 by 50.474.924.5+50.4
- SWE-bench ProGPT-5 by 30.641.811.2+30.6
- Terminal-Bench HardGPT-5 by 25.832.66.8+25.8
- SciCodeGPT-5 by 1342.929.9+13
ReasoningGPT-5
- GPQA DiamondGPT-5 by 33.985.451.5+33.9
- SimpleBenchGPT-5 by 33.756.723+33.7
- Humanity's Last ExamGPT-5 by 24.528.54+24.5
- CritPtGPT-5 by 5.75.70+5.7
FactsEven
- AA-Omniscience · Non-hallucinationLlama 3.1 Instruct 405B by 29.817.847.6+29.8
- AA-Omniscience · AccuracyGPT-5 by 17.140.323.2+17.1
Other results15 tests, not counted
Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.
- τ²-Bench Telecom (AA run)GPT-5 by 65.884.819+65.8
- LiveCodeBenchGPT-5 by 55.883.527.7+55.8
- HarmBenchGPT-5 by 34.997.662.7+34.9
- AIR-Bench 2024GPT-5 by 29.187.758.6+29.1
- Artificial Analysis Coding IndexGPT-5 by 23.337.814.5+23.3
- AA Agentic IndexGPT-5 by 20.226.56.3+20.2
- AA IntelligenceGPT-5 by 15.7237.3+15.7
- MMLU-ProGPT-5 by 13.887.173.3+13.8
- MMLU-ReduxGPT-5 by 9.195.386.2+9.1
- AA-OmniscienceGPT-5 by 8.4-8.7-17.1+8.4
- HumanEvalGPT-5 by 4.493.489+4.4
- anthropic_red_teamGPT-5 by 2.699.196.5+2.6
- bbqGPT-5 by 2.396.894.5+2.3
- XSTestGPT-5 by 1.297.195.9+1.2
- simple_safety_testsGPT-5 by 199.898.8+1
Questions people ask
Which is better, GPT-5 or Llama 3.1 Instruct 405B?
GPT-5 wins five of the six areas where both have results: coding, agents, reasoning, long documents and following instructions. Llama 3.1 Instruct 405B wins none. They are level on facts.
Which is better for coding?
GPT-5. It wins 4 of the 4 coding tests both models report; Llama 3.1 Instruct 405B wins none.
How do you compare the two?
We use the 28 benchmark tests both models have published scores on. The verdict counts the 13 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 15 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.