Llama 3.1 405B: benchmark scores and what it takes to run
Updated: September 29, 2026
Meta reports Llama 3.1 405B Instruct at 87.3 on MMLU (5-shot), 88.6 on MMLU with zero-shot chain of thought, 89.0 on HumanEval and 50.7 on GPQA. In Meta's own comparison that puts it ahead of GPT-4 (0125) and a little behind GPT-4o and Claude 3.5 Sonnet on MMLU and HumanEval.
It does not run on consumer hardware. The file Ollama pulls by default is 243 GB and the smallest published quantisation is 149 GB, so you need several 80 GB or 96 GB GPUs, or a machine with 256 GB to 512 GB of memory. If you want this family on a desktop, run Llama 3.3 70B, which is a 43 GB download.
Llama 3.1 405B MMLU, HumanEval and GPQA scores
Every number in this table is copied from Table 2 of Meta's paper, The Llama 3 Herd of Models (arXiv:2407.21783). Meta ran the evaluations, including the ones on the closed models, so treat the whole table as vendor-reported. This site has not run any of them. The paper calls the model “Llama 3 405B”; it is the same model that shipped as Llama 3.1 405B.
| Benchmark | Llama 3.1 405B | GPT-4 (0125) | GPT-4o | Claude 3.5 Sonnet |
|---|---|---|---|---|
| MMLU (5-shot) | 87.3 | 85.1 | 89.1 | 89.9 |
| MMLU (0-shot, CoT) | 88.6 | 85.4 | 88.7 | 88.3 |
| MMLU-Pro (5-shot, CoT) | 73.3 | 64.8 | 74.0 | 77.0 |
| IFEval | 88.6 | 84.3 | 85.6 | 88.0 |
| HumanEval (0-shot) | 89.0 | 86.6 | 90.2 | 92.0 |
| MBPP EvalPlus (0-shot) | 88.6 | 83.6 | 87.8 | 90.5 |
| GSM8K (8-shot, CoT) | 96.8 | 94.2 | 96.1 | 96.4 (0-shot) |
| MATH (0-shot, CoT) | 73.8 | 64.5 | 76.6 | 71.1 |
| ARC Challenge (0-shot) | 96.9 | 96.4 | 96.7 | 96.7 |
| GPQA (0-shot, CoT) | 51.1 | 41.4 | 53.6 | 59.4 |
| BFCL (tool use) | 88.5 | 88.3 | 80.5 | 90.2 |
| Nexus (tool use) | 58.7 | 50.3 | 56.1 | 45.7 |
| MGSM (0-shot, CoT) | 91.6 | 85.9 | 90.5 | 91.6 |
Three details that get lost when these scores are quoted. The 87.3 is the instruction-tuned model; the model card gives the pretrained model 85.2 on the same 5-shot MMLU. GPQA is 51.1 in the paper and 50.7 in the model card, and Meta does not explain the difference. And the often-repeated claim that the 405B beats GPT-4 is true of GPT-4 (0125) in this table, not of GPT-4o, which scores 89.1 on MMLU and 90.2 on HumanEval.
The model card also reports DROP F1 84.8 for the pretrained model and 84.95 to 85.08 on MMLU translated into Portuguese, Spanish and Italian for the instruct model. To see how these scores sit against newer local and hosted models, see the AI model leaderboard.
Llama 3.1 405B hardware requirements
The default 4-bit file is 243 GB and needs about 248 GB of memory with an 8K context: four 80 GB GPUs, three 96 GB GPUs, or a CPU or Apple silicon machine with 384 GB to 512 GB of memory. The smallest file, Q2_K, is 149 GB. The arithmetic is parameters × bits per weight: 405.85 billion × 16 bits ÷ 8 is 812 GB at fp16, and the 243 GB Q4_K_M file works out to 4.8 bits per weight.
File sizes are from Ollama's llama3.1 tag list. The memory column adds 4.2 GB of KV cache for an 8K context and a 1 GB allowance for compute buffers. The KV cache is 126 layers × 8 KV heads × 128 dimensions × 2 × 2 bytes, which is 516 KB per token: 16.9 GB at 32K and 67.6 GB if you use the full 128K window. The GPU and RAM columns are what that total fits into. They are arithmetic, not measurements.
| Quantisation | Ollama tag | File | Memory (8K context) | All on GPU | CPU or unified memory |
|---|---|---|---|---|---|
| Q2_K | llama3.1:405b-instruct-q2_K | 149 GB | ~154 GB | 2 x 96 GB cards, or 2 x 80 GB with a short context | 192 GB RAM, or a 256 GB Mac |
| Q3_K_M | llama3.1:405b-instruct-q3_K_M | 195 GB | ~200 GB | 3 x 80 GB or 3 x 96 GB cards | 256 GB RAM |
| Q4_K_M (Ollama default) | llama3.1:405b | 243 GB | ~248 GB | 4 x 80 GB or 3 x 96 GB cards | 384 GB RAM, or a 512 GB Mac |
| Q5_K_M | llama3.1:405b-instruct-q5_K_M | 287 GB | ~292 GB | 4 x 80 GB cards with little left for context; 4 x 96 GB | 384 GB RAM |
| Q6_K | llama3.1:405b-instruct-q6_K | 333 GB | ~338 GB | 5 x 80 GB or 4 x 96 GB cards | 384 GB RAM, or a 512 GB Mac |
| Q8_0 | llama3.1:405b-instruct-q8_0 | 431 GB | ~436 GB | 6 x 80 GB cards | 512 GB RAM |
| fp16 | llama3.1:405b-instruct-fp16 | 812 GB | ~817 GB | 11 x 80 GB cards | 1 TB RAM |
In card terms, 80 GB means an NVIDIA A100 or H100 and 96 GB means an RTX PRO 6000 Blackwell. Eight 24 GB cards add up to 192 GB, which holds the Q2_K file on paper, but that is a rig with eight risers and two or three power supplies. A 24 GB or 32 GB gaming card on its own holds a tenth of the model.
Running from system RAM on a server board works with llama.cpp or Ollama and is slow, because every token reads through the whole file. No measured speed figure exists for that setup, so there is not one here. For builds that are realistic at home, see the local AI server guide, the RTX 5090 model picks and the VRAM calculator. Quantization explained covers what a 2-bit file costs in quality.
Architecture and training
Specification fields are from the model card; the layer and width figures are from the config.json of an ungated mirror, because Meta's repository sits behind a licence form.
| Field | Llama 3.1 405B |
|---|---|
| Parameters | 405,853,388,800 (405.9B) |
| Layers (num_hidden_layers) | 126 |
| Hidden size | 16384 |
| Attention heads | 128 (128 dimensions each) |
| Key/value heads | 8 (grouped-query attention) |
| MLP intermediate size | 53248 |
| Vocabulary | 128,256 |
| Context length | 131,072 tokens (128K) |
| Pretraining data | 15 trillion+ tokens, cutoff December 2023 |
| Languages | English, German, French, Italian, Portuguese, Hindi, Spanish, Thai |
| Released | 23 July 2024 |
| Licence | Llama 3.1 Community License |
16,000 H100s: what Meta has said about training
Meta's announcement says the 405B was trained on “over 15 trillion tokens” and that training was pushed “to over 16 thousand H100 GPUs”. The model card puts the 405B at 30.84 million GPU hours on H100-80GB hardware. Dividing one by the other gives 1,928 hours, or about 80 days, if all 16,000 GPUs ran for the whole job. That is my arithmetic from two Meta figures, not a duration Meta has stated. I could not find the “89 days” figure that circulates in any Meta source.
Inference speed: what is actually published
Meta has not published tokens-per-second figures for the 405B on H100s, and this site has not run the model, so there is no H100 speed table on this page.
The one widely quoted number is from Cerebras, which wrote on 18 November 2024 that it ran a customer workload on Llama 3.1 405B at 969 tokens per second. That is a hosted service on Cerebras's own wafer-scale hardware and the company's own claim. It says nothing about what a GPU server you own will do.
What to run instead
Llama 3.3 70B, released on 6 December 2024, is the practical replacement. In the Llama 3.3 model card Meta lists it beside the 405B: MMLU with chain of thought 86.0 against 88.6, HumanEval 88.4 against 89.0, and IFEval 92.1 against 88.6 in the smaller model's favour. It is under a fifth of the size. The Llama 4 family followed in 2025.
| Model | Ollama tag | Download | Fits |
|---|---|---|---|
| Llama 3.3 70B | llama3.3:70b | 43 GB | Two 24 GB cards, one 48 GB card, or a 64 GB Mac |
| Llama 3.1 70B | llama3.1:70b | 43 GB | Same as above |
| Llama 4 Scout | llama4:scout | 67 GB | One 80 GB or 96 GB card, or a 96 GB Mac |
| Llama 3.1 8B | llama3.1:8b | 4.9 GB | An 8 GB card |
Llama 4 Maverick is not a way down in size: its Ollama tag is 245 GB, the same class as the 405B. For picks by card, see the best LLM for 24 GB of VRAM and the best local models for a 24 GB GPU. The Llama 4 local setup guide covers the newer family.
Frequently asked questions
What is the official MMLU score of Llama 3.1 405B?
87.3 on 5-shot MMLU for the instruct model, and 88.6 with zero-shot chain of thought. The pretrained model scores 85.2 on 5-shot MMLU. All three are Meta's figures from the model card.
Can I run Llama 3.1 405B on an RTX 4090 or 5090?
No. The smallest file is 149 GB and those cards have 24 GB and 32 GB. Offloading the rest to system RAM needs a board with 192 GB or more and will be slow. The 70B models are the largest Llama that a two-card desktop holds.
How much disk space does it need?
149 GB for Q2_K, 243 GB for the default Q4_K_M, 431 GB for Q8_0 and 812 GB for fp16, plus whatever your tooling needs for temporary files during the download.
What licence is it under?
The Llama 3.1 Community License, which Meta describes as a custom commercial licence. The weights are downloadable, but it is not an OSI open-source licence, so read the terms before building a product on it.
Is it worth the hardware over a 70B model?
For most people I do not think so. By Meta's own numbers Llama 3.3 70B is within a few points on MMLU and HumanEval at under a fifth of the memory. The 405B makes sense if you already have the GPUs and want the strongest open Llama 3.1 weights, for example to generate synthetic data or to distil into a smaller model.
Sources
- Llama 3.1 model card — Meta: specifications, benchmark tables, training GPU hours, licence
- The Llama 3 Herd of Models — the paper, arXiv:2407.21783; Table 2 is the comparison table above
- Meta's Llama 3.1 announcement — training tokens and GPU count
- Ollama llama3.1 tags — every 405B tag with its download size
- Cerebras: Llama 3.1 405B at 969 tokens/s — the vendor's own speed claim
- Ollama llama3.3 tags and llama4 tags — sizes of the models to run instead
Build Real AI on Your Machine
RAG, agents, NLP, vision, and MLOps - chapters across 25 courses that take you from reading about AI to building AI.
Go from reading about AI to building with AI
25 structured courses. Hands-on projects. Runs on your machine. Start free.

Written by
Barsha Mohapatra
Founder and Editor, Local AI Master · Founder, Little AI Master
Founder of Little AI Master and the editor behind every course and guide on Local AI Master. Years of tutoring students taught her where AI education actually fails.
Related Guides
Continue your local AI journey with these comprehensive guides
- PILLARLocal AI Models Directory: Every Model Compared
- DeepSeek V4 Local Setup: 1M Context, MIT (2026)
- models/llama-3-1-8b
- models/deepseek-coder-v2-236b
- models/llama-4-scout
- Qwen2-Audio 7B: ASR + Audio Understanding Setup (2026)
- Run Airoboros 70B Locally: Complete Technical Guide 2026
- models/codestral-22b
- Meta's Muse-Glimmer 30B: Which Quant Fits 16GB
- StarCoder 2 3B – Technical Analysis & Performance Guide
Grab the AI Starter Kit — career roadmap, cheat sheet, setup guide
No spam. Unsubscribe with one click.
Found your model? Now build something with it.
25 hands-on courses — RAG, agents, fine-tuning — all running locally. First chapter free, no card.