GPU guide

RTX 4090 local LLM guide: 24 GB model capacity and context

A desktop RTX 4090 provides a 24 GB memory budget for local AI. This guide makes its capacity boundary visible before you choose a model or compare an upgrade.

Memory, before you download

Which models fit this GPU?

Calculated estimates

One GPU, 64 GB system RAM, 8K context. Dense rows use Q4 planning; fixed-format packs keep their documented size.

ModelWeight formatEstimated totalPlacement
Qwen3 4BDense · 4B parametersQ4 planning4.4 GBAll on GPU
Qwen3 8BDense · 8.2B parametersQ4 planning6.7 GBAll on GPU
DeepSeek R1 Distill 14BDense · 14.8B parametersQ4 planning10.9 GBAll on GPU
GPT OSS 20BMoE · 20.9B parametersMXFP414.4 GBAll on GPU
Qwen3 30B A3BMoE · 30.5B parametersQ4 planning20.3 GBAll on GPU
Qwen2.5 Coder 32BDense · 32.5B parametersQ4 planning21.5 GBAll on GPU
Llama 3.3 70BDense · 70.6B parametersQ4 planning44.4 GBUses system RAM

Example weight budget for Qwen2.5 Coder 32B: 19.5 GB of weights plus 0.5 GB of cache allowance and 1.5 GB of runtime buffers.

How these memory estimates are calculated

Dense Q4 planning uses approximately 4.8 bits per parameter, including format overhead. Fixed packs keep their catalog weight figure. Estimated memory adds the weight size, a model-specific KV-cache allowance where known, and 1.5 GB for runtime buffers.

Available GPU memory subtracts 0.7 GB for other uses. The PC examples reserve roughly 10% of RAM plus 3 GB for the operating system. GPU pages use one desktop card, 64 GB of DDR4 RAM and an 8K context; model pages name their own RAM capacity. KV allocation is an approximation and varies with architecture, precision, backend and actual context use.

These are batch-1 memory plans. They are not measured token-generation results or guarantees of runtime compatibility. Verify the real quantized file, available memory and backend before buying hardware.

A faster GPU still has a memory ceiling

The 4090 and 3090 entries here both have 24 GB of VRAM. They do not have the same hardware performance, but a model’s required memory must fit the selected card in either case.

A very large MoE model can touch fewer parameters per generated token and still require all its experts to be stored somewhere. Use total weight storage for the memory plan.

Plan long coding sessions separately

Code, tool responses and conversation history occupy context space. When the cache grows, a configuration that fits a small prompt may need RAM offload or a lower-memory pack.

If you are comparing multi-GPU options, check runtime sharding, slot layout, power and cooling. This single-card page does not add the bandwidth of several cards together.

Common questions

Can a 4090 fit larger models than a 3090?

Both desktop models in these guides have 24 GB. The same quantized file and context have a similar capacity requirement. Speed, supported software features and available headroom still differ.

Can I run a 70B model entirely in its VRAM?

The Q4 planning total for the 70B example exceeds one 24 GB card. A smaller pack, a different configuration or system RAM offload changes that plan and its trade-offs.

Sources and calculation notes

Hardware catalog attribution: gpu-specs · CC BY 4.0 · DarkStark9000. Source dataset. Specifications were normalized for this memory planner.

Model metadata snapshot: . Hardware snapshot: . Editorial review: .

Check current listings

Compare this hardware

Check the exact memory variant, condition, PSU and fit before choosing a listing.

Some links are paid affiliate links. We may earn a commission from qualifying purchases at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Check current prices at the retailer.