Run Qwen3.8 27B Locally: VRAM & GPU Requirements
Qwen3.8 27B is a 27B dense model released by Qwen in August 2026 that understands images and video and runs locally on a single 24GB GPU at 4-bit. It's now the first choice for running a Qwen dense model on one GPU, reaching about 40 tokens/s on 24GB with context up to about 122K. Only 1 in every 4 layers sees the full context, so long context doesn't take much VRAM.
Qwen3.8 27B details
- Min VRAM at 4-bit (8K context)19 GB
- Parameters27.8B
- Max context256K
- Architecture
- Dense
- License
- Apache-2.0
- Launch date
- Aug 14, 2026
- Vendor
- Alibaba
- Hugging Face repo
- Qwen/Qwen3.8-27B
- GGUF repo
- unsloth/Qwen3.8-27B-GGUF
- NVFP4 repo (Blackwell)
- nvidia/Qwen3.8-27B-NVFP4
- MLX repo (Apple)
- mlx-community/Qwen3.8-27B-4bit
- Ollama tag
- qwen3.8:27b
- Layers
- 64
- Hidden size
- 5,120
- KV heads
- 4
- Head dim
- 256
How much VRAM does Qwen3.8 27B need?
| Quantization | WeightsGB | 8K contextGB | 32K contextGB | 128K contextGB | 256K context (max)GB |
|---|---|---|---|---|---|
| 1-bit | 6.7GGUF | 8.3 | 9.9 | 16.4 | 25 |
| 2-bit | 9.9GGUF | 11.5 | 13.1 | 19.6 | 28.2 |
| 3-bit | 13.1GGUF | 14.7 | 16.3 | 22.8 | 31.4 |
| 4-bit | 16.6GGUF | 18.2 | 19.8 | 26.3 | 34.9 |
| 5-bit | 19.9GGUF | 21.5 | 23.1 | 29.6 | 38.2 |
| 8-bit | 29GGUF | 30.6 | 32.2 | 38.7 | 47.3 |
| BF16/FP16 | 54.7GGUF | 56.3 | 57.9 | 64.4 | 73 |
Full calculation rules are on the Methodology page.
Can a single GPU run Qwen3.8 27B?
Yes, a 24GB GPU is the natural starting point for Qwen3.8 27B, and a 16GB GPU can squeeze it in at 2-bit. On 24GB of VRAM, 4-bit runs at about 40 tokens/s with roughly 122K of context, and the 32GB RTX 5090 is nearly twice as fast. 16GB works because Unsloth's 2-bit build is only about 10 GB, small enough for a GPU like the Tesla V100, though answer quality takes a hit. By default it keeps the reasoning from every earlier turn in the conversation, so context fills fast in long chats and spare VRAM helps. 128GB unified-memory machines hold even 8-bit, but their bandwidth is low and a dense model reads all of its weights for every token, so 4-bit manages only about 12 tokens/s.
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $41316 listings | 62 | 92K | |
| $88045 listings | 32.3 | 92K | |
| $1,37813 listings | 62 | 256K | |
| Radeon RX 7900 XTX24 GB | $1,40027 listings | 65.7 | 220K |
| $1,992116 listings | 64.3 | 220K | |
| $3,82574 listings | 68.7 | 220K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 18.8 | 256K |
| $4,89925 listings | 53.6 | 256K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 82 | 256K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 43.5 | 256K |
| $7,385128 listings | 113.7 | 256K | |
| $7,90037 listings | 20 | 256K | |
| $18,60020 listings | 113.7 | 256K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $1,37813 listings | 38.7 | 248K | |
| Radeon RX 7900 XTX24 GB | $1,40027 listings | 41.1 | 120K |
| $1,992116 listings | 40.2 | 120K | |
| $3,82574 listings | 43.1 | 120K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 11.5 | 256K |
| $4,89925 listings | 33.3 | 256K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 51.8 | 256K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 26.9 | 256K |
| $7,385128 listings | 73.1 | 248K | |
| $7,90037 listings | 12.2 | 256K | |
| $18,60020 listings | 73.1 | 256K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $1,37813 listings | 22.8 | 63K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 6.6 | 256K |
| $4,89925 listings | 19.6 | 256K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 30.8 | 256K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 15.7 | 256K |
| $7,385128 listings | 44 | 63K | |
| $7,90037 listings | 7.1 | 256K | |
| $18,60020 listings | 44 | 256K |
Only common GPUs and systems are listed, from cheapest to most expensive.
What to know before running Qwen3.8 27B locally
Three thinking levels
Set thinking depth with
reasoning_effort: xhigh (the default), medium or low. Qwen notes that in multi-turn agent tasks, a lower setting isn't necessarily faster: if each turn doesn't think enough, it's more likely to fail and retry. In llama.cpp, passreasoning_effortvia--chat-template-kwargs.Thinking is kept by default
By default, 3.8 keeps the thinking from every earlier turn in the context, so context grows quickly in multi-turn conversations. Fortunately its context cache is very light: at 4-bit, going from 8K to 128K adds only about 8.1 GB. To keep only the latest turn's thinking, set
preserve_thinkingto false.Official sampling parameters
Thinking mode:
temperature1.0,top_p0.95,top_k20,presence_penalty0. Non-thinking mode:temperature0.7,top_p0.8,top_k20,presence_penalty1.5.Quantization and formats
For GGUF, use Unsloth's Dynamic 3.0 version; 4-bit is about 16.6 GB, and the Ollama tag is qwen3.8:27b. RTX 50 series cards and the DGX Spark can run Unsloth's NVFP4 version in vLLM, which Unsloth says is about 1.5x faster than BF16; Qwen also offers an official FP8 version.
Launch commands
Ollama
- Windows
- macOS
- Linux
ollama run qwen3.8:27bllama.cpp
- NVIDIA
- AMD
- Mac
- CPU
llama-server -hf unsloth/Qwen3.8-27B-GGUF:Q4_K_M -c 8192
vLLM
- Linux
- NVIDIA
- AMD
vllm serve Qwen/Qwen3.8-27BBlackwell GPUs (RTX 50 series, RTX PRO 6000, B200) run NVFP4 weights natively, at about 30% of the original size.
vllm serve nvidia/Qwen3.8-27B-NVFP4MLX
- Apple Silicon
Vision models run on mlx-vlm: on a Mac, pip install mlx-vlm first; this command downloads the MLX weights from Hugging Face and starts a server.
mlx_vlm.server --model mlx-community/Qwen3.8-27B-4bitFile names follow that week's model-library snapshot; the definitions are in the methodology. Methodology
Other models in the Qwen family
| Model | Total params | Active params | 4-bit size |
|---|---|---|---|
| 8.2B | 8.2B | 5 GB | |
| 9.7B | 9.7B | 5.7 GB | |
| 27.8B | 27.8B | 16.8 GB | |
| 32.8B | 32.8B | 19.8 GB | |
| 36B | 3B | 22.1 GB | |
| 56.8B | 3B | 34.6 GB | |
| 176B | 6B | 111.3 GB | |
| 2,446B | 95B | 1,310.9 GB |