Llama 3 70B VRAM and GPU Requirements

meta-llama/Meta-Llama-3-70B-Instruct · llama3 · Updated 2025-06-18

Parameters
70.55Bmodel record
Default context
8,192tokens
At Q4_K_M
40.46 GB8,192 tokens
At FP16
134.9 GBfull estimate
Smallest fit
NVIDIA A100 80GB10 percent free

Runs on the A100 with 39.54 GB to spare

Fits at Q4_K_M with 8,192 tokens of context, with room left for your desktop and browser.

40.46 / 80 GB

Llama 3 70B · Q4_K_M · 8,192 tokens

A100 · 80 GB

Weights

36.96 GB

params × bits ÷ 8

KV cache

2.50 GB

2 × layers × KV heads × head dim × tokens × 2 B

Overhead

1.00 GB

fixed buffers and context

Enough room to step up to Q5_K_MUses 48.67 GB, 31.33 GB to spare

Open in calculator

Llama 3 70B needs about 40.46 GB at Q4_K_M with 8K context.

Llama 3 70B stops at 8,192 tokens. That hard cap is the reason to use this URL instead of the July 3.1 file, which scales the same depth out much further. Created April, original Llama 3 community license, gated download.

Architecture numbers come from Nous Research. Q4_K_M at the cap is 40.46 GB. The smallest listed GPU that still leaves 10 percent free is NVIDIA A100 80GB, with 39.54 GB left.

80 layers, 64 query heads, 8 key heads. Head width is inferred. No mixture, no image tower, no FP8 packing.

The November 3.3 page is a third license on a later file.

Which GPUs fit

Fit at FP16/BF16 and 8,192 tokens. Cards that fit in usable memory are listed first. "Short" shows how far the model goes over usable memory. Headroom uses usable memory. A unified row uses 75 percent of the listed pool.
GPU Memory Status Headroom
GeForce RTX 3060 12GB12 GB · Won't fit 12 GB 122.9 GB short Won't fit
GeForce RTX 3070 8GB8 GB · Won't fit 8 GB 126.9 GB short Won't fit
GeForce RTX 3080 10GB10 GB · Won't fit 10 GB 124.9 GB short Won't fit
GeForce RTX 3090 24GB24 GB · Won't fit 24 GB 110.9 GB short Won't fit
GeForce RTX 4060 8GB8 GB · Won't fit 8 GB 126.9 GB short Won't fit
GeForce RTX 4060 Ti 16GB16 GB · Won't fit 16 GB 118.9 GB short Won't fit
GeForce RTX 4070 12GB12 GB · Won't fit 12 GB 122.9 GB short Won't fit
GeForce RTX 4070 Ti Super 16GB16 GB · Won't fit 16 GB 118.9 GB short Won't fit
GeForce RTX 4080 16GB16 GB · Won't fit 16 GB 118.9 GB short Won't fit
GeForce RTX 4090 24GB24 GB · Won't fit 24 GB 110.9 GB short Won't fit
GeForce RTX 5060 Ti 16GB16 GB · Won't fit 16 GB 118.9 GB short Won't fit
GeForce RTX 5070 12GB12 GB · Won't fit 12 GB 122.9 GB short Won't fit
GeForce RTX 5070 Ti 16GB16 GB · Won't fit 16 GB 118.9 GB short Won't fit
GeForce RTX 5080 16GB16 GB · Won't fit 16 GB 118.9 GB short Won't fit
GeForce RTX 5090 32GB32 GB · Won't fit 32 GB 102.9 GB short Won't fit
Radeon RX 7900 XTX 24GB24 GB · Won't fit 24 GB 110.9 GB short Won't fit
Radeon RX 9070 XT 16GB16 GB · Won't fit 16 GB 118.9 GB short Won't fit
NVIDIA A100 80GB80 GB · CPU offload 80 GB 54.92 GB short CPU offload
NVIDIA H100 SXM 80GB80 GB · CPU offload 80 GB 54.92 GB short CPU offload
Apple M5 Max 48GB unified48 GB · 36.00 GB usable · CPU offload 48 GB 98.92 GB short CPU offload
Fit at Q8_0 and 8,192 tokens. Cards that fit in usable memory are listed first. "Short" shows how far the model goes over usable memory. Headroom uses usable memory. A unified row uses 75 percent of the listed pool.
GPU Memory Status Headroom
NVIDIA A100 80GB80 GB · Tight fit 80 GB Tight fit+6.68 GB +6.68 GB
NVIDIA H100 SXM 80GB80 GB · Tight fit 80 GB Tight fit+6.68 GB +6.68 GB
GeForce RTX 3060 12GB12 GB · Won't fit 12 GB 61.32 GB short Won't fit
GeForce RTX 3070 8GB8 GB · Won't fit 8 GB 65.32 GB short Won't fit
GeForce RTX 3080 10GB10 GB · Won't fit 10 GB 63.32 GB short Won't fit
GeForce RTX 3090 24GB24 GB · CPU offload 24 GB 49.32 GB short CPU offload
GeForce RTX 4060 8GB8 GB · Won't fit 8 GB 65.32 GB short Won't fit
GeForce RTX 4060 Ti 16GB16 GB · Won't fit 16 GB 57.32 GB short Won't fit
GeForce RTX 4070 12GB12 GB · Won't fit 12 GB 61.32 GB short Won't fit
GeForce RTX 4070 Ti Super 16GB16 GB · Won't fit 16 GB 57.32 GB short Won't fit
GeForce RTX 4080 16GB16 GB · Won't fit 16 GB 57.32 GB short Won't fit
GeForce RTX 4090 24GB24 GB · CPU offload 24 GB 49.32 GB short CPU offload
GeForce RTX 5060 Ti 16GB16 GB · Won't fit 16 GB 57.32 GB short Won't fit
GeForce RTX 5070 12GB12 GB · Won't fit 12 GB 61.32 GB short Won't fit
GeForce RTX 5070 Ti 16GB16 GB · Won't fit 16 GB 57.32 GB short Won't fit
GeForce RTX 5080 16GB16 GB · Won't fit 16 GB 57.32 GB short Won't fit
GeForce RTX 5090 32GB32 GB · CPU offload 32 GB 41.32 GB short CPU offload
Radeon RX 7900 XTX 24GB24 GB · CPU offload 24 GB 49.32 GB short CPU offload
Radeon RX 9070 XT 16GB16 GB · Won't fit 16 GB 57.32 GB short Won't fit
Apple M5 Max 48GB unified48 GB · 36.00 GB usable · CPU offload 48 GB 37.32 GB short CPU offload
Fit at Q6_K and 8,192 tokens. Cards that fit in usable memory are listed first. "Short" shows how far the model goes over usable memory. Headroom uses usable memory. A unified row uses 75 percent of the listed pool.
GPU Memory Status Headroom
NVIDIA A100 80GB80 GB · No CPU offload 80 GB Fits+22.60 GB +22.60 GB
NVIDIA H100 SXM 80GB80 GB · No CPU offload 80 GB Fits+22.60 GB +22.60 GB
GeForce RTX 3060 12GB12 GB · Won't fit 12 GB 45.40 GB short Won't fit
GeForce RTX 3070 8GB8 GB · Won't fit 8 GB 49.40 GB short Won't fit
GeForce RTX 3080 10GB10 GB · Won't fit 10 GB 47.40 GB short Won't fit
GeForce RTX 3090 24GB24 GB · CPU offload 24 GB 33.40 GB short CPU offload
GeForce RTX 4060 8GB8 GB · Won't fit 8 GB 49.40 GB short Won't fit
GeForce RTX 4060 Ti 16GB16 GB · CPU offload 16 GB 41.40 GB short CPU offload
GeForce RTX 4070 12GB12 GB · Won't fit 12 GB 45.40 GB short Won't fit
GeForce RTX 4070 Ti Super 16GB16 GB · CPU offload 16 GB 41.40 GB short CPU offload
GeForce RTX 4080 16GB16 GB · CPU offload 16 GB 41.40 GB short CPU offload
GeForce RTX 4090 24GB24 GB · CPU offload 24 GB 33.40 GB short CPU offload
GeForce RTX 5060 Ti 16GB16 GB · CPU offload 16 GB 41.40 GB short CPU offload
GeForce RTX 5070 12GB12 GB · Won't fit 12 GB 45.40 GB short Won't fit
GeForce RTX 5070 Ti 16GB16 GB · CPU offload 16 GB 41.40 GB short CPU offload
GeForce RTX 5080 16GB16 GB · CPU offload 16 GB 41.40 GB short CPU offload
GeForce RTX 5090 32GB32 GB · CPU offload 32 GB 25.40 GB short CPU offload
Radeon RX 7900 XTX 24GB24 GB · CPU offload 24 GB 33.40 GB short CPU offload
Radeon RX 9070 XT 16GB16 GB · CPU offload 16 GB 41.40 GB short CPU offload
Apple M5 Max 48GB unified48 GB · 36.00 GB usable · CPU offload 48 GB 21.40 GB short CPU offload
Fit at Q5_K_M and 8,192 tokens. Cards that fit in usable memory are listed first. "Short" shows how far the model goes over usable memory. Headroom uses usable memory. A unified row uses 75 percent of the listed pool.
GPU Memory Status Headroom
NVIDIA A100 80GB80 GB · No CPU offload 80 GB Fits+31.33 GB +31.33 GB
NVIDIA H100 SXM 80GB80 GB · No CPU offload 80 GB Fits+31.33 GB +31.33 GB
GeForce RTX 3060 12GB12 GB · CPU offload 12 GB 36.67 GB short CPU offload
GeForce RTX 3070 8GB8 GB · Won't fit 8 GB 40.67 GB short Won't fit
GeForce RTX 3080 10GB10 GB · Won't fit 10 GB 38.67 GB short Won't fit
GeForce RTX 3090 24GB24 GB · CPU offload 24 GB 24.67 GB short CPU offload
GeForce RTX 4060 8GB8 GB · Won't fit 8 GB 40.67 GB short Won't fit
GeForce RTX 4060 Ti 16GB16 GB · CPU offload 16 GB 32.67 GB short CPU offload
GeForce RTX 4070 12GB12 GB · CPU offload 12 GB 36.67 GB short CPU offload
GeForce RTX 4070 Ti Super 16GB16 GB · CPU offload 16 GB 32.67 GB short CPU offload
GeForce RTX 4080 16GB16 GB · CPU offload 16 GB 32.67 GB short CPU offload
GeForce RTX 4090 24GB24 GB · CPU offload 24 GB 24.67 GB short CPU offload
GeForce RTX 5060 Ti 16GB16 GB · CPU offload 16 GB 32.67 GB short CPU offload
GeForce RTX 5070 12GB12 GB · CPU offload 12 GB 36.67 GB short CPU offload
GeForce RTX 5070 Ti 16GB16 GB · CPU offload 16 GB 32.67 GB short CPU offload
GeForce RTX 5080 16GB16 GB · CPU offload 16 GB 32.67 GB short CPU offload
GeForce RTX 5090 32GB32 GB · CPU offload 32 GB 16.67 GB short CPU offload
Radeon RX 7900 XTX 24GB24 GB · CPU offload 24 GB 24.67 GB short CPU offload
Radeon RX 9070 XT 16GB16 GB · CPU offload 16 GB 32.67 GB short CPU offload
Apple M5 Max 48GB unified48 GB · 36.00 GB usable · CPU offload 48 GB 12.67 GB short CPU offload
Fit at Q4_K_M and 8,192 tokens. Cards that fit in usable memory are listed first. "Short" shows how far the model goes over usable memory. Headroom uses usable memory. A unified row uses 75 percent of the listed pool.
GPU Memory Status Headroom
NVIDIA A100 80GB80 GB · No CPU offload 80 GB Fits+39.54 GB +39.54 GB
NVIDIA H100 SXM 80GB80 GB · No CPU offload 80 GB Fits+39.54 GB +39.54 GB
GeForce RTX 3060 12GB12 GB · CPU offload 12 GB 28.46 GB short CPU offload
GeForce RTX 3070 8GB8 GB · Won't fit 8 GB 32.46 GB short Won't fit
GeForce RTX 3080 10GB10 GB · CPU offload 10 GB 30.46 GB short CPU offload
GeForce RTX 3090 24GB24 GB · CPU offload 24 GB 16.46 GB short CPU offload
GeForce RTX 4060 8GB8 GB · Won't fit 8 GB 32.46 GB short Won't fit
GeForce RTX 4060 Ti 16GB16 GB · CPU offload 16 GB 24.46 GB short CPU offload
GeForce RTX 4070 12GB12 GB · CPU offload 12 GB 28.46 GB short CPU offload
GeForce RTX 4070 Ti Super 16GB16 GB · CPU offload 16 GB 24.46 GB short CPU offload
GeForce RTX 4080 16GB16 GB · CPU offload 16 GB 24.46 GB short CPU offload
GeForce RTX 4090 24GB24 GB · CPU offload 24 GB 16.46 GB short CPU offload
GeForce RTX 5060 Ti 16GB16 GB · CPU offload 16 GB 24.46 GB short CPU offload
GeForce RTX 5070 12GB12 GB · CPU offload 12 GB 28.46 GB short CPU offload
GeForce RTX 5070 Ti 16GB16 GB · CPU offload 16 GB 24.46 GB short CPU offload
GeForce RTX 5080 16GB16 GB · CPU offload 16 GB 24.46 GB short CPU offload
GeForce RTX 5090 32GB32 GB · CPU offload 32 GB 8.46 GB short CPU offload
Radeon RX 7900 XTX 24GB24 GB · CPU offload 24 GB 16.46 GB short CPU offload
Radeon RX 9070 XT 16GB16 GB · CPU offload 16 GB 24.46 GB short CPU offload
Apple M5 Max 48GB unified48 GB · 36.00 GB usable · CPU offload 48 GB 4.46 GB short CPU offload
Fit at Q3_K_M and 8,192 tokens. Cards that fit in usable memory are listed first. "Short" shows how far the model goes over usable memory. Headroom uses usable memory. A unified row uses 75 percent of the listed pool.
GPU Memory Status Headroom
GeForce RTX 5090 32GB32 GB · Tight fit 32 GB Tight fit+0.27 GB +0.27 GB
NVIDIA A100 80GB80 GB · No CPU offload 80 GB Fits+48.27 GB +48.27 GB
NVIDIA H100 SXM 80GB80 GB · No CPU offload 80 GB Fits+48.27 GB +48.27 GB
Apple M5 Max 48GB unified48 GB · 36.00 GB usable · No CPU offload 48 GB Fits+4.27 GB +4.27 GB
GeForce RTX 3060 12GB12 GB · CPU offload 12 GB 19.73 GB short CPU offload
GeForce RTX 3070 8GB8 GB · CPU offload 8 GB 23.73 GB short CPU offload
GeForce RTX 3080 10GB10 GB · CPU offload 10 GB 21.73 GB short CPU offload
GeForce RTX 3090 24GB24 GB · CPU offload 24 GB 7.73 GB short CPU offload
GeForce RTX 4060 8GB8 GB · CPU offload 8 GB 23.73 GB short CPU offload
GeForce RTX 4060 Ti 16GB16 GB · CPU offload 16 GB 15.73 GB short CPU offload
GeForce RTX 4070 12GB12 GB · CPU offload 12 GB 19.73 GB short CPU offload
GeForce RTX 4070 Ti Super 16GB16 GB · CPU offload 16 GB 15.73 GB short CPU offload
GeForce RTX 4080 16GB16 GB · CPU offload 16 GB 15.73 GB short CPU offload
GeForce RTX 4090 24GB24 GB · CPU offload 24 GB 7.73 GB short CPU offload
GeForce RTX 5060 Ti 16GB16 GB · CPU offload 16 GB 15.73 GB short CPU offload
GeForce RTX 5070 12GB12 GB · CPU offload 12 GB 19.73 GB short CPU offload
GeForce RTX 5070 Ti 16GB16 GB · CPU offload 16 GB 15.73 GB short CPU offload
GeForce RTX 5080 16GB16 GB · CPU offload 16 GB 15.73 GB short CPU offload
Radeon RX 7900 XTX 24GB24 GB · CPU offload 24 GB 7.73 GB short CPU offload
Radeon RX 9070 XT 16GB16 GB · CPU offload 16 GB 15.73 GB short CPU offload
Fit at Q2_K and 8,192 tokens. Cards that fit in usable memory are listed first. "Short" shows how far the model goes over usable memory. Headroom uses usable memory. A unified row uses 75 percent of the listed pool.
GPU Memory Status Headroom
GeForce RTX 5090 32GB32 GB · No CPU offload 32 GB Fits+6.94 GB +6.94 GB
NVIDIA A100 80GB80 GB · No CPU offload 80 GB Fits+54.94 GB +54.94 GB
NVIDIA H100 SXM 80GB80 GB · No CPU offload 80 GB Fits+54.94 GB +54.94 GB
Apple M5 Max 48GB unified48 GB · 36.00 GB usable · No CPU offload 48 GB Fits+10.94 GB +10.94 GB
GeForce RTX 3060 12GB12 GB · CPU offload 12 GB 13.06 GB short CPU offload
GeForce RTX 3070 8GB8 GB · CPU offload 8 GB 17.06 GB short CPU offload
GeForce RTX 3080 10GB10 GB · CPU offload 10 GB 15.06 GB short CPU offload
GeForce RTX 3090 24GB24 GB · CPU offload 24 GB 1.06 GB short CPU offload
GeForce RTX 4060 8GB8 GB · CPU offload 8 GB 17.06 GB short CPU offload
GeForce RTX 4060 Ti 16GB16 GB · CPU offload 16 GB 9.06 GB short CPU offload
GeForce RTX 4070 12GB12 GB · CPU offload 12 GB 13.06 GB short CPU offload
GeForce RTX 4070 Ti Super 16GB16 GB · CPU offload 16 GB 9.06 GB short CPU offload
GeForce RTX 4080 16GB16 GB · CPU offload 16 GB 9.06 GB short CPU offload
GeForce RTX 4090 24GB24 GB · CPU offload 24 GB 1.06 GB short CPU offload
GeForce RTX 5060 Ti 16GB16 GB · CPU offload 16 GB 9.06 GB short CPU offload
GeForce RTX 5070 12GB12 GB · CPU offload 12 GB 13.06 GB short CPU offload
GeForce RTX 5070 Ti 16GB16 GB · CPU offload 16 GB 9.06 GB short CPU offload
GeForce RTX 5080 16GB16 GB · CPU offload 16 GB 9.06 GB short CPU offload
Radeon RX 7900 XTX 24GB24 GB · CPU offload 24 GB 1.06 GB short CPU offload
Radeon RX 9070 XT 16GB16 GB · CPU offload 16 GB 9.06 GB short CPU offload

