Skip to main content

How to run Qwen 3 14B on NVIDIA GeForce RTX 4090

Exact commands, expected tok/s, VRAM math for this specific combination.

NVIDIA GeForce RTX 4090 has 24 GB of GDDR6X. Qwen 3 14B at q4KM wants ~10 GB of it for weights alone. Verdict: ✅ Fits natively. Expect ~60-80 tok

Check your exact config: Will Qwen3 14B run on the RTX 4090? → Runs, 82.8 tok/s from 1 cited run. Each page swaps the card or the model and lists every source.

How to run Qwen 3 14B on NVIDIA GeForce RTX 4090

Which models fit on an RTX 4090?

Dense 12-14B models need 7.3–9.1 GB for their Q4 weights; on the RTX 4090, the weights and a usable context window both fit. SpecPicks tracks 7 community runs of that size on this card, median 68.6 tok/s. RTX 4090 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
7-9B (Llama 3.1 8B, Qwen 3 8B)The mainstream local model. An 8 GB card fits it; a 12 GB card fits it with real context. 4.4–5.8 GB Fitsweights and a usable context window 129.2 tok/s8 runs · 7 sources ~18 GBfor runtime and KV cache Database Mart
12-14B (Qwen 3 14B, Phi-4)Where 8 GB stops being enough. 12 GB is the smallest card that holds it with a usable context window. 7.3–9.1 GB Fitsweights and a usable context window 68.6 tok/s7 runs · 4 sources ~14 GBfor runtime and KV cache Database Mart
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 Fitsweights and a usable context window Nothing on file → ~7 GBfor runtime and KV cache —

Every RTX 4090 benchmark run, with its source → GPU picks for local LLM — the same table across every card we track How we source these numbers

This tutorial walks you through running Qwen 3 14B on an NVIDIA GeForce RTX 4090. Exact commands, expected tokens-per-second, and the tradeoffs you should know before starting.

Does it fit?

NVIDIA GeForce RTX 4090 has 24 GB of GDDR6X. Qwen 3 14B at q4_K_M wants ~10 GB of it for weights alone.

Verdict: ✅ Fits natively. Expect ~60-80 tok/s of steady-state generation throughput after warm-up; first-token latency is a separate prefill cost.

Install Ollama (the easy path)

bash
# macOS/Linux
curl -fsSL https://ollama.com/install.sh | sh
ollama pull qwen3:14b
ollama run qwen3:14b

Ollama handles GPU detection automatically on NVIDIA (via CUDA), AMD (via ROCm on Linux), and Apple Silicon (via Metal). No manual configuration needed.

Install llama.cpp (more control)

llama.cpp gives you flag-level control over quantization, context length, and layer offload. Build from source:

bash
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
make GGML_CUDA=1 -j

# Download a quantized GGUF (community favorite: bartowski or TheBloke on HuggingFace)
./llama-cli -m ~/models/qwen-3-14b-q4_k_m.gguf \
 -n 512 -c 4096 \
 -ngl 999 \
 -p "Write a haiku about GPUs"

-ngl 999 offloads all layers to the GPU.

Expected performance

  • Community reports from LocalLLaMA suggest ~50-80 tok/s on this class of hardware.

For single-user chat these speeds feel instant. For RAG pipelines where the model re-reads long context, prefill throughput matters more than generation tok/s.

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.


NVIDIA GeForce RTX 4090 specs: 24GB memory, 450W TDP, 2022 launch. MSRP $1,599.

Does it fit? Full quantization matrix

Weight-only VRAM for Qwen 3 14B at every common quant, plus the KV-cache overhead for a 4K-token context. KV cache scales linearly with context — see the context-length table further down.

QuantWeights+ KV @ 4K ctxTotalFits on this GPU?Quality loss
q2_K_S4.2 GB1.1 GB5.3 GB✅Severe (15-25%)
q3_K_M6.3 GB1.1 GB7.4 GB✅Noticeable (5-8%)
q4_K_M8.4 GB1.1 GB9.5 GB✅Minimal (1-3%) — community default
q5_K_M9.8 GB1.1 GB10.9 GB✅<1%
q6_K11.2 GB1.1 GB12.3 GB✅Effectively lossless
q8_015.4 GB1.1 GB16.5 GB✅Inference-lossless
fp1628.0 GB1.1 GB29.1 GB❌Baseline (original precision)

Values are approximate — actual footprint depends on batch size, whether the KV cache is quantized (-ctk q8_0 -ctv q8_0 in llama.cpp halves it), and whether you reserve VRAM for a display. Rule of thumb: budget 5-10% headroom on top of the table.

How public benchmarks show and compared

Every tok/s, FPS, and synthetic score in this article is pulled live from the SpecPicks benchmark catalog (hardware_specs, ai_benchmarks, synthetic_benchmarks). We cite the source_name on each row — the vast majority are community-reported numbers from r/LocalLLaMA and llama.cpp GitHub Discussions, with synthetic scores from PassMark, Phoronix, and Tom's Hardware's GPU hierarchy.

Where DB rows exist for a specific model+quant+GPU combination, we quote the number exactly. Where they don't, we fall back to published spec-sheet values (VRAM capacity, TDP, memory bandwidth) plus the closest community-verified ballpark — clearly flagged as a ballpark, not a measurement. We prefer "we don't know" over a fabricated number.

