Skip to main content

Hardware

Desktop with 32 GB VRAM GPU

Qwen3 32B Q4 needs about 20.6 GiB of VRAM at 4,096 tokens and about 29.0 GiB at 32,768, which still fits with about 2.0 GiB left. A 70B Q4 model needs offload.

Example: 64 GB system memory32 GB GPU memoryUpdated

At a glance

Model sizes to check
14B–32B Q4 · 32B Q4 at 4,096 tokens; 32,768 leaves about 2 GiB
Likely bottleneck
A short-context Qwen3 32B Q4 configuration fits the stated example, but longer context narrows the remaining VRAM margin. A 70B model still needs a separate plan.
Good first workload
Compare 14B and 32B Q4 at the same 4,096-token context before spending the remaining memory on longer conversations.
Upgrade trigger
Move beyond 32 GB VRAM when your measured workload needs more context or larger stored weights than this allocation allows, after accounting for other GPU use.

Use the extra graphics memory for a larger model, more context, or both. Check the exact card against your app's hardware support.

A useful first comparison

Model packageListed downloadPurpose of the comparison
Qwen3 14B Q4_K_MAbout 9.3 GBEstablish a smaller model that answers your task.
Qwen3 32B Q4_K_MAbout 20 GBCheck whether a larger model improves that same answer enough to justify its response time.

The 24 GB GPU guide gives the exact 32B setup with a 4,096-token first request. Use the same short context for the initial comparison. Then increase it for the documents or code you actually need.

For the recorded Q4_K_M Ollama package, Ollama selected, one user and a 20% safety allowance, the calculator needs about 20.58 GiB of VRAM at 4,096 tokens, against 31.00 GiB available. At 32,768 tokens it needs about 29.02 GiB, leaving 1.98 GiB. These figures use the actual Ollama package, including its recorded layer sizes.

Set num_ctx to 4096 for the first run: use the context-length slider in the app's Settings, /set parameter num_ctx 4096 in a terminal chat, or "options": {"num_ctx": 4096} in API requests. Then read CONTEXT in ollama ps. In the calculator's 32B Ollama example, moving from 4,096 to 16,384 tokens raises required VRAM from 20.58 to 24.20 GiB against 31.00 GiB available. Recheck with other GPU applications open before extending it.

Why 70B Q4 still does not fit on one card

Seventy billion weights at an ideal four bits each take 35 billion bytes, about 32.6 GiB. That already exceeds 32 GiB before compression metadata, other tensors or conversation memory.

A smaller quantization, CPU offload or multiple cards change the arrangement. Each needs its own file-size and response-time check.

When longer context is the better use of memory

If the smaller model already answers well but cannot take enough source material, try a longer context before replacing it. If a larger model adds errors or merely produces a longer answer, keep the smaller one.

System RAM remains separate. It supports the operating system, application, file processing and any work offloaded from the GPU.

Sources

Qwen3 14B, Qwen3 32B, Ollama context and placement, Ollama FAQ, Qwen3-32B attention dimensions.