Local AI hardware

RTX 5090 vs RTX 4090 for local AI: when does 32 GB help?

NVIDIA lists 32 GB on the RTX 5090 and 24 GB on the RTX 4090. The added capacity matters when your intended model and context exceed the 4090’s usable budget but fit on the 5090. If both already hold the workload on GPU, compare actual generation and prompt timing. If neither holds it, size the model differently or test the split. [1] [2] [3]

Check which memory boundary the upgrade crosses
  1. Fits on bothRun comparable prompt and generation testsDo not buy capacity you cannot use
  2. Fits on 5090 onlyCompare offload with all-GPU residencyRecord placement in the same runtime
  3. Fits on neitherTest context, quantization or a different platformKeep the unresolved case visible

Build a budget from your exact observed workload

Keep model artifact, context, runtime and concurrent requests fixed. Measure dedicated memory already in use and record whether Ollama shows a CPU/GPU split. The advertised capacity is the device total. Available memory includes what remains after display, background use and runtime allocations. Compare capacities in consistent units. [4] [3]

Distinguish a capacity change from generation speed

A planning workload requiring about 26 GiB of actual dedicated allocation would exceed a nominal 24 GiB physical limit. On a larger card it still needs room for the driver, active display and other tasks. If both cards run your smaller everyday model entirely on GPU, the larger model example says nothing about the everyday speedup. Benchmark both separately. [1] [2] [5]

Check the rest of the computer before pricing the GPU

NVIDIA’s published reference board power is 575 W for the 5090 and 450 W for the 4090. Those values differ from measured watts at a given task. Check the exact board and PSU cable guidance and confirm clearance and cooling. Compare net cost against whether you can now complete the target task at the desired quality. [1] [2]

Put it into practice

Related guides

Sources

Source review . Research and writing prepared with AI assistance.

  1. NVIDIA’s desktop RTX 5090 reference specifications
  2. NVIDIA’s desktop RTX 4090 reference specifications
  3. Ollama FAQ: device placement, concurrency and KV cache
  4. Ollama context length and placement
  5. Ollama generate endpoint timing fields

Choose a part

Make it yours

Your hardware studio.

Saved in this browser. Your parts stay the same.