Qwen 3.8 27B
27.8B parameters · 256k context · apache-2.0 · released 2026-08-05
chatcodingagenticreasoningvision
In short
Qwen 3.8 27B is an open model from Alibaba Qwen with 27.8B parameters. At UD-Q4_K_M, Qwen 3.8 27B needs about 17 GB of memory at 8k context and 17 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Canada that runs Qwen 3.8 27B fully in memory at 8k context is the AMD Radeon RX 7900 XT, $1,437 at Amazon, at about 24 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Canada today
AMD Radeon RX 7900 XT, new at Amazon
Runs Qwen 3.8 27B at Q4_K_M fully in memory at 8k context, about 24 tok/sest.
$1,437
In stock, checked
What to run it on in Canada
Fully in memory at 8k context, priced at retailers today.
Cheapest
AMD Radeon RX 7900 XT24tok/sest.Q4_K_M
$1,437
Best value
AMD Radeon RX 7900 XT24tok/sest.Q4_K_M
$1,437
Fastest
NVIDIA GeForce RTX 509037tok/sest.Q8_0
$12,300
Mac
Mac Studio M3 Ultra 512GB18tok/sest.Q8_0
$28,000
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
| Hardware | Quant | Fits | Decode | Price | tok/s per 1,000 |
|---|---|---|---|---|---|
| AMD Radeon RX 7900 XT | Q4_K_M | fits | 24 tok/s | $1,437 | 16.9 |
| AMD Radeon RX 7900 XTX | UD-Q6_K | fits | 23 tok/s | $2,041 | 11.4 |
| Intel Arc Pro B60 | UD-Q6_K | fits | 10 tok/s | $2,079 | 4.9 |
| NVIDIA GeForce RTX 3090 Ti | UD-Q6_K | fits | 28 tok/s | $2,500 | 11.0 |
| NVIDIA RTX PRO 4000 Blackwell | UD-Q6_K | fits | 18 tok/s | $2,810 | 6.5 |
| AMD Radeon AI PRO R9700 | Q8_0 | fits | 12 tok/s | $2,869 | 4.1 |
| NVIDIA GeForce RTX 3090 | UD-Q6_K | fits | 26 tok/s | $3,300 | 7.8 |
| Intel Arc Pro B70 | Q8_0 | fits | 10 tok/s | $4,088 | 2.5 |
| AMD Radeon PRO W7900 | Q8_0 | fits | 16 tok/s | $4,900 | 3.3 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | Q8_0 | fits | 5 tok/s | $5,289 | 0.9 |
| NVIDIA RTX PRO 4500 Blackwell | Q8_0 | fits | 19 tok/s | $6,599 | 2.8 |
| ASUS Ascent GX10 128GB | Q8_0 | fits | 6 tok/s | $8,500 | 0.7 |
| NVIDIA GeForce RTX 4090 | UD-Q6_K | fits | 28 tok/s | $9,160 | 3.0 |
| NVIDIA DGX Spark 128GB | Q8_0 | fits | 6 tok/s | $11,150 | 0.5 |
| NVIDIA RTX A6000 | Q8_0 | fits | 16 tok/s | $11,478 | 1.4 |
| NVIDIA GeForce RTX 5090 | Q8_0 | fits | 37 tok/s | $12,300 | 3.0 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | Q8_0 | fits | 28 tok/s | $13,437 | 2.1 |
| NVIDIA RTX 6000 Ada Generation | Q8_0 | fits | 20 tok/s | $15,136 | 1.3 |
| NVIDIA RTX PRO 5000 Blackwell 72GB | Q8_0 | fits | 28 tok/s | $20,650 | 1.4 |
| Mac Studio M3 Ultra 512GB | Q8_0 | fits | 18 tok/s | $28,000 | 0.6 |
| Mac Studio M4 Max 128GB | Q8_0 | fits | 12 tok/s | – | – |
| Mac mini M4 Pro 64GB | Q8_0 | fits | 6 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 128GB | Q8_0 | fits | 5 tok/s | – | – |
| Mac Studio M3 Ultra 256GB | Q8_0 | fits | 18 tok/s | – | – |
| Mac mini M4 Pro 48GB | Q8_0 | fits | 6 tok/s | – | – |
| Mac Studio M4 Max 64GB | Q8_0 | fits | 12 tok/s | – | – |
| Mac Studio M3 Ultra 96GB | Q8_0 | fits | 18 tok/s | – | – |
| NVIDIA RTX PRO 6000 Blackwell | Q8_0 | fits | 37 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | Q8_0 | fits | 5 tok/s | – | – |
| Mac mini M4 32GB | Q5_K_M | fits | 4 tok/s | – | – |
| NVIDIA Tesla P40 | UD-Q6_K | fits | 10 tok/s | – | – |
| NVIDIA RTX PRO 4000 Blackwell SFF Edition | UD-Q6_K | fits | 12 tok/s | – | – |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | Q8_0 | fits | 5 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | Q8_0 | fits | 6 tok/s | – | – |
| Dell Pro Max with GB10 128GB | Q8_0 | fits | 6 tok/s | – | – |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | Q8_0 | fits | 5 tok/s | – | – |
| NVIDIA GeForce RTX 3060 12GB | UD-Q4_K_M | offload | 6 tok/s | $563 | 11.2 |
| NVIDIA GeForce RTX 5050 | UD-Q4_K_M | offload | 5 tok/s | $570 | 7.9 |
| NVIDIA GeForce RTX 5060 Ti 8GB | UD-Q4_K_M | offload | 5 tok/s | $590 | 8.0 |
| NVIDIA GeForce RTX 5060 | UD-Q4_K_M | offload | 5 tok/s | $608 | 7.7 |
| NVIDIA GeForce RTX 4060 | UD-Q4_K_M | offload | 4 tok/s | $675 | 6.5 |
| Intel Arc B570 | UD-Q4_K_M | offload | 5 tok/s | $801 | 6.2 |
| NVIDIA GeForce RTX 3080 10GB | UD-Q4_K_M | offload | 6 tok/s | $860 | 7.0 |
| NVIDIA GeForce RTX 4060 Ti 8GB | UD-Q4_K_M | offload | 4 tok/s | $864 | 5.1 |
| AMD Radeon RX 9060 XT 16GB | UD-Q4_K_M | offload | 8 tok/s | $870 | 9.5 |
| NVIDIA GeForce RTX 5060 Ti 16GB | UD-Q4_K_M | offload | 12 tok/s | $1,130 | 10.6 |
| NVIDIA RTX PRO 2000 Blackwell | UD-Q4_K_M | offload | 9 tok/s | $1,149 | 7.6 |
| AMD Radeon RX 9070 | UD-Q4_K_M | offload | 13 tok/s | $1,200 | 10.9 |
| NVIDIA GeForce RTX 5070 | UD-Q4_K_M | offload | 8 tok/s | $1,206 | 6.2 |
| AMD Radeon RX 9070 XT | UD-Q4_K_M | offload | 13 tok/s | $1,285 | 10.2 |
| NVIDIA GeForce RTX 4070 | UD-Q4_K_M | offload | 7 tok/s | $1,300 | 5.4 |
| AMD Radeon RX 7800 XT | UD-Q4_K_M | offload | 13 tok/s | $1,422 | 9.1 |
| AMD Radeon RX 7600 XT | UD-Q4_K_M | offload | 8 tok/s | $1,445 | 5.3 |
| NVIDIA GeForce RTX 5070 Ti | UD-Q4_K_M | offload | 18 tok/s | $1,890 | 9.7 |
| NVIDIA GeForce RTX 4070 Super | UD-Q4_K_M | offload | 7 tok/s | $2,096 | 3.3 |
| NVIDIA GeForce RTX 4080 Super | UD-Q4_K_M | offload | 16 tok/s | $2,500 | 6.6 |
| NVIDIA GeForce RTX 5080 | UD-Q4_K_M | offload | 19 tok/s | $2,999 | 6.3 |
| NVIDIA GeForce RTX 4060 Ti 16GB | UD-Q4_K_M | offload | 9 tok/s | – | – |
| NVIDIA GeForce RTX 4070 Ti Super | UD-Q4_K_M | offload | 16 tok/s | – | – |
| Intel Arc B580 | UD-Q4_K_M | offload | 6 tok/s | – | – |
| Intel Arc A770 16GB | UD-Q4_K_M | offload | 11 tok/s | – | – |
| Intel Arc Pro B50 | UD-Q4_K_M | offload | 6 tok/s | – | – |
1 other card or machine we price cannot hold it at this context.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| UD-Q4_K_Mgguf | 15.3 GB | 16.7 GB | 18.4 GB | 20.5 GB | 24.9 GB |
| mlx-4bitmlx | 15.0 GB | 16.3 GB | 18.0 GB | 20.2 GB | 24.5 GB |
| Q4_K_Mgguf | 16.2 GB | 17.6 GB | 19.3 GB | 21.5 GB | 25.8 GB |
| UD-Q5_K_Mgguf | 18.4 GB | 19.8 GB | 21.4 GB | 23.6 GB | 28.0 GB |
| Q5_K_Mgguf | 19.5 GB | 20.9 GB | 22.5 GB | 24.7 GB | 29.1 GB |
| UD-Q6_Kgguf | 20.5 GB | 21.9 GB | 23.5 GB | 25.7 GB | 30.1 GB |
| Q6_Kgguf | 22.2 GB | 23.6 GB | 25.3 GB | 27.4 GB | 31.8 GB |
| Q8_0gguf | 27.1 GB | 28.4 GB | 30.1 GB | 32.3 GB | 36.6 GB |
| mlx-8bitmlx | 27.5 GB | 28.9 GB | 30.5 GB | 32.7 GB | 37.1 GB |
Run it
Copy a command for the runtime you use.
- UD-Q4_K_M
- Ollama
ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_M - LM Studio
lms get unsloth/Qwen3.8-27B-GGUF@ud-q4_k_m - llama.cpp
llama-server -hf unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_M
- Ollama
- mlx-4bit
- LM Studio
lms get mlx-community/Qwen3.8-27B-4bit - MLX
mlx_lm.server --model mlx-community/Qwen3.8-27B-4bit
- LM Studio
- Q4_K_M
- Ollama
ollama run hf.co/bartowski/Qwen3.8-27B-GGUF:Q4_K_M - LM Studio
lms get bartowski/Qwen3.8-27B-GGUF@q4_k_m - llama.cpp
llama-server -hf bartowski/Qwen3.8-27B-GGUF:Q4_K_M
- Ollama
- UD-Q5_K_M
- Ollama
ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_M - LM Studio
lms get unsloth/Qwen3.8-27B-GGUF@ud-q5_k_m - llama.cpp
llama-server -hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/bartowski/Qwen3.8-27B-GGUF:Q5_K_M - LM Studio
lms get bartowski/Qwen3.8-27B-GGUF@q5_k_m - llama.cpp
llama-server -hf bartowski/Qwen3.8-27B-GGUF:Q5_K_M
- Ollama
- UD-Q6_K
- Ollama
ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q6_K - LM Studio
lms get unsloth/Qwen3.8-27B-GGUF@ud-q6_k - llama.cpp
llama-server -hf unsloth/Qwen3.8-27B-GGUF:UD-Q6_K
- Ollama
- Q6_K
- Ollama
ollama run hf.co/bartowski/Qwen3.8-27B-GGUF:Q6_K - LM Studio
lms get bartowski/Qwen3.8-27B-GGUF@q6_k - llama.cpp
llama-server -hf bartowski/Qwen3.8-27B-GGUF:Q6_K
- Ollama
- Q8_0
- Ollama
ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:Q8_0 - LM Studio
lms get unsloth/Qwen3.8-27B-GGUF@q8_0 - llama.cpp
llama-server -hf unsloth/Qwen3.8-27B-GGUF:Q8_0
- Ollama
- mlx-8bit
- LM Studio
lms get mlx-community/Qwen3.8-27B-8bit - MLX
mlx_lm.server --model mlx-community/Qwen3.8-27B-8bit
- LM Studio
Questions
- How much VRAM does Qwen 3.8 27B need?
- At UD-Q4_K_M, Qwen 3.8 27B needs about 17 GB of memory at 8k context and 17 GB at 8k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running Qwen 3.8 27B locally?
- The cheapest hardware in Canada that runs Qwen 3.8 27B fully in memory at 8k context is the AMD Radeon RX 7900 XT, $1,437 at Amazon, at about 24 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 37 tok/s.
- What is the cheapest way to run Qwen 3.8 27B in Canada today?
- The AMD Radeon RX 7900 XT, $1,437 new at Amazon, in stock: it runs Qwen 3.8 27B at Q4_K_M fully in memory at 8k context, at about 24 tok/s (estimated).
- Can I run Qwen 3.8 27B on a 16 GB GPU?
- Only partly: at 8k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 8 tok/s on the AMD Radeon RX 9060 XT 16GB (estimated).
- Can I run Qwen 3.8 27B on a 24 GB GPU?
- Yes: at UD-Q6_K it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 28 tok/s (estimated).
- How do I run Qwen 3.8 27B locally?
- With Ollama: ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_M (the UD-Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is Qwen 3.8 27B released under?
- apache-2.0, which allows commercial use.