The honest answer to whether a 32GB RTX 5090 can run a full 70B coding model is no, not at the Q4 quant most people mean when they say "Q4". A standard 70B model at Q4_K_M wants somewhere around 40GB once you include the key-value cache and context, and 32GB simply cannot hold that. You will hit a CUDA out-of-memory error at load or the moment the context fills.

Quick Answer

A 70B model at Q4_K_M needs roughly 40GB of VRAM, so it overflows the 5090's 32GB and triggers an OOM. The two clean workarounds are a more aggressively quantised 70B (Q3 class, around 30GB) or running a 32B model at full Q4 on the card, where the 5090 is genuinely fast.

Why 32GB Is Not Enough for a 70B at Q4

The arithmetic is simple once you see it. The same 70B at FP16 would need roughly 140GB, which is why nobody runs that locally. Q4_K_M compresses the weights to about 40GB, and that is already over the 32GB you have before you load a single token of context. The weights alone leave no room, and a coding workflow with a long file or a big prompt makes it worse because the context cache grows on top of the weights. So the failure is not a driver bug or a misconfiguration. It is the model being physically larger than the memory you have.

This catches people because 32GB sounds enormous next to the 8GB or 12GB cards they upgraded from. For image work or 32B language models it is. For a 70B at the quant level that keeps quality acceptable, it is just short.

What Actually Fits, and What It Costs You

You have two realistic paths on a single 5090, and each is a trade-off.

The first is to drop the 70B to a Q3-class quant that compresses to roughly 30GB, leaving about 1GB of headroom. It fits, but Q3 is below the quality floor where a model stays reliably coherent on code, so you trade correctness for the ability to load it at all. For some throwaway tasks that is fine. For real coding help it often is not.

The second, and usually the better choice, is to step down to a 32B model and run it at full Q4 or even higher. A 32B at Q4 sits comfortably inside 32GB with room for a healthy context window, and the 5090 pushes it at high token rates. You lose some raw capability versus a 70B, but you gain speed, longer context, and a quant that does not degrade the output. For day-to-day coding assistance, a strong 32B at good quant frequently beats a crippled 70B at Q3.

If your work genuinely depends on a full-quality 70B, that is a two-card or workstation-GPU conversation, not a single 5090. The card is excellent inside its memory budget. It just cannot break the laws of how much fits in 32GB. The current Blackwell-class cards and the systems built around them sit in the AI PC range, and if you want to see which prebuilt machines pair the 5090 with enough system RAM and cooling, the top-selling PCs are a fast way to gauge what a serious local-AI build looks like.

Frequently Asked Questions

Why does the model OOM at load instead of just running slowly?

Because the weights themselves exceed your VRAM. Unlike a system that can swap to slower memory, loading a model that does not fit fails outright with a CUDA out-of-memory error. There is no graceful slowdown when the weights alone are larger than 32GB.

Will a smaller context window let the 70B Q4 fit?

No. The roughly 40GB figure is mostly the weights, and trimming the context cache only saves a few gigabytes. You would need to shrink the weights themselves, which means a lower quant, not a shorter prompt.

Is a 32B at Q4 actually good enough for coding?

For most everyday assistance, yes. A 32B at a clean Q4 stays coherent and fast on the 5090, whereas a 70B forced down to Q3 to fit often produces worse results despite the bigger parameter count. Quality of quant matters as much as size.

What hardware does a full 70B at Q4 really need?

Around 40GB of VRAM minimum, which in practice means two high-VRAM cards or a workstation GPU rather than one 32GB 5090. That is a different budget and build entirely.

Building a local AI workstation? Compare cards and prebuilt machines in the AI PC range at Evetech and match the VRAM to the models you actually plan to run.