llamaperf

Best GPUs for 30B local LLMs

Models around 30B parameters are the most popular size for local use: good enough for real work and small enough for one consumer card. This page covers hardware with 16 GB or more and ranks it on the 30B-class model the most of it has been measured on.

What is the best GPU for 30B models?

Measured on Qwen3.8 27B at 4-bit, the fastest card people have reported is NVIDIA RTX 5090, at 80.0 tokens per second (median of 7 runs). NVIDIA RTX Pro 6000 Blackwell follows at 67.0 tokens per second (one run), then NVIDIA RTX 5070 Ti at 54.7 tokens per second (one run). The table lists every card with a run of this model.

Speed only matters if the model fits. Check what fits on your card.

Ranked on Qwen3.8 27B at 4-bit

Median tokens per second from plain runs: one GPU, one request, no speculative decoding, and the whole model in its memory. A run that kept part of the model in system RAM or on disk isn't ranked, because then the CPU and its memory set the pace as much as the GPU. The runs still differ in engine and context, and a long context can cut decode speed sharply, so each row shows what its median came from. Read a small gap between two rows as noise. Every Qwen3.8 report

#GPUMemoryGen t/sPP t/sGen runsEngine and context
1NVIDIA RTX 509032 GB80.0-7llama.cpp, TensorSharp +1, 2 not stated40K to 256K context, 2 not stated
2NVIDIA RTX Pro 6000 Blackwell96 GB67.0-1engine not statedcontext not stated
3NVIDIA RTX 5070 Ti16 GB54.7-1llama.cpp110K context
4M5 Ultra 256GB256 GBunified50.01800.01 run1oMLX8K context
5AMD RX 7900 XTX24 GB42.5640.04 runs6llama.cpp, Ollama, 2 not stated64K to 220K context, 3 not stated
6NVIDIA RTX 409024 GB40.01949.32 runs3llama.cpp8K to 194K context
7NVIDIA RTX 309024 GB37.4561.02 runs6llama.cpp, vLLM, 1 not stated128K to 256K context, 1 not stated
8AMD RX 7800 XT 16GB16 GB35.0-2llama.cpp, 1 not stated100K to 120K context
9NVIDIA RTX 5090 Laptop 24GB24 GB33.5-2llama.cpp, 1 not stated64K to 100K context
10M3 Ultra 512GB512 GBunified31.8391.21 run1MLXcontext not stated
11NVIDIA V100 32GB32 GB31.4940.52 runs2llama.cpp, 1 not stated32K to 128K context
12AMD Radeon AI PRO R9700 32GB32 GB29.81287.01 run3llama.cpp, 1 not stated2K context, 2 not stated
13M5 Max 36GB36 GBunified25.8-1engine not statedcontext not stated
14NVIDIA RTX 3080 20GB20 GB25.7997.01 run2llama.cpp, 1 not stated96K context, 1 not stated
15Intel Arc Pro B7032 GB25.6512.11 run1llama.cppcontext not stated
16M1 Ultra 128GB128 GBunified25.1153.31 run1engine not statedcontext not stated
17M4 Max 64GB64 GBunified23.9119.91 run1llama.cppcontext not stated
18M4 Max 128GB128 GBunified21.8236.61 run1llama.cppcontext not stated
19Intel Arc Pro B60 24GB24 GB18.8339.43 runs4llama.cpp, 1 not stated512 to 150K context, 1 not stated
20M1 Max 64GB64 GBunified16.9-1LM Studio64K context
21M1 Max 32GB32 GBunified15.881.81 run1MLXcontext not stated
22NVIDIA L424 GB14.6-1llama.cppcontext not stated
23M3 Ultra 256GB256 GBunified14.093.11 run1Ollamacontext not stated
24AMD Strix Halo 128GB128 GBunified13.1378.23 runs4llama.cpp, 1 not stated32K context, 3 not stated
25M4 Pro 64GB64 GBunified12.9126.24 runs4llama.cpp, 2 not statedcontext not stated
26M2 Pro 32GB32 GBunified8.621.91 run1llama.cpp128K context
27M4 24GB24 GBunified6.560.81 run1llama.cppcontext not stated
28NVIDIA RTX 4070 Ti Super16 GB5.7-1llama.cpp4K context
29NVIDIA DGX Spark128 GBunified-899.91 run0llama.cpp16K context

No speed reports yet

These match the profile, but nobody has reported a plain run on them.

What to look for

24 GB is the comfortable size

A 4-bit 30B-class model fits on a 24 GB card with room left for a useful context. That's why 24 GB cards are the usual recommendation for this size.

16 GB works with trade-offs

On a 16 GB card you'll use a smaller quant, a shorter context or partial offloading. Each costs something, and the calculator shows which quant fits your card and how fast it should run.

Frequently asked

Can a 16 GB GPU run 30B models?

Yes, with a smaller quant or a shorter context. The calculator lists what fits on your exact card and what it costs in quality.

How is this list ranked?

Every card is ranked on its median speed for one 30B-class reference model at one quant level, counting plain single-GPU runs only. The reference is the model between 24B and 40B parameters that the most of this hardware has reports of.

See also