Can an RTX 4090 run Qwen2.5-3B-Instruct?
Yes, with room to spare Qwen2.5-3B-Instruct at Q4_K_M needs 2.37 GiB–2.80 GiB at 8,192 tokens of context. The RTX 4090 has about 22 GiB usable.
File: qwen2.5-3b-instruct-q4_k_m.gguf (2.1 GB).
These are estimates from the model's config and file sizes, not measurements. How we calculate
How much room is left
- It still fits at the model's full 32,768-token window.
- A larger file also fits: BF16 safetensors needs about 8.5 GiB (Runs comfortably).
Other files on this GPU
| Quant | File size | Engine | Total | Fit |
|---|---|---|---|---|
| BF16 safetensors | 6.2 GB | vllm | 6.7 GiB–8.5 GiB | Runs comfortably |
| GGUF Q8_0 | 3.6 GB | llama.cpp | 3.8 GiB–4.2 GiB | Runs comfortably |
| GGUF Q6_K (Qwen) | 2.8 GB | llama.cpp | 3.0 GiB–3.5 GiB | Runs comfortably |
| GGUF Q5_K_M | 2.4 GB | llama.cpp | 2.7 GiB–3.1 GiB | Runs comfortably |
| GGUF Q4_K_M This page | 2.1 GB | llama.cpp | 2.4 GiB–2.8 GiB | Runs comfortably |
Same context (8,192 tokens), one chat at a time, each file with its usual engine.
Settings used
- ModelQwen2.5-3B-Instruct
- HardwareGeForce RTX 4090 24GB (desktop)
- QuantizationGGUF Q4_K_M
- Context length (cached tokens)8,192
- Engine
llama.cpp - Concurrent sequences1
- KV cache typefp16
Technical identifiers and share data
- Model
qwen2.5-3b-instruct - Hardware
nvidia-geforce-rtx-4090-24gb-desktop - Quantization
gguf-q4_k_m - Share fragment for this identity
v2.eyJzY2hlbWFWZXJzaW9uIjoyLCJjYWxjdWxhdG9yVmVyc2lvbiI6IjAuMy4wIiwiZGF0YXNldFZlcnNpb24iOiIyMDI2LTEwLTAyLjEiLCJjb25maWciOnsibW9kZWxJZCI6InF3ZW4yLjUtM2ItaW5zdHJ1Y3QiLCJoYXJkd2FyZUlkIjoibnZpZGlhLWdlZm9yY2UtcnR4LTQwOTAtMjRnYi1kZXNrdG9wIiwiZGV2aWNlQ291bnQiOjEsInF1YW50aXphdGlvbklkIjoiZ2d1Zi1xNF9rX20iLCJjb250ZXh0VG9rZW5zIjo4MTkyLCJjb25jdXJyZW50U2VxdWVuY2VzIjoxLCJlbmdpbmUiOiJsbGFtYS5jcHAiLCJrdlR5cGUiOiJmcDE2In19
How this number is calculated
Total = weight file + KV cache + runtime buffers. The range spans low to high runtime overhead for the engine shown.
- Weights (file)
- 1.96 GiB (2,104,932,768 bytes)
- KV cache
- 0.28 GiB (301,989,888 bytes)
- Runtime buffers
- 0.13 GiB–0.56 GiB
- Total
- 2.37 GiB–2.80 GiB
- Usable memory
- 22.00 GiB
- OS / display reserve
- 2.00 GiB
- Left over
- 19.20 GiB–19.63 GiB
2.80 GiB high estimate vs 22.00 GiB net
Enough memory does not mean this engine, quant, and OS will run. Support does not mean it will be fast.
- Requested context is within the recorded native window of 32768 tokens.
- Full-resident weight estimates use total parameters, including inactive MoE experts.
- Weight bytes come from the selected weight files only, not from every file in the repository.
- Download file size is not peak GPU memory. Runtime layout, allocator padding, and KV are extra.
- Counted files: qwen2.5-3b-instruct-q4_k_m.gguf.
- Context budget is the number of cached tokens per sequence (prompt plus reserved generation).
- Concurrent sequences share one model replica; weights are not multiplied by sequence count.
- KV dtype is independent of weight quantization unless you change it.
Related pages
Sources
- Qwen2.5-3B-Instruct model card
- config.json — revision aa8e72537993ba99e69dfaafa59ed015b17504d1
- safetensors index — metadata.total_size=6171877376
- Artifact repo Qwen/Qwen2.5-3B-Instruct-GGUF
- NVIDIA GeForce RTX 4090 product page — Standard Memory Config 24 GB GDDR6X
Calculator
This combo page keeps the route model and device. Customize to change them on the main calculator; the share then keeps that identity.
Loading catalog snapshot…
Pick a model to see how much memory it needs.