VRAM by quantization

Totals at 8,192 tokens. Q4_K_M is the usual balance of size and quality. FP16 weights are the parameter count times 2 bytes. The FP16 column in the table is the full estimate: weights, cache, and 1 GB.

Estimates at 8192 tokens, in GB. Formula rows apply one block size to every parameter. A published-file row uses measured weight bytes. FP16 weights equal the parameter count times 2 bytes.
Quantization Bits Weights Cache Overhead Total
FP16/BF16Bits 16 · Cache 2.50 · Overhead 1.00 16 131.4 2.50 1.00 134.9
Q8_0Bits 8.5 · Cache 2.50 · Overhead 1.00 8.5 69.82 2.50 1.00 73.32
Q6_KBits 6.5625 · Cache 2.50 · Overhead 1.00 6.5625 53.90 2.50 1.00 57.40
Q5_K_MBits 5.5 · Cache 2.50 · Overhead 1.00 5.5 45.17 2.50 1.00 48.67
Q4_K_MBits 4.5 · Cache 2.50 · Overhead 1.00 4.5 36.96 2.50 1.00 40.46
Q3_K_MBits 3.4375 · Cache 2.50 · Overhead 1.00 3.4375 28.23 2.50 1.00 31.73
Q2_KBits 2.625 · Cache 2.50 · Overhead 1.00 2.625 21.56 2.50 1.00 25.06

Context length

Q4_K_M total as the context changes. Cache is the part that grows.

  • 2,048 38.59 GB
  • 8,192 40.46 GB
Cache and totals as the context changes. Tokens above the configured maximum are not listed.
Context tokens Cache GB Q4_K_M total FP16 total
2048FP16 total 133.0 0.63 38.59 133.0
8192FP16 total 134.9 2.50 40.46 134.9

Llama 3 70B hardware notes

  • Unified memory counts 75 percent of the listed pool as usable. Discrete cards use the full listed memory. The memory column still shows the listed figure.
  • Last updated 2025-06-18.
  • Weights, cache, and the 1 GB overhead are estimates. How this is calculated.
  • Architecture numbers come from NousResearch/Meta-Llama-3-70B-Instruct because the official download is gated. The parameter count is the official Hugging Face record.

Llama 3 70B VRAM FAQ

How much VRAM does Llama 3 70B need at Q4_K_M?

40.46 GB at 8,192 tokens. Weights are 36.96 GB, the cache is 2.50 GB, and overhead is 1 GB.

Does a 24 GB GPU fit Llama 3 70B at Q4_K_M?

GeForce RTX 3090 24GB is CPU offload, 16.46 GB over. The quant table uses 8,192 tokens, the smaller of 8,192 and the configured maximum of 8,192.

What context length is configured for Llama 3 70B?

The configured context length is 8,192 tokens. The quant table uses 8,192 tokens, the smaller of 8,192 and the configured maximum of 8,192.

Which source supplies the parameter count for Llama 3 70B?

70.55B parameters, from the Hugging Face model record for meta-llama/Meta-Llama-3-70B-Instruct. Architecture numbers come from the public copy at NousResearch/Meta-Llama-3-70B-Instruct, because the official download is gated. The parameter count is the official record.

Models in the same family, then the closest Q4_K_M totals.
Model Q4_K_M GB
Llama 3 8B 6.21
Llama 3.1 70B 40.46
Llama 3.3 70B 40.46
Gemma 4 18.48
gpt-oss-120b 62.49