VRAMNeeded Calculator

What can I run with 40 GB of VRAM?

With 40 GB of VRAM (or unified memory) and an 8K-token conversation, 22 of the 30 language models in our calculator fit comfortably, and the largest is Mixtral 8x7B Instruct v0.1.

Language models (LLMs)

ModelBest precisionMemoryVerdict
Mixtral 8x7B Instruct v0.1Mistral AI4-bit (Q4_K_M)27.5 GBFits
Recursive FlintRecursive4-bit (Q4_K_M)25.3 GBFits
Qwen3.6 35B-A3BAlibaba Qwen4-bit (Q4_K_M)22.5 GBFits
Qwen3.8-35B-A3B (Empero Distill)Empero4-bit (Q4_K_M)21.9 GBFits
Nanbeige4.3 33BNanbeige4-bit (Q4_K_M)22.5 GBFits
Qwen2.5 32B InstructAlibaba Qwen4-bit (Q4_K_M)22.0 GBFits
Qwen3 32BAlibaba Qwen4-bit (Q4_K_M)21.9 GBFits
Gemma 4 31BGoogle8-bit (Q8_0)32.6 GB*Fits
Qwen3.8 27BAlibaba Qwen8-bit (Q8_0)29.7 GBFits
Gemma 4 26B A4BGoogle8-bit (Q8_0)26.9 GB*Fits
LFM2.5-24B-A2BLiquid AI8-bit (Q8_0)25.7 GBFits
gpt-oss-20bOpenAI16-bit (FP16/BF16)14.0 GBFits
Qwen2.5 14B InstructAlibaba Qwen16-bit (FP16/BF16)31.2 GBFits
Qwen3 14BAlibaba Qwen16-bit (FP16/BF16)30.9 GBFits
DeepSeek-R1-0528-Qwen3-8BDeepSeek16-bit (FP16/BF16)17.6 GBFits
Llama 3.1 8B InstructMeta16-bit (FP16/BF16)17.1 GBFits
Nemotron 3.5 Bolt E4BNVIDIA16-bit (FP16/BF16)15.1 GB*Fits
Qwen2.5 7B InstructAlibaba Qwen16-bit (FP16/BF16)15.7 GBFits
Mistral 7B Instruct v0.3Mistral AI16-bit (FP16/BF16)15.6 GBFits
Spark-X2.6 4BXHToken16-bit (FP16/BF16)8.5 GBFits
Llama 3.2 3B InstructMeta16-bit (FP16/BF16)7.4 GBFits
LFM3 1.7BLiquid AI16-bit (FP16/BF16)3.6 GBFits
Kimi K3Moonshot AIneeds 1,508.9 GB at 4-bit1,508.9 GBToo big
Mistral Large 4 (Le Chonk)Mistral AIneeds 635.5 GB at 4-bit635.5 GBToo big
DeepSeek-V4.1-Flash-1017DeepSeekneeds 500.7 GB at 4-bit500.7 GBToo big
Qwen3.8 Flash NextAlibaba Qwenneeds 119.8 GB at 4-bit119.8 GBToo big
Ornith-1.5-122BOrnithneeds 79.9 GB at 4-bit79.9 GBToo big
gpt-oss-120bOpenAIneeds 63.1 GB at 4-bit63.1 GBToo big
Llama 3.1 70B InstructMetaneeds 45.2 GB at 4-bit45.2 GBToo big
Llama 3.3 70B InstructMetaneeds 45.2 GB at 4-bit45.2 GBToo big

Memory needed = weights at that precision (real Hugging Face download sizes) + FP16 KV cache for 8,192 tokens. "Fits" means under 90% of 40 GB; "Tight" means 4-bit loads but leaves under 10% free. A * means the KV cache isn't sourced yet, so only the weights are counted. Data checked 2026-10-30.

Image generation, video editing and gaming

WorkloadMin–comfortableVerdict
Stable Diffusion 1.5 (512×512)Image generation4–8 GBComfortable
SDXL 1.0 (1024×1024)Image generation8–12 GBComfortable
FLUX.1 [dev] (1024×1024)Image generation8–16 GBComfortable
Video editing, 1080p (HD)Video editing4–8 GBComfortable
Video editing, 4KVideo editing8–12 GBComfortable
Video editing, 8KVideo editing16–24 GBComfortable
Gaming, 1080pGaming8–12 GBComfortable
Gaming, 1440pGaming12–16 GBComfortable
Gaming, 4KGaming16 GBComfortable

Ranges come from published guidance (Adobe, Puget Systems, AUTOMATIC1111 and others); the sources are linked in the calculator when you pick a workload.

Other memory sizes

Want a different context length, more than one GPU, or your exact card? Use the What can my GPU run? tool. To check one model in detail, use the VRAM calculator.

Too big for your card? Rent the VRAM by the hour, or upgrade.

Run it on a cloud GPU

No upgrade needed

Rent a 24–80 GB GPU for the hour you need it.

Buy this GPU

Own the VRAM

Compare current GPU prices first on our GPU price table and measured speeds.

We may earn from links marked Affiliate partner. Disclosure.

Last checked: