Short answer (November 2026): DeepSeek-R1 32B, the Qwen 2.5-based distill that Ollama ships as deepseek-r1:32b, fits on the RTX 3090 at Q4_K_M (19.85 GB). Expect about 28-35 tok/s. We found no trustworthy published run of this exact model on a 3090, but it has the same layer layout as Qwen 2.5 32B, which Kunal Ganglani measured at 28 tok/s, and Qwen 3 32B, which Hardware Corner measured at 35.1 tok/s. The catch is context: R1's long reasoning traces fill the cache quickly, and an FP16 cache tops out around 16K on this card.
How to run DeepSeek-R1 32B on NVIDIA GeForce RTX 3090
Exact commands, expected tok/s, VRAM math for this specific combination.
Check your exact config: Will DeepSeek-R1-Distill-Qwen 32B run on the RTX 3090? → Runs by file size, no cited speed on file yet. Each page swaps the card or the model and lists every source.

Which models fit on an RTX 3090?
DeepSeek-R1 32B's Q4_K_M file is 19.9 GB (the file size this article cites); on the RTX 3090, the weights and a usable context window both fit. SpecPicks tracks 5 community runs of that size on this card, median 30.3 tok/s. RTX 3090 carries 24 GB of VRAM. The weights column is the range of real Q4_K_M files on Hugging Face for the models in each size class (about 0.6 GB per billion parameters), and the runtime plus a usable context window wants about 2 GB on top; every tokens-per-second figure is a median over community-reported Q4 runs SpecPicks tracks for this card, with the run count and the source beside it.
Showing the model sizes this article covers and the band either side. Every size from 3B to 70B+, for every card SpecPicks tracks, is in the local-LLM GPU table.
| Model size | Weights at Q4 | Fits in 24 GB? | Measured | Left for context | Source |
|---|---|---|---|---|---|
| 20-27B (Gemma 3 27B, Mistral Small)A 27B Q4_K_M file (about 16.7 GB) is more than a 16 GB card holds, so 16 GB means a Q3 quant or partial CPU offload; a 24B loads with a short context. 20 GB holds the class with a usable context window, 24 GB with a long one. | 14.3–16.7 GB | Fits: weights and a usable context window | Nothing on file → | ~7 GBfor runtime and KV cache | — |
| 30-35B (DeepSeek-R1 32B, Qwen 3 32B, QwQ 32B)The step change. A 24 GB card holds this entirely in VRAM; below that it is CPU offload. | about 19.9 GBDeepSeek-R1 32B Q4_K_M: 19.9 GB | Fits: weights and a usable context window | 30.3 tok/s5 runs · 3 sources | ~4 GBfor runtime and KV cache | Hardware Corner |
| 70B+ (Llama 3.3 70B, Qwen 2.5 72B)One 48 GB card or two 24 GB cards at Q4. A 32 GB card runs Q4 only with layers in system RAM; a 3-bit IQ3_XXS file (about 27.5 GB) loads on it. | about 42.5 GB | No: spills to system RAM — system-RAM bandwidth sets the speed | — | none | — |
Every RTX 3090 benchmark run, with its source → GPU picks for local LLM — the same table across every card we track How we source these numbers
What changed — November 2026
- Benchmark rows added from the two same-architecture models with published 3090 runs: Qwen 2.5 32B (28 tok/s, Kunal Ganglani) and Qwen 3 32B (35.1 tok/s at 4K, Hardware Corner).
- KV-cache math corrected: the distill uses 8 KV heads over 64 layers, so 4K costs 1.1 GB, not the April figure; 16K costs 4.3 GB.
- Clarified which model this is:
deepseek-r1:32bis DeepSeek-R1-Distill-Qwen-32B, a dense model, not the 671B DeepSeek-R1. - Build steps updated: llama.cpp now builds with CMake and can pull GGUFs directly with
-hf. - Prices refreshed: the cheapest new RTX 3090 on Amazon was $1,900 the week of November 9, 2026.
The original April 2026 version of this guide was generated from spec-sheet estimates. This revision replaces those estimates with published measurements where they exist, and labels anything we calculated ourselves.
Does it fit?
The RTX 3090 has 24 GB of GDDR6X at 936 GB/s. DeepSeek-R1-Distill-Qwen-32B at Q4_K_M is a 19.85 GB file (Ollama's deepseek-r1:32b tag is 20 GB).
Verdict: ✅ Fits, with limited context. The bandwidth ceiling for this file is ~47 tok/s, and same-shape models measure 28-35 tok/s. Reasoning models emit long <think> traces, often several thousand tokens, so set the context to at least 8K-16K and quantize the KV cache to q8_0 if you go further.
Install Ollama (the easy path)
Ollama detects NVIDIA GPUs through CUDA automatically; no manual configuration is needed.
Ollama's default context is small. Raise it with /set parameter num_ctx 16384 inside ollama run, or PARAMETER num_ctx in a Modelfile, and check ollama ps still shows 100% GPU.
Install llama.cpp (more control)
llama.cpp gives you flag-level control over quantization, context length, and layer offload. The project dropped its Makefile in 2025, so build with CMake (see the build docs):
-ngl 99 puts every layer on the GPU: the Q4_K_M file (19.9 GB) plus a 4K KV cache fits in 24 GB with room to spare. The same flags work with llama-server if you want an OpenAI-compatible endpoint.
Expected performance
- No direct measurement found. The R1 32B distill is a fine-tune of Qwen 2.5 32B (64 layers, 8 KV heads), so speed per token matches that model.
- Same-architecture runs on this card: Qwen 2.5 32B Q4_K_M at 28 tok/s (Kunal Ganglani); Qwen 3 32B Q4_K at 35.1 tok/s at 4K and 30.3 at 16K (Hardware Corner).
Speed per token is not the whole story with R1: a 3,000-token reasoning trace at 30 tok/s is 100 seconds before the final answer starts. If you want the answer sooner, the 14B distill (deepseek-r1:14b, 9.0 GB) roughly doubles speed.
Common issues
"out of memory" on the first prompt: reduce context length (-c 2048) or quantization (q4_K_S instead of q4_K_M).
Slow first token but fast generation: that's prompt processing ("prefill"). Normal — blame the KV cache building. Subsequent messages in the same session will be snappy.
Frequent swapping / system hangs: VRAM is full AND system RAM is full. Close Chrome. Add more DDR5.
Related
- Full NVIDIA GeForce RTX 3090 benchmarks →
- Best GPU for DeepSeek-R1 32B →
- AI Rigs buyer's guide →
- DeepSeek-R1 32B on the RTX 5080 →
- Qwen 3 32B on the RTX 3090 →
NVIDIA GeForce RTX 3090 specs: 24 GB GDDR6X, 936 GB/s, 350 W TDP, 2020 launch, $1,499 launch MSRP. Prices and benchmark rows last checked November 9, 2026.
Does it fit? Full quantization matrix
File sizes are the GGUF builds in bartowski/DeepSeek-R1-Distill-Qwen-32B-GGUF on Hugging Face. The KV column is the FP16 cache for a 4K-token context, computed from the model's config (64 layers × 8 KV heads × 128 dims × 2 bytes × K and V). "Fits" leaves 1.5 GB for the CUDA context and compute buffers.
| Quant | File size | + KV @ 4K ctx | Total | Fits in 24 GB? | Quality loss |
|---|---|---|---|---|---|
| Q2_K | 12.3 GB | 1.1 GB | 13.4 GB | ✅ | Large; only if nothing else fits |
| Q3_K_M | 15.9 GB | 1.1 GB | 17.0 GB | ✅ | Noticeable |
| Q4_K_M | 19.9 GB | 1.1 GB | 20.9 GB | ✅ | Small; the community default |
| Q5_K_M | 23.3 GB | 1.1 GB | 24.3 GB | ❌ | Very small |
| Q6_K | 26.9 GB | 1.1 GB | 28.0 GB | ❌ | Near-lossless |
| Q8_0 | 34.8 GB | 1.1 GB | 35.9 GB | ❌ | Near-lossless |
| BF16 | 65.5 GB | 1.1 GB | 66.6 GB | ❌ | Reference |
Quantizing the KV cache to q8_0 (-ctk q8_0 -ctv q8_0 in llama.cpp, OLLAMA_KV_CACHE_TYPE=q8_0 in Ollama) halves the KV column. Budget 5-10% headroom on top of the table if the card also drives your display.
Where these numbers come from
Every tok/s figure on this page links to the published run it came from: independent reviewers such as Hardware Corner, community datasets such as LocalScore and TechFuelHQ's Hugging Face dataset, and hosting providers that publish their own runs. We re-read each source on November 9, 2026. Where no trustworthy run exists for this exact model and card, we say so and show the closest measured model instead. Numbers we calculated ourselves (KV-cache sizes, bandwidth ceilings, layer-offload counts) are labelled as calculations and show their inputs: the model's config.json, the GGUF file sizes on Hugging Face, and the card's rated memory bandwidth.
SpecPicks does not run paid hardware review cycles; we aggregate. If you have a run that beats or contradicts a number here, send it with your exact flags and we will add it.
Measured tok/s on this GPU
Published DeepSeek-R1 32B-relevant runs for the RTX 3090, each linked to its source:
| Model | Quant | Runtime | Context | Gen tok/s | Prefill tok/s | Source |
|---|---|---|---|---|---|---|
| Qwen 2.5 32B (the distill's base model) | Q4_K_M | llama.cpp | — | 28 | — | Kunal Ganglani |
| Qwen 3 32B (same layer layout) | Q4_K | llama.cpp CUDA, -fa 1 | 4K | 35.1 | 1,087.9 | Hardware Corner |
| Qwen 3 32B (same layer layout) | Q4_K | llama.cpp CUDA, -fa 1 | 16K | 30.3 | 767.8 | Hardware Corner |
We print proxies rather than a guess: no source we trust has published DeepSeek-R1-Distill-Qwen-32B tok/s on a single RTX 3090.
For the full tok/s matrix on this card across every model we have logged, see the NVIDIA GeForce RTX 3090 benchmark page.
Context length and VRAM — the hidden cost
KV cache grows linearly with context. DeepSeek-R1 32B uses grouped-query attention (8 KV heads), so each token costs 256 KiB of FP16 cache. The April version of this table overstated it by roughly 4×. Here is the overhead on top of 19.9 GB of Q4_K_M weights:
| Context | KV cache (FP16) | KV cache (q8_0) | Total VRAM (FP16 KV) | Fits in 24 GB? |
|---|---|---|---|---|
| 2K tokens | ~0.54 GB | ~0.27 GB | ~20.4 GB | ✅ |
| 4K tokens | ~1.1 GB | ~0.54 GB | ~20.9 GB | ✅ |
| 8K tokens | ~2.1 GB | ~1.1 GB | ~22.0 GB | ✅ |
| 32K tokens | ~8.6 GB | ~4.3 GB | ~28.4 GB | ❌ |
| 128K tokens | ~34.4 GB | ~17.2 GB | ~54.2 GB | ❌ |
For long contexts, KV-cache quantization (-ctk q8_0 -ctv q8_0, which needs flash attention, -fa on) is the single biggest VRAM saver, with very little quality cost.
Which runtime wins on this hardware?
Three mainstream runtimes target NVIDIA GeForce RTX 3090; the right one depends on your workload:
- Ollama — easiest. Auto-detects CUDA, handles model downloads, exposes an OpenAI-compatible API out of the box. Wraps llama.cpp; you give up fine-grained control for zero setup.
- llama.cpp — direct flag-level control over quant, context, KV-cache precision, batch size, split layers across GPUs. Where the LocalLLaMA community benchmarks its numbers (see the Apple-Silicon megathread #4167 for reference tok/s across M-series chips).
- vLLM — built for production serving. Tensor parallelism, PagedAttention, continuous batching. Linux + NVIDIA CUDA primary target. If you're not serving multiple concurrent users, the overhead isn't worth it.
For head-to-head numbers and install commands across all three, see our Ollama vs llama.cpp vs vLLM guide.
Troubleshooting — three failure modes and fixes
1. First token takes 5-30 seconds, then generation is fast. That's normal prefill: the model is processing your prompt before it can start generating. On a long prompt (4K+ tokens) prefill dominates the first-token latency. If it's unexpectedly slow, check that you actually offloaded layers to the GPU — nvidia-smi or powermetrics (macOS) should show near-100% utilisation during prefill. If utilisation is flat, your inference is running on CPU.
2. "Out of memory" halfway through a long chat. The KV cache grew past what the card can hold. Drop to a smaller quant (q4_K_M → q3_K_M), cut -c context length, or enable KV-cache quantization (-ctk q8_0 -ctv q8_0 in llama.cpp). On Ollama set num_ctx smaller in your Modelfile.
3. Tok/s is ~30% of what LocalLLaMA threads report. Three usual suspects: (a) power/thermal throttling — check sustained clocks during a long prompt; (b) PCIe x8 or x4 link when you expected x16 — nvidia-smi --query-gpu=pcie.link.width.current --format=csv; (c) running the wrong binary, e.g. a non-CUDA llama.cpp build on an NVIDIA card. Rebuild with cmake -B build -DGGML_CUDA=ON and confirm.
Newer models worth trying on the RTX 3090 (November 2026)
The R1 distills were built on Qwen 2.5 in January 2025. Newer reasoning-capable models run much faster on this card:
| Model | Quant | Gen tok/s | Long-context gen tok/s | Source |
|---|---|---|---|---|
| Qwen3 30B A3B (MoE) | Q4_K | 153.6 | 87.2 @ 32K | Hardware Corner |
| gpt-oss 20B (MoE) | MXFP4 | 147.5 | 62.2 @ 128K | Hardware Corner |
| Qwen3.5 35B (MoE) | MXFP4 | 111.2 | 79.4 @ 128K | Hardware Corner |
| Qwen3.5 27B (dense) | Q4_K | 33.5 | 28.8 @ 64K | Hardware Corner |
All four rows are llama.cpp with CUDA and flash attention, measured by Hardware Corner at a 4K context with long-context figures from the same run. Mixture-of-experts models read only their active experts per token (about 3B parameters for Qwen3 30B A3B), so they decode far faster than a dense model of the same file size.
Sources
- Hardware Corner, RTX 3090 local LLM benchmarks (updated March 2026)
- Kunal Ganglani, local LLM benchmarks
- llama.cpp build docs (CMake)
- r/LocalLLaMA community benchmark threads
- llama.cpp GitHub Discussions
Related guides
- NVIDIA GeForce RTX 3090 full benchmark page
- Best GPU for DeepSeek-R1 32B
- Ollama vs llama.cpp vs vLLM
- What VRAM do you need for local LLMs?
Products mentioned
Small-model (7–9B) reference throughput
These figures are for 7–9B models, not the 30–35B models this article covers. The table holds model size fixed so the cards can be compared with each other; for the size in the title, use the article's own figures.
Median generation throughput at 7–9B models (Llama 3.1 8B, Qwen 3 8B), Q4 quantization, from community-reported runs SpecPicks tracks. Each row pools runs from different sources, runtimes and models in that class, so the rows are not a matched head-to-head; where the article compares cards on the same rig, its own figures are the like-for-like result. Street price is the second-lowest listing priced within the last 24 hours at 0.5–2× launch MSRP, so no single listing sets it, and a street figure well above MSRP says so in its cell; where too few listings pass that check the cell shows a dash and the launch MSRP, which is not comparable with the street figures. Rows marked for comparison are not the cards this article is about — they are included so the throughput column has something to be read against.
| GPU | VRAM | Llama-3-8B class, Q4 | Street price | Sources |
|---|---|---|---|---|
| NVIDIA GeForce RTX 3090 | 24 GB | 103.7 tok/s8 runs · 6 sources | $2,250street, all listings · 1.5× the $1,499 launch MSRP | SpecPicks median of 8 runs; sources: GitHub XiongjieDai/GPU-Benchmarks…, Hardware Corner, kunalganglani.com LLM Benchmarks, llama.cpp GitHub CUDA scoreboard +2 more |
| NVIDIA GeForce RTX 4090for comparison | 24 GB | 130.8 tok/s10 runs · 7 sources | —too few current listings for a street figure · launch MSRP was $1,599 | SpecPicks median of 10 runs; sources: GPU-Benchmarks-on-LLM-Inference…, Hardware Corner, llama.cpp GitHub (CUDA performanc…, Awesome Agents LLM Leaderboard +3 more |
| NVIDIA GeForce RTX 3090 Tifor comparison | 24 GB | 110 tok/s7 runs · 5 sources | —too few current listings for a street figure · launch MSRP was $1,999 | SpecPicks median of 7 runs; sources: Hardware Corner, llama.cpp GitHub Discussion #15013, kunalganglani.com community…, LocalScore (Mozilla Builders) +1 more |
Products mentioned in this article
Amazon & eBay listings, plus full specs and alternatives on each product page.
As an Amazon Associate, SpecPicks earns from qualifying purchases; we also earn on qualifying eBay purchases via the eBay Partner Network. Prices shown were last tracked at crawl time and may vary — check the listing for the current price.
Watch a review
Asus ROG Strix Gaming RTX 3090 Review, Thermals, Overclocking & Gaming Benchmarks — Hardware Unboxed on YouTube
Frequently asked questions
How fast does DeepSeek-R1 32B run on the NVIDIA GeForce RTX 3090?
Can I run DeepSeek-R1 32B on the NVIDIA GeForce RTX 3090 without offloading to the CPU?
What quantization should I use for DeepSeek-R1 32B on the RTX 3090?
How much VRAM does context length add for DeepSeek-R1 32B?
Is the RTX 3090 limited by memory bandwidth or compute for DeepSeek-R1 32B?
Does a second GPU help with DeepSeek-R1 32B?
Related reading
- Vision LLMs Driving Period-Correct WinXP and Win98 Installers: Field Report from a 4-PC Retro Fleet
- Complete Ollama Installation Guide for 2026: Hardware & Software Setup
- Ollama vs llama.cpp on a 12GB GPU: Which Is Faster for Single-User Chat?
- AI-Driven Win98 LAN Party Server Config Generation
- Local AI on Raspberry Pi 5: Sourced Benchmarks for Llama, Phi, and Gemma
- RTX PRO 6000 vs RTX 5090 for Local 70B LLMs: 96GB vs 32GB
- gpt-oss on a 12GB GPU: 2026 Community Consensus (RTX 3060)