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 the US that runs Qwen 3.8 27B fully in memory at 8k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 18 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in the US today

NVIDIA RTX PRO 4000 Blackwell, new at Amazon

Runs Qwen 3.8 27B at UD-Q6_K fully in memory at 8k context, about 18 tok/sest.

$339

In stock, checked

What to run it on in the US

Fully in memory at 8k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
NVIDIA RTX PRO 4000 BlackwellUD-Q6_Kfits18 tok/s$33954.3
NVIDIA Tesla P40UD-Q6_Kfits10 tok/s$44921.2
AMD Radeon RX 7900 XTQ4_K_Mfits24 tok/s$88027.6
Intel Arc Pro B60UD-Q6_Kfits10 tok/s$89911.2
Mac mini M4 32GBQ5_K_Mfits4 tok/s$1,1993.0
AMD Radeon RX 7900 XTXUD-Q6_Kfits23 tok/s$1,40016.6
AMD Radeon AI PRO R9700Q8_0fits12 tok/s$1,7006.9
Intel Arc Pro B70Q8_0fits10 tok/s$1,8005.7
NVIDIA GeForce RTX 3090UD-Q6_Kfits26 tok/s$1,97912.9
Mac mini M4 Pro 48GBQ8_0fits6 tok/s$2,0253.0
NVIDIA GeForce RTX 3090 TiUD-Q6_Kfits28 tok/s$2,03313.6
NVIDIA GeForce RTX 4090UD-Q6_Kfits28 tok/s$2,07313.3
Mac mini M4 Pro 64GBQ8_0fits6 tok/s$2,3992.5
NVIDIA RTX PRO 4000 Blackwell SFF EditionUD-Q6_Kfits12 tok/s$2,9804.0
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits5 tok/s$3,5001.3
Mac Studio M4 Max 64GBQ8_0fits12 tok/s$3,5003.4
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits5 tok/s$3,8001.2
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits5 tok/s$3,9591.2
NVIDIA RTX PRO 4500 BlackwellQ8_0fits19 tok/s$4,0004.7
AMD Radeon PRO W7900Q8_0fits16 tok/s$4,0004.0
Mac Studio M3 Ultra 96GBQ8_0fits18 tok/s$4,7583.8
Mac Studio M4 Max 128GBQ8_0fits12 tok/s$5,4002.2
NVIDIA RTX A6000Q8_0fits16 tok/s$5,9892.7
ASUS Ascent GX10 128GBQ8_0fits6 tok/s$6,1000.9
NVIDIA GeForce RTX 5090Q8_0fits37 tok/s$6,4955.8
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits28 tok/s$6,9994.0
NVIDIA DGX Spark 128GBQ8_0fits6 tok/s$7,8000.7
NVIDIA RTX 6000 Ada GenerationQ8_0fits20 tok/s$8,4952.4
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits28 tok/s$8,4993.3
Mac Studio M3 Ultra 256GBQ8_0fits18 tok/s$9,5001.9
NVIDIA RTX PRO 6000 BlackwellQ8_0fits37 tok/s$16,0002.3
Mac Studio M3 Ultra 512GBQ8_0fits18 tok/s$30,0000.6
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits5 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits5 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits6 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits6 tok/s––
Intel Arc B570UD-Q4_K_Moffload5 tok/s$30416.4
NVIDIA GeForce RTX 5050UD-Q4_K_Moffload5 tok/s$35912.5
NVIDIA GeForce RTX 3060 12GBUD-Q4_K_Moffload6 tok/s$38816.2
NVIDIA GeForce RTX 4060UD-Q4_K_Moffload4 tok/s$40011.0
Intel Arc B580UD-Q4_K_Moffload6 tok/s$42514.6
NVIDIA GeForce RTX 5060UD-Q4_K_Moffload5 tok/s$43510.8
NVIDIA GeForce RTX 3080 10GBUD-Q4_K_Moffload6 tok/s$50012.0
NVIDIA GeForce RTX 5060 Ti 8GBUD-Q4_K_Moffload5 tok/s$5119.2
NVIDIA GeForce RTX 4060 Ti 8GBUD-Q4_K_Moffload4 tok/s$5368.2
NVIDIA GeForce RTX 4070UD-Q4_K_Moffload7 tok/s$57012.3
Intel Arc Pro B50UD-Q4_K_Moffload6 tok/s$6009.8
NVIDIA GeForce RTX 5060 Ti 16GBUD-Q4_K_Moffload12 tok/s$61819.4
AMD Radeon RX 9060 XT 16GBUD-Q4_K_Moffload8 tok/s$72011.5
Intel Arc A770 16GBUD-Q4_K_Moffload11 tok/s$74515.3
AMD Radeon RX 7800 XTUD-Q4_K_Moffload13 tok/s$75717.0
NVIDIA RTX PRO 2000 BlackwellUD-Q4_K_Moffload9 tok/s$79510.9
NVIDIA GeForce RTX 4070 SuperUD-Q4_K_Moffload7 tok/s$8008.8
AMD Radeon RX 9070 XTUD-Q4_K_Moffload13 tok/s$81016.2
AMD Radeon RX 9070UD-Q4_K_Moffload13 tok/s$86015.2
NVIDIA GeForce RTX 5070UD-Q4_K_Moffload8 tok/s$9008.3
NVIDIA GeForce RTX 4060 Ti 16GBUD-Q4_K_Moffload9 tok/s$9189.5
AMD Radeon RX 7600 XTUD-Q4_K_Moffload8 tok/s$9598.0
NVIDIA GeForce RTX 4070 Ti SuperUD-Q4_K_Moffload16 tok/s$1,14013.7
NVIDIA GeForce RTX 5070 TiUD-Q4_K_Moffload18 tok/s$1,30014.1
NVIDIA GeForce RTX 4080 SuperUD-Q4_K_Moffload16 tok/s$1,46911.2
NVIDIA GeForce RTX 5080UD-Q4_K_Moffload19 tok/s$1,9009.9

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).

QuantFile@8k@32k@64k@128k
UD-Q4_K_Mgguf15.3 GB16.7 GB18.4 GB20.5 GB24.9 GB
mlx-4bitmlx15.0 GB16.3 GB18.0 GB20.2 GB24.5 GB
Q4_K_Mgguf16.2 GB17.6 GB19.3 GB21.5 GB25.8 GB
UD-Q5_K_Mgguf18.4 GB19.8 GB21.4 GB23.6 GB28.0 GB
Q5_K_Mgguf19.5 GB20.9 GB22.5 GB24.7 GB29.1 GB
UD-Q6_Kgguf20.5 GB21.9 GB23.5 GB25.7 GB30.1 GB
Q6_Kgguf22.2 GB23.6 GB25.3 GB27.4 GB31.8 GB
Q8_0gguf27.1 GB28.4 GB30.1 GB32.3 GB36.6 GB
mlx-8bitmlx27.5 GB28.9 GB30.5 GB32.7 GB37.1 GB

Run it

Copy a command for the runtime you use.

  • UD-Q4_K_M
    • Ollamaollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_M
    • LM Studiolms get unsloth/Qwen3.8-27B-GGUF@ud-q4_k_m
    • llama.cppllama-server -hf unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_M
  • mlx-4bit
    • LM Studiolms get mlx-community/Qwen3.8-27B-4bit
    • MLXmlx_lm.server --model mlx-community/Qwen3.8-27B-4bit
  • Q4_K_M
    • Ollamaollama run hf.co/bartowski/Qwen3.8-27B-GGUF:Q4_K_M
    • LM Studiolms get bartowski/Qwen3.8-27B-GGUF@q4_k_m
    • llama.cppllama-server -hf bartowski/Qwen3.8-27B-GGUF:Q4_K_M
  • UD-Q5_K_M
    • Ollamaollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_M
    • LM Studiolms get unsloth/Qwen3.8-27B-GGUF@ud-q5_k_m
    • llama.cppllama-server -hf unsloth/Qwen3.8-27B-GGUF:UD-Q5_K_M
  • Q5_K_M
    • Ollamaollama run hf.co/bartowski/Qwen3.8-27B-GGUF:Q5_K_M
    • LM Studiolms get bartowski/Qwen3.8-27B-GGUF@q5_k_m
    • llama.cppllama-server -hf bartowski/Qwen3.8-27B-GGUF:Q5_K_M
  • UD-Q6_K
    • Ollamaollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q6_K
    • LM Studiolms get unsloth/Qwen3.8-27B-GGUF@ud-q6_k
    • llama.cppllama-server -hf unsloth/Qwen3.8-27B-GGUF:UD-Q6_K
  • Q6_K
    • Ollamaollama run hf.co/bartowski/Qwen3.8-27B-GGUF:Q6_K
    • LM Studiolms get bartowski/Qwen3.8-27B-GGUF@q6_k
    • llama.cppllama-server -hf bartowski/Qwen3.8-27B-GGUF:Q6_K
  • Q8_0
    • Ollamaollama run hf.co/unsloth/Qwen3.8-27B-GGUF:Q8_0
    • LM Studiolms get unsloth/Qwen3.8-27B-GGUF@q8_0
    • llama.cppllama-server -hf unsloth/Qwen3.8-27B-GGUF:Q8_0
  • mlx-8bit
    • LM Studiolms get mlx-community/Qwen3.8-27B-8bit
    • MLXmlx_lm.server --model mlx-community/Qwen3.8-27B-8bit

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 the US that runs Qwen 3.8 27B fully in memory at 8k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 18 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 the US today?
The NVIDIA RTX PRO 4000 Blackwell, $339 new at Amazon, in stock: it runs Qwen 3.8 27B at UD-Q6_K fully in memory at 8k context, at about 18 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 6 tok/s on the Intel Arc Pro B50 (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.

More hardware for local AI