Can I run Llama 3.1 70B on an RTX 4070 12GB?

No: Llama 3.1 70B needs about 55.2 GB at Q4_K_M with 32K tokens of context, 43.2 GB more than the RTX 4070 12GB holds, so it takes 8 of them (96 GB) in one tensor-parallel group. The smallest setup here that holds Llama 3.1 70B at Q4_K_M with 32K is 2× RTX 5090 (64 GB).

No Q4_K_M with 32K tokens of context on 8 cards

Q4_K_M, 32K
55.2 GB
RTX 4070
12 GB, 504 GB/s
Short by
43.2 GB
Tokens/s
36–53 tokens/s

At Q4_K_M with 32K tokens of context on 8 cards it writes about 36–53 tokens/s for one request on 8 RTX 4070 12GB cards.

Llama 3.1 70B on the RTX 4070 as the context fills

One request, FP16 KV cache, 0.5 GB plus 10% overhead; a minus sign is memory missing, and tight is less than 0.5 GB free.

Context Q4_K_MFreeTokens/sQ8_0FreeTokens/s
4K 45.6 GB −33.6 GB — 78.7 GB −66.7 GB —
8K 47.0 GB −35.0 GB — 80.0 GB −68.0 GB —
16K 49.7 GB −37.7 GB — 82.8 GB −70.8 GB —
32K 55.2 GB −43.2 GB — 88.3 GB −76.3 GB —
64K 66.2 GB −54.2 GB — 99.3 GB −87.3 GB —
128K (full) 88.2 GB −76.2 GB — 121 GB −109 GB —

Llama 3.1 70B on more than one RTX 4070

CardsBest at 32KTokens/sQ4_K_M longestQ4_K_M tokens/s
2× (24 GB) Nothing fits — Does not fit —
4× (48 GB) Q2_K 25–36 4K —

Tensor parallel with the combined bandwidth, as in vLLM; llama.cpp splits layers by default and runs at about one card's speed.

Other options

Run Llama 3.1 70B on the RTX 4070 with llama-server

llama-server -hf bartowski/Meta-Llama-3.1-70B-Instruct-GGUF:Q4_K_M -c 131072

Meta-Llama-3.1-70B-Instruct-Q4_K_M.gguf, 42.5 GB, from bartowski/Meta-Llama-3.1-70B-Instruct-GGUF (checked 2026-09-29). At -c 131072 on the RTX 4070: 91.7 GB of 96 GB, 4.27 GB free, layers split over 8 cards.

Questions

Can I run Llama 3.1 70B on an RTX 4070 12GB?

No: Llama 3.1 70B needs about 55.2 GB at Q4_K_M with 32K tokens of context, 43.2 GB more than the RTX 4070 12GB holds, so it takes 8 of them (96 GB) in one tensor-parallel group. The smallest setup here that holds Llama 3.1 70B at Q4_K_M with 32K is 2× RTX 5090 (64 GB).

How fast is Llama 3.1 70B on an RTX 4070 12GB?

At Q4_K_M with 32K tokens of context on 8 cards it writes about 36–53 tokens/s for one request on 8 RTX 4070 12GB cards.

What does a second RTX 4070 12GB change for Llama 3.1 70B?

Even two RTX 4070 12GB cards (24 GB) do not hold Llama 3.1 70B at 32K.

Try other settings in the VRAM calculator or the speed calculator. See also Llama 3.1 70B VRAM requirements, what LLMs an RTX 4070 12GB can run and every pair, or detect your own GPU. Model data checked .