What Can I Run AI?

How much VRAM do you need for a 24B–27B model?

Short answer: about 20.4 GB at Q4_K_M, the usual quant for local use. Below: every quant, longer contexts, the cheapest hardware that fits, and every 24B–27B open model we track.

Q4_K_M
20.4 GB 16.8 GB weights
Q8_0
34.9 GB 29.5 GB weights
FP16
64.9 GB 55.6 GB weights

Worked out for Qwen3.8-27B (27.8B parameters, from the Hugging Face API). Formula: weights × 1.15 + 1 GB at a ~4k context (how we calculate).

Cheapest GPU that fits at Q4: Intel Arc Pro B70 32GB (32 GB, $949). Cheapest Mac or mini PC: Mac mini M6 32GB ($1,799).

Cheapest hardware for each quant

Only devices with a sourced price. GPUs at list price (MSRP); street prices may be higher.

Cheapest GPU and Mac or mini PC for a 24B–27B model at each quant
SettingMemory neededCheapest GPUCheapest Mac / mini PC
Q4_K_M, ~4k context20.4 GBIntel Arc Pro B70 32GB 32 GB usable · $949Mac mini M6 32GB 24 GB usable · $1,799
Q8_0, ~4k context34.9 GBNVIDIA RTX A6000 48 GB usable · $4,649Mac mini M5 Pro 64GB 48 GB usable · $3,199
FP16, ~4k context64.9 GBNVIDIA RTX Pro 6000 Blackwell 96GB 96 GB usable · $8,565Framework Desktop (Ryzen AI Max+ 395) 128GB 96 GB usable · $3,449
Q4_K_M, 32k context22.2 GBIntel Arc Pro B70 32GB 32 GB usable · $949Mac mini M5 Pro 64GB 48 GB usable · $3,199

Memory by context length

Each extra token of context adds to the KV cache. Numbers for Qwen3.8-27B, from its published config; a Q8 KV cache halves the cache part.

Memory needed for a 24B–27B model by context length
ContextQ4_K_M, FP16 cacheQ4_K_M, Q8 cacheQ8_0, FP16 cache
4k tokens20.4 GB20.4 GB34.9 GB
8k tokens20.6 GB20.4 GB35.2 GB
16k tokens21.2 GB20.6 GB35.8 GB
32k tokens22.2 GB21.2 GB36.8 GB
64k tokens24.4 GB22.2 GB39.0 GB
128k tokens28.7 GB24.4 GB43.3 GB

Hardware that runs it

Bar: Q4 memory needed vs. usable memory. Speed is estimated decode at Q4 (how we estimate).FitsTight
Tracked hardware that runs a 24B–27B model at Q4
HardwareQ4 need vs. usableQ4 / Q8 / FP16Est. tok/s
NVIDIA Tesla P40 24GBGPU20.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit12–17
Radeon RX 7900 XTXGPU · $99920.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit34–48
GeForce RTX 3090GPU · $1,49920.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit33–47
GeForce RTX 4090GPU · $1,59920.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit36–51
Mac mini M6 32GBunified memory · $1,79920.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit5–8
GeForce RTX 3090 TiGPU · $1,99920.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit36–51
NVIDIA RTX A5000GPU · $2,25020.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit27–39
MacBook Pro M6 32GBunified memory · $2,39920.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit5–8
NVIDIA Titan RTXGPU · $2,49920.4 / 24.0 GBQ4FitsQ8Won’t fitFP16Won’t fit24–34
NVIDIA Tesla V100 32GB (PCIe)GPU20.4 / 32.0 GBQ4FitsQ8Won’t fitFP16Won’t fit32–45
AMD Radeon Instinct MI50 32GBGPU20.4 / 32.0 GBQ4FitsQ8Won’t fitFP16Won’t fit36–52
AMD Radeon Instinct MI60 32GBGPU20.4 / 32.0 GBQ4FitsQ8Won’t fitFP16Won’t fit36–52
Intel Arc Pro B70 32GBGPU · $94920.4 / 32.0 GBQ4FitsQ8Won’t fitFP16Won’t fit22–31
GeForce RTX 5090GPU · $1,99920.4 / 32.0 GBQ4FitsQ8Won’t fitFP16Won’t fit64–90
Mac mini M5 Pro 64GBunified memory · $3,19920.4 / 48.0 GBQ4FitsQ8FitsFP16Won’t fit8–15
NVIDIA RTX A6000GPU · $4,64920.4 / 48.0 GBQ4FitsQ8FitsFP16Won’t fit27–39
NVIDIA DGX Spark 64GBunified memory · $4,99920.4 / 48.0 GBQ4FitsQ8FitsFP16Won’t fit7–13
NVIDIA RTX 6000 Ada 48GBGPU · $6,79920.4 / 48.0 GBQ4FitsQ8FitsFP16Won’t fit34–48
Framework Desktop (Ryzen AI Max+ 395) 128GBunified memory · $3,44920.4 / 96.0 GBQ4FitsQ8FitsFP16Fits7–12
MacBook Pro M4 Max 128GBunified memory · $4,99920.4 / 96.0 GBQ4FitsQ8FitsFP16Fits15–26
MacBook Pro M5 Max 128GBunified memory · $6,69920.4 / 96.0 GBQ4FitsQ8FitsFP16Fits16–29
NVIDIA DGX Spark 128GBunified memory · $6,95020.4 / 96.0 GBQ4FitsQ8FitsFP16Fits7–13
NVIDIA RTX Pro 6000 Blackwell 96GBGPU · $8,56520.4 / 96.0 GBQ4FitsQ8FitsFP16Fits64–90
Mac Studio M5 Ultra 256GBunified memory · $9,49920.4 / 192.0 GBQ4FitsQ8FitsFP16Fits32–57
Mac Studio M5 Ultra 512GBunified memory · $22,29920.4 / 384.0 GBQ4FitsQ8FitsFP16Fits32–57

24B–27B models we track

Memory needed by each 24B–27B model we track
ModelQ4_K_MQ8_0FP16
solar-pro-preview-instruct22.1B params · upstage16.4 GB28.1 GB51.9 GB
EuroLLM-22B-Instruct-251222.6B params · utter-project16.8 GB28.7 GB53.1 GB
EuroLLM-22B-251222.6B params · utter-project16.8 GB28.7 GB53.1 GB
Mistral-Small-24B-Instruct-250123.6B params · mistralai17.4 GB29.8 GB55.2 GB
LFM2-24B-A2B23.8B params · LiquidAI · MoE17.6 GB30.1 GB55.8 GB
LFM2.5-24B-A2B24.0B params · LiquidAI · MoE17.7 GB30.3 GB56.1 GB
Mistral-Small-3.2-24B-Instruct-250624.0B params · mistralai17.7 GB30.3 GB56.2 GB
Mistral-Small-3.1-24B-Instruct-250324.0B params · mistralai17.7 GB30.3 GB56.2 GB
Voxtral-Small-24B-250724.3B params · mistralai17.9 GB30.6 GB56.8 GB
Gemma 4 26B A4B25.8B params · google · MoE19.0 GB32.5 GB60.4 GB
gemma-4-26B-A4B25.8B params · google · MoE19.0 GB32.5 GB60.4 GB
diffusiongemma-26B-A4B-it25.8B params · google · MoE19.0 GB32.6 GB60.4 GB
Trinity-Mini26.1B params · arcee-ai · MoE19.2 GB32.9 GB61.1 GB
Hemmingway-1.526.9B params · HemmingwayAI19.8 GB33.9 GB62.9 GB
medgemma-27b-text-it27.0B params · google19.8 GB34.0 GB63.1 GB
Qwen3.8-27B-Longbook27-v227.1B params · summerAIO19.9 GB34.1 GB63.3 GB
gemma-2-27b-it27.2B params · google20.0 GB34.3 GB63.6 GB
gemma-2-27b27.2B params · google20.0 GB34.3 GB63.6 GB
Arete-27B27.4B params · NousResearch20.1 GB34.4 GB63.9 GB
gemma-3-27b-it27.4B params · google20.1 GB34.5 GB64.1 GB
Qwen3.8-27B27.8B params · Qwen20.4 GB34.9 GB64.9 GB
Tess-4.5-27B27.8B params · migtissera20.4 GB34.9 GB64.9 GB
Qwen3.6-27B27.8B params · Qwen20.4 GB34.9 GB64.9 GB
Qwen3.5-27B27.8B params · Qwen20.4 GB34.9 GB64.9 GB
Raon-1 mini preview28.8B params · KRAFTON · MoE21.1 GB36.2 GB67.2 GB
granite-4.1-30b28.9B params · ibm-granite21.1 GB36.3 GB67.4 GB
granite-4.2-30b29.3B params · ibm-granite21.4 GB36.8 GB68.3 GB
ERNIE-4.5-VL-28B-A3B-PT29.4B params · baidu · MoE21.5 GB36.9 GB68.6 GB

Have a different amount of memory? Try the VRAM calculator or see best LLMs by VRAM size.

Quick answers

How much VRAM do I need for a 24B–27B model?
About 20.4 GB at Q4_K_M, 34.9 GB at Q8_0 and 64.9 GB at FP16, at a ~4k context. That is for Qwen3.8-27B (27.8B parameters): weights plus about 15% for the KV cache and 1 GB for the runtime.
How much VRAM does a 24B–27B model need for 32k context?
About 22.2 GB at Q4_K_M with an FP16 KV cache, or 21.2 GB with a Q8 cache, based on Qwen3.8-27B's published config. Models with different attention layouts need more or less.
What is the cheapest GPU for a 24B–27B model?
Of the GPUs we track, the Intel Arc Pro B70 32GB (32 GB, $949 list price) is the cheapest that runs it fully on the GPU at Q4.
Can a Mac run a 24B–27B model?
Yes. The cheapest Mac or unified-memory mini PC we track that runs it at Q4 is the Mac mini M6 32GB (32 GB, about 24.0 GB usable, $1,799).
Does a MoE model of the same size need less VRAM?
No. A mixture-of-experts model still has to hold all of its weights in memory, so it needs about the same VRAM as a dense model with the same total parameters. It runs faster, because only a few experts are read per token.

Other sizes: 1B–2B · 2B–3B · 4B–6B · 7B–8B · 12B–14B · 16B–21B · 30B–32B · 40B–50B · 70B · 120B · 200B–300B · 300B–480B · 500B–800B · 1T+ · All sizes · Ollama VRAM by tag · GGUF sizes by quant

New models, and what they need to run

One short email a week: fresh open models with their VRAM numbers, plus hardware worth watching.