SpecPicks does not run paid hardware review cycles; we aggregate. If you see a number you can improve on, pull-request the row.

Measured tok/s on this GPU

Live data from ai_benchmarks for NVIDIA GeForce RTX 4090, filtered to the Qwen 3 14B family where available:

_No Qwen 3 14B measurement on this exact card is in our ai_benchmarks catalog yet. Community reports on r/LocalLLaMA cluster around 50-80 tok/s at q4_K_M; we'll add a measured row when one lands._

For the full tok/s matrix on this card across every model we've logged, see the NVIDIA GeForce RTX 4090 benchmark page.

Context length and VRAM — the hidden cost

KV cache grows linearly with context. Here's the approximate overhead on top of 8.4 GB of q4_K_M weights for Qwen 3 14B:

ContextKV cacheTotal VRAM
2K tokens~0.6 GB~9.0 GB
4K tokens~1.1 GB~9.5 GB
8K tokens~2.2 GB~10.6 GB
32K tokens~9.0 GB~17.4 GB
128K tokens~35.8 GB~44.2 GB

For long-context workloads (≥ 32K tokens) on consumer hardware, use llama.cpp's KV-cache quantization — -ctk q8_0 -ctv q8_0 roughly halves cache footprint with sub-1% quality loss. This is the single biggest VRAM-saving flag for long context.

Perf-per-dollar / perf-per-watt

At MSRP of $1599.00 and a 450 W TDP, perf-per-dollar and perf-per-watt for Qwen 3 14B depend on the measured tok/s figure once one lands in our catalog. We'll publish these ratios when a 14B row exists for this card; we won't extrapolate from a different model size.

Use these numbers only when comparing like-for-like single-user inference. Batched serving (vLLM, TensorRT-LLM) changes the math — higher throughput per card, but it no longer maps to chat tok/s.

Which runtime wins on this hardware?

Three mainstream runtimes target NVIDIA GeForce RTX 4090; 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 GGML_CUDA=1 and confirm.

Sources

  1. r/LocalLLaMA (community tok/s threads)
  2. llama.cpp GitHub Discussions #4167 — Apple Silicon benchmark thread
  3. Tom's Hardware GPU Hierarchy

Products mentioned

Small-model (7–9B) reference throughput

These figures are for 7–9B models, not the 12–14B 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 row shows launch MSRP instead. 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.

GPUVRAM Llama-3-8B class, Q4Street price Sources
NVIDIA GeForce RTX 4090 24 GB 129.2 tok/s8 runs · 7 sources $1,599MSRP SpecPicks median of 8 runs; sources: GPU-Benchmarks-on-LLM-Inference…, Awesome Agents LLM Leaderboard, Database Mart, Hardware Corner +3 more
Radeon RX 7900 XTXfor comparison 24 GB 138.6 tok/s9 runs · 3 sources $999MSRP SpecPicks median of 9 runs; sources: GitHub / 1337hero, llama.cpp GitHub issue #20934, Markaicode / LocalScore
NVIDIA RTX A5000 24GBfor comparison 24 GB 133 tok/s4 runs · 3 sources $1,999MSRP SpecPicks median of 4 runs; sources: llama.cpp GitHub (CUDA scoreboard), knightli.com (llama.cpp CUDA…, MyAIHardware

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

NVIDIA GeForce RTX 4090 Founders Edition Review & Benchmarks: Gaming, Power, & Thermals — Gamers Nexus on YouTube

Frequently asked questions

What is the expected token generation speed for Qwen 3 14B on an NVIDIA GeForce RTX 4090?
Community benchmarks suggest a generation speed of approximately 50-80 tokens per second on the NVIDIA GeForce RTX 4090, depending on the runtime and configuration. This speed is sufficient for single-user chat applications and feels nearly instantaneous after the first token latency.
What are the common issues when running Qwen 3 14B on an NVIDIA GeForce RTX 4090?
Common issues include 'out of memory' errors, slow first-token latency due to prompt processing, and system hangs caused by VRAM and system RAM being fully utilized. Adjusting context length, quantization level, or enabling KV-cache quantization can help mitigate these problems.
How does context length affect VRAM usage for Qwen 3 14B on this GPU?
The KV cache grows linearly with context length, adding significant VRAM overhead. For example, a 4K-token context adds ~1.1 GB, while a 32K-token context adds ~9 GB. Using llama.cpp's KV-cache quantization can reduce this footprint by approximately 50% with minimal quality loss.
What are the advantages of using Ollama versus llama.cpp for this setup?
Ollama offers ease of use with automatic GPU detection and minimal setup, making it ideal for beginners. In contrast, llama.cpp provides fine-grained control over quantization, context length, and layer offloading, making it better suited for advanced users who need customization.
Can the NVIDIA GeForce RTX 4090 handle Qwen 3 14B at full precision (fp16)?
No, the NVIDIA GeForce RTX 4090 cannot handle Qwen 3 14B at fp16 precision due to its 24 GB VRAM limit. The model requires approximately 29.1 GB of VRAM at fp16, which exceeds the card's capacity. Lower quantization levels like q4_K_M are recommended.

— Mike Perry · Updated 2026-08-18

VIPERA NVIDIA GeForce RTX 4090…
VIPERA NVIDIA GeForce RTX 4090…
$4,700
View on Amazon →

Amazon Associate — prices tracked 2026-10-21, may vary.