What Can I Run AI?

How much VRAM do you need for a 300B–480B model?

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

Q4_K_M
282.2 GB 244.6 GB weights
Q8_0
493.9 GB 428.6 GB weights
FP16
928.8 GB 806.8 GB weights

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

No single consumer GPU we track fits it at Q4. Cheapest Mac or mini PC: Mac Studio M5 Ultra 512GB ($22,299).

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 300B–480B model at each quant
SettingMemory neededCheapest GPUCheapest Mac / mini PC
Q4_K_M, ~4k context282.2 GBNone we trackMac Studio M5 Ultra 512GB 384 GB usable · $22,299
Q8_0, ~4k context493.9 GBNone we trackNone we track
FP16, ~4k context928.8 GBNone we trackNone we track
Q4_K_M, 32k context283.1 GBNone we trackMac Studio M5 Ultra 512GB 384 GB usable · $22,299

No single consumer GPU we track holds a 300B–480B model at Q4. Your options: two or more GPUs (see the ready-made builds or the planner), a large unified-memory machine (see the best Mac for local LLMs), or a smaller quant with lower quality.

Memory by context length

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

Memory needed for a 300B–480B model by context length
ContextQ4_K_M, FP16 cacheQ4_K_M, Q8 cacheQ8_0, FP16 cache
4k tokens282.2 GB282.2 GB493.9 GB
8k tokens282.4 GB282.2 GB494.0 GB
16k tokens282.6 GB282.4 GB494.3 GB
32k tokens283.1 GB282.6 GB494.8 GB
64k tokens284.1 GB283.1 GB495.8 GB
128k tokens286.1 GB284.1 GB497.8 GB

Hardware that runs it

Bar: Q4 memory needed vs. usable memory. Speed is estimated decode at Q4 (how we estimate); MoE shows an upper bound only.FitsTight
Tracked hardware that runs a 300B–480B model at Q4
HardwareQ4 need vs. usableQ4 / Q8 / FP16Est. tok/s
Mac Studio M5 Ultra 512GBunified memory · $22,299282.2 / 384.0 GBQ4FitsQ8Won’t fitFP16Won’t fitup to 93

300B–480B models we track

Memory needed by each 300B–480B model we track
ModelQ4_K_MQ8_0FP16
ERNIE-4.5-300B-A47B-PT300.5B params · baidu · MoE210.5 GB368.1 GB692.1 GB
DeepSeek-V4-Flash-0731304.2B params · deepseek-ai · MoE213.1 GB372.7 GB700.6 GB
DeepSeek-V4-Flash-Vision-Exp304.6B params · deepseek-ai · MoE213.4 GB373.2 GB701.7 GB
MiMo-V2-Flash309.8B params · XiaomiMiMo · MoE217.0 GB379.5 GB713.5 GB
MiMo-V2.5310.8B params · XiaomiMiMo · MoE217.7 GB380.7 GB715.7 GB
MiMo-V2.6-Flash-RL310.8B params · XiaomiMiMo · MoE217.7 GB380.7 GB715.7 GB
MiMo-V2.6-Flash-MOPD310.8B params · XiaomiMiMo · MoE217.7 GB380.7 GB715.7 GB
Motif-3314.8B params · Motif-Technologies220.5 GB385.7 GB725.1 GB
GLM-5.3-Flash321.3B params · zai-org · MoE225.0 GB393.6 GB740.0 GB
GLM-4.6356.8B params · zai-org · MoE249.7 GB436.9 GB821.6 GB
GLM-4.5358.3B params · zai-org · MoE250.8 GB438.8 GB825.2 GB
GLM-4.7358.3B params · zai-org · MoE250.8 GB438.8 GB825.2 GB
Nex-N2.5-Pro396.8B params · nex-agi · MoE277.6 GB485.8 GB913.6 GB
Nex-N2-Pro396.8B params · nex-agi · MoE277.6 GB485.8 GB913.6 GB
NorthCUA-Pro396.8B params · beipo-ai · MoE277.6 GB485.8 GB913.6 GB
Trinity-Large-Thinking398.6B params · arcee-ai · MoE278.9 GB488.1 GB917.9 GB
Trinity-Large-Preview398.6B params · arcee-ai · MoE278.9 GB488.1 GB917.9 GB
Trinity-Large-TrueBase398.6B params · arcee-ai · MoE278.9 GB488.1 GB917.9 GB
Trinity-Large-Base398.6B params · arcee-ai · MoE278.9 GB488.1 GB917.9 GB
Llama-4-Maverick-17B-128E-Instruct401.6B params · meta-llama · MoE281.0 GB491.7 GB924.6 GB
Qwen3.5-397B-A17B403.4B params · Qwen · MoE282.2 GB493.9 GB928.8 GB
Intern-S2-397B403.4B params · internlm · MoE282.3 GB493.9 GB928.9 GB
ERNIE-4.5-VL-424B-A47B-PT423.5B params · baidu · MoE296.3 GB518.5 GB975.1 GB
MiniMax-M3427.0B params · MiniMaxAI · MoE298.7 GB522.8 GB983.2 GB
MiniMax-M1-40k456.1B params · MiniMaxAI · MoE319.0 GB558.3 GB1050.0 GB
MiniMax-M1-80k456.1B params · MiniMaxAI · MoE319.0 GB558.3 GB1050.0 GB
Qwen3-Coder-480B-A35B-Instruct480.2B params · Qwen · MoE335.8 GB587.7 GB1105.4 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 300B–480B model?
About 282.2 GB at Q4_K_M, 493.9 GB at Q8_0 and 928.8 GB at FP16, at a ~4k context. That is for Qwen3.5-397B-A17B (403.4B parameters): weights plus about 15% for the KV cache and 1 GB for the runtime.
How much VRAM does a 300B–480B model need for 32k context?
About 283.1 GB at Q4_K_M with an FP16 KV cache, or 282.6 GB with a Q8 cache, based on Qwen3.5-397B-A17B's published config. Models with different attention layouts need more or less.
What is the cheapest GPU for a 300B–480B model?
None of the single consumer GPUs we track hold it at Q4. Use several GPUs, a large unified-memory machine, or CPU offload (slow).
Can a Mac run a 300B–480B model?
Yes. The cheapest Mac or unified-memory mini PC we track that runs it at Q4 is the Mac Studio M5 Ultra 512GB (512 GB, about 384.0 GB usable, $22,299).
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 · 24B–27B · 30B–32B · 40B–50B · 70B · 120B · 200B–300B · 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.