Qwen 3.8 27B
Qwen 3.8 27B needs roughly 19.0 GB VRAM at Q4_K_M quantization (61.1 GB at FP16). 78 GPUs we track can run it fully in VRAM at 8k context.
78 GPUs run this natively · 21 with CPU offload
- Q4_K_M total
- 19.0 GB
- at 8k context
- Smallest GPU
- 24 GB
- NVIDIA RTX 4090, at Q4_K_M
- KV cache, full context
- 17.2 GB
- 16 of 64 layers cache
- Inputs
- Text · Image · Video
- Apache 2.0, released August 2026
- Context ceiling
- ~1M tokens
- 262k native, YaRN extension
- Vision
- Native
- same as Qwen 3.6 27B; GGUF still needs mmproj
Qwen 3.8 27B is a 27B parameter dense model developed by Alibaba. Released 14 August 2026 under Apache 2.0, the direct successor to Qwen 3.6 27B. The hybrid dense stack is unchanged layer-for-layer: 64 layers built from sixteen repeats of three Gated DeltaNet layers followed by one Gated Attention layer, so only 16 of the 64 layers keep a growing KV cache. Context is 262,144 tokens natively and roughly 1M with YaRN scaling, and the checkpoint accepts text, image, and video input, same as its predecessor.
To run Qwen 3.8 27B locally: Because the underlying shape didn't change from Qwen 3.6 27B, neither did the VRAM math: a Q4_K_M GGUF is roughly 16.4GB of weights, about 19GB in total at 8k context, making a 24GB card (RTX 4090, RTX 3090, RTX 5090) the comfortable target, with 16GB cards limited to Q3_K_M or partial CPU offload. The full 262k context window costs about 17GB of KV cache thanks to the hybrid stack. Vision needs the separate mmproj file, and there's no Ollama tag at launch, so llama.cpp, vLLM, or SGLang are the dependable routes until that lands.
Qwen's own model card reports GPQA Diamond 89.2, LiveCodeBench v6 90.3, SWE-bench Pro 61.7, and Terminal-Bench 2.1 73.0 — ahead of Qwen 3.6 27B on every one of those shared metrics, with the largest gains on agentic coding (SWE-bench Pro and Terminal-Bench). These are Alibaba's own launch figures; independent third-party reproduction was still thin in the first days after release.
The same hybrid stack as Qwen 3.6 27B, unchanged
Qwen 3.8 27B is dense, so all 27 billion parameters run on every token. Its 64 layers repeat the identical block Qwen 3.6 27B introduced: three Gated DeltaNet layers, then one Gated Attention layer, sixteen times over. Nothing about the caching shape moved between generations — what changed this release is what the model was trained on, not how its layers are wired.
16 of 64 layers keep a KV cache that grows with the full context. The other 48 hold a fixed-size recurrent state, so their memory cost does not move as the context window grows.
DeltaNet's memory is a fixed-size state matrix that costs the same at 2,000 tokens or 262,144, so those 48 layers add nothing to the KV bill regardless of context length. Only the 16 Gated Attention layers store per-token keys and values — the same one-in-four ratio that made Qwen 3.6 27B's long-context footprint small, carried forward unchanged into this release.
What a full 262,144-token context actually costs
Because the layer shape is identical to Qwen 3.6 27B's, the KV-cache math is too: this is the same four-times reduction versus an all-attention design, just on a slightly heavier set of weights.
KV cache only, at FP16. Weights and activation overhead sit on top of these figures.
Filling the whole 262,144-token window costs 17.2 GB of KV cache instead of 68.7 GB. Add 16.4 GB of Q4_K_M weights and the full-context total is 37.7 GB, which a 48 GB workstation card holds. The all-attention version of the same model would have wanted 95.4 GB and a datacenter GPU.
VRAM at each quantization
Qwen 3.8 27B natively supports a longer context window, but the table below is capped at 8k for comparability — its hybrid attention stack keeps KV cache growth well below linear.
| Quant | Weights | KV cache | Total |
|---|---|---|---|
| FP32 | 108.0 GB | 0.54 GB | 121.6 GB |
| BF16 | 54.0 GB | 0.54 GB | 61.1 GB |
| FP16 | 54.0 GB | 0.54 GB | 61.1 GB |
| Q8_0 | 28.7 GB | 0.54 GB | 32.8 GB |
| Q6_K | 22.2 GB | 0.54 GB | 25.4 GB |
| Q5_K_M | 19.2 GB | 0.54 GB | 22.1 GB |
| Q4_K_Mrec | 16.4 GB | 0.54 GB | 19.0 GB |
| Q3_K_M | 13.0 GB | 0.54 GB | 15.2 GB |
| Q2_K | 10.3 GB | 0.54 GB | 12.1 GB |
| NVFP4cuda | 13.5 GB | 0.54 GB | 15.7 GB |
Shown at 8k context with FP16 KV cache. NVFP4 needs a CUDA GPU to run. Toggle TurboQuant in the calculator to view compressed KV cache numbers.
Quantization × context: where it fits
The table above holds context fixed at 8k. Add context as a second axis and the picture changes: pick the row you can download, then the column you actually need. Each cell is the total VRAM for that pairing, weights and KV cache and activation overhead included.
| Quant | 8k ctx | 32k ctx | 128k ctx | 256k ctx |
|---|---|---|---|---|
| Q8_0 | 32.8 GB48 GB card | 34.5 GB48 GB card | 41.8 GB48 GB card | 51.4 GB80 GB card |
| Q6_K | 25.4 GB32 GB card | 27.2 GB32 GB card | 34.5 GB48 GB card | 44.1 GB48 GB card |
| Q5_K_M | 22.1 GB24 GB card | 23.9 GB24 GB card | 31.1 GB32 GB card | 40.8 GB48 GB card |
| Q4_K_Mrec | 19.0 GB24 GB card | 20.8 GB24 GB card | 28.0 GB32 GB card | 37.7 GB48 GB card |
| Q3_K_M | 15.2 GB16 GB card | 16.9 GB24 GB card | 24.2 GB32 GB card | 33.8 GB48 GB card |
Benchmarks
How this generation moved on GPQA Diamond
89.2 puts Qwen 3.8 27B among the higher scorers this site tracks at its size, a real step up from Qwen 3.6 27B's 87.8 on the same benchmark four months earlier, though the gap here is the smallest of the shared-benchmark deltas between the two releases — most of this generation's gains landed on coding and agentic tasks rather than general science QA.
GPUs that run Qwen 3.8 27B natively (78)
- NVIDIA RTX 5090NVFP4 · 83 t/s
- NVIDIA RTX 5080Q3_K_M · 46.1 t/s
- NVIDIA RTX 5070 TiQ3_K_M · 43.1 t/s
- NVIDIA RTX 5060 Ti 16GBQ3_K_M · 21.5 t/s
- NVIDIA RTX 4090Q5_K_M · 33.2 t/s
Show 73 more
- NVIDIA RTX 4080Q3_K_M · 34.5 t/s
- NVIDIA RTX 4070 Ti SUPERQ3_K_M · 32.3 t/s
- NVIDIA RTX 4060 Ti 16GBQ3_K_M · 13.8 t/s
- NVIDIA RTX 3090Q5_K_M · 30.8 t/s
- NVIDIA RTX 3090 TiQ5_K_M · 33.2 t/s
- NVIDIA B300 288GBFP32 · 47.9 t/s
- NVIDIA B200 180GBFP32 · 47.9 t/s
- NVIDIA H200 141GBFP32 · 28.7 t/s
- NVIDIA H100 80GBBF16 · 39.9 t/s
- NVIDIA A100 80GBBF16 · 24.3 t/s
- NVIDIA A100 40GBQ8_0 · 34.6 t/s
- NVIDIA L40SQ8_0 · 19.2 t/s
- NVIDIA RTX A6000Q8_0 · 17.1 t/s
- NVIDIA RTX 4000 AdaQ3_K_M · 15.4 t/s
- NVIDIA RTX 4500 AdaQ5_K_M · 14.2 t/s
- NVIDIA RTX 5000 AdaQ6_K · 16.5 t/s
- NVIDIA RTX 6000 AdaQ8_0 · 21.3 t/s
- NVIDIA RTX Pro 6000BF16 · 16 t/s
- NVIDIA DGX Spark (128GB)BF16 · 3.3 t/s
- AMD Radeon RX 7900 XTXQ5_K_M · 31.6 t/s
- AMD Radeon RX 7900 XTQ3_K_M · 38.5 t/s
- AMD Radeon RX 7900 GREQ3_K_M · 27.7 t/s
- AMD Radeon RX 6800 XTQ3_K_M · 24.6 t/s
- AMD Radeon PRO W7800Q6_K · 16.5 t/s
- AMD Radeon PRO W7900Q8_0 · 19.2 t/s
- AMD Instinct MI300XFP32 · 31.7 t/s
- AMD Radeon AI PRO R9700 32GBQ6_K · 18.3 t/s
- AMD Strix Halo (128GB)BF16 · 3.1 t/s
- AMD Strix Halo (96GB)BF16 · 3.1 t/s
- AMD Strix Halo (64GB)Q8_0 · 5.7 t/s
- Apple M5 Max (128GB)BF16 · 9 t/s
- Apple M5 Max (64GB)Q8_0 · 16.8 t/s
- Apple M5 Max (48GB)Q8_0 · 16.8 t/s
- Apple M5 Max (36GB)Q6_K · 16.2 t/s
- Apple M5 Pro (64GB)Q8_0 · 8.4 t/s
- Apple M5 Pro (48GB)Q8_0 · 8.4 t/s
- Apple M5 Pro (24GB)Q3_K_M · 18.2 t/s
- Apple M5 (32GB)Q5_K_M · 6.2 t/s
- Apple M4 Max (128GB)BF16 · 8 t/s
- Apple M4 Max (64GB)Q8_0 · 14.9 t/s
- Apple M4 Max (48GB)Q8_0 · 14.9 t/s
- Apple M4 Max (36GB)Q6_K · 14.4 t/s
- Apple M4 Pro (48GB)Q8_0 · 7.5 t/s
- Apple M4 Pro (24GB)Q3_K_M · 16.1 t/s
- Apple M4 (32GB)Q5_K_M · 4.9 t/s
- Apple M3 Ultra (512GB)FP32 · 6 t/s
- Apple M3 Ultra (256GB)FP32 · 6 t/s
- Apple M3 Ultra (96GB)BF16 · 12 t/s
- Apple M3 Max (128GB)BF16 · 5.9 t/s
- Apple M3 Max (96GB)BF16 · 4.4 t/s
- Apple M3 Max (64GB)Q8_0 · 10.9 t/s
- Apple M3 Max (48GB)Q8_0 · 10.9 t/s
- Apple M3 Max (36GB)Q6_K · 10.6 t/s
- Apple M3 Pro (36GB)Q6_K · 5.3 t/s
- Apple M3 (24GB)Q3_K_M · 5.9 t/s
- Apple M2 Ultra (192GB)FP32 · 5.9 t/s
- Apple M2 Ultra (64GB)Q8_0 · 21.9 t/s
- Apple M2 Max (96GB)BF16 · 5.9 t/s
- Apple M2 Max (64GB)Q8_0 · 10.9 t/s
- Apple M2 Max (32GB)Q5_K_M · 16.2 t/s
- Apple M2 Pro (32GB)Q5_K_M · 8.1 t/s
- Apple M2 (24GB)Q3_K_M · 5.9 t/s
- Apple M1 Ultra (128GB)BF16 · 11.7 t/s
- Apple M1 Ultra (64GB)Q8_0 · 21.9 t/s
- Apple M1 Max (64GB)Q8_0 · 10.9 t/s
- Apple M1 Max (32GB)Q5_K_M · 16.2 t/s
- Apple M1 Pro (32GB)Q5_K_M · 8.1 t/s
- Intel Arc Pro B70 32GBQ6_K · 17.4 t/s
- Intel Arc Pro B60 24GBQ5_K_M · 12.5 t/s
- Intel Arc A770 16GBQ3_K_M · 26.9 t/s
- Intel Data Center GPU Max 1550FP32 · 19.6 t/s
- Intel Data Center GPU Max 1100Q8_0 · 27.3 t/s
- Intel Arc 140V (32GB)Q5_K_M · 4.5 t/s
Plus 21 GPUs that run it with CPU offload (slower)
- NVIDIA RTX 5070NVFP4 · 7.6 t/s
- NVIDIA RTX 5060 Ti 8GBNVFP4 · 3.5 t/s
- NVIDIA RTX 5060NVFP4 · 3.5 t/s
- NVIDIA RTX 5050NVFP4 · 3.4 t/s
- NVIDIA RTX 4070 TiQ8_0 · 1.3 t/s
- NVIDIA RTX 4070 SUPERQ8_0 · 1.3 t/s
- NVIDIA RTX 4070Q8_0 · 1.3 t/s
- NVIDIA RTX 4060Q8_0 · 1.1 t/s
- NVIDIA RTX 3080 10GBQ8_0 · 1.2 t/s
- NVIDIA RTX 3060 12GBQ8_0 · 1.3 t/s
- Intel Arc B580 12GBQ8_0 · 1.3 t/s
- Intel Arc B570 10GBQ8_0 · 1.2 t/s
- Intel Arc A770 8GBQ8_0 · 1.1 t/s
- Intel Arc A750 8GBQ8_0 · 1.1 t/s
- Intel Arc A580 8GBQ8_0 · 1.1 t/s
- Intel Arc A380 6GBQ6_K · 1.4 t/s
- Intel Arc A310 4GBQ6_K · 1.2 t/s
- Intel Arc Pro A60 12GBQ8_0 · 1.3 t/s
- Intel Arc Pro A50 6GBQ6_K · 1.4 t/s
- Intel Arc Pro A40 6GBQ6_K · 1.4 t/s
- CPU only (system RAM)Q6_K · 1.8 t/s
Notes
Built on the Qwen3.5 architectural foundation, same as the Qwen3.8-Max flagship. Thinking mode is on by default (disable per-request), reasoning depth is tunable via reasoning_effort (xhigh by default, medium, or low), and preserve_thinking carries reasoning context across turns, on by default. Against its direct predecessor Qwen3.6-27B, Qwen's own model card shows gains across the board: GPQA Diamond 89.2 vs 87.8, LiveCodeBench v6 90.3 vs 83.9, SWE-bench Pro 61.7 vs 53.5, and Terminal Bench 2.1 73.0 vs Qwen3.6-27B's 63.4 on the same 2.1 revision (Qwen3.6-27B's own published number was a 2.0-revision 59.3, not directly comparable to either 2.1 figure).
Compare Qwen 3.8 27B with other models
How to run Qwen 3.8 27B locally
Q4_K_M needs 19.0 GB — fits a single high-end consumer GPU (24 GB).
llama.cpp or vLLM/SGLang (no official Ollama tag at launch)
./llama-server \
-hf unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL \
-c 65536 -ngl 99 \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0llama.cpp
# Non-thinking mode, for straight instruction following
./llama-server \
-hf unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL \
-c 65536 -ngl 99 \
--temp 0.7 --top-p 0.8 --top-k 20 --presence-penalty 1.5 \
--chat-template-kwargs '{"enable_thinking":false}'
# Vision needs the projector file alongside the weights, same as Qwen 3.6 27B
./llama-server -hf unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL \
--mmproj mmproj-F16.ggufLM Studio: Search for 'Qwen3.8 27B' and take the Q4_K_M or UD-Q4_K_XL build. Set the context slider deliberately: every 32k of context costs about 2.1 GB of KV cache, same ratio as Qwen 3.6 27B since the layer shape didn't change between releases.
Why this quantization? Q4_K_M puts the weights at roughly 16.4 GB, which leaves a 24 GB card enough room for around 56k of context, the exact same budget Qwen 3.6 27B offers at the same quant. Step up to Q5_K_M or Q6_K only if you have 32 GB or more.
Who is Qwen 3.8 27B for?
Developers with a single 24 GB GPU who want a coding agent that runs locally and holds a long repository context, and anyone upgrading from Qwen 3.6 27B who wants the same VRAM footprint with better coding/agentic scores and native vision.
Best for
- Agentic coding loops where the model reads a repo, edits files, and runs commands
- Long-context work: whole-file refactors, log analysis, multi-document review
- Multi-turn sessions that benefit from preserved reasoning traces between turns
- Image and video understanding via the vision projector
- Replacing a paid coding API on a single workstation
Not ideal for
- 16 GB GPUs, where you are forced down to Q3_K_M or partial CPU offload
- Ollama users, at least until an official tag ships — there is none at launch
- Latency-sensitive chat, since thinking mode is on by default and adds tokens before every answer
- Anyone who needs benchmark claims independently verified before adopting a model this new
So should you run it?
If Qwen 3.6 27B already fit your GPU, Qwen 3.8 27B fits it too — the KV-cache math and the weights size are both identical. On a 24 GB card that's still the easy local-agentic-coding pick, with real gains on coding and agentic benchmarks. The one thing to check first is Ollama support: there's no official tag yet at launch, so llama.cpp, vLLM, or SGLang are the dependable route until that lands, same as it was for Qwen 3.6 27B on day one.
Frequently asked questions
- What are the VRAM requirements for Qwen 3.8 27B?
- Qwen 3.8 27B requires approximately 19.0 GB of VRAM at Q4_K_M quantization, 32.8 GB at Q8, and 61.1 GB at FP16. These numbers assume 8k context window; its hybrid attention stack caches far fewer than all layers, so VRAM grows much slower than linearly with context.
- How many parameters does Qwen 3.8 27B have?
- Qwen 3.8 27B has 27 billion parameters.
- Is Qwen 3.8 27B good for coding?
- Yes. Qwen 3.8 27B scores 90.3 on LiveCodeBench, demonstrating strong code generation and completion capabilities.
- Can Qwen 3.8 27B run on a 16 GB GPU?
- No. At Q4_K_M, Qwen 3.8 27B needs 19.0 GB of VRAM — more than 16 GB. You will need a 24 GB GPU like the RTX 4090 or RTX 3090.
- Can Qwen 3.8 27B run on a 24 GB GPU?
- Yes. Qwen 3.8 27B fits in a 24 GB GPU at Q4_K_M, requiring 19.0 GB VRAM. GPUs with 24 GB include the RTX 4090, RTX 3090, and RTX 3090 Ti.
- What is the smallest quantization for Qwen 3.8 27B that fits in 24 GB of VRAM?
- At NVFP4, Qwen 3.8 27B needs 15.7 GB — the highest-quality quantization that fits in 24 GB of VRAM.
- What GPU do I need to run Qwen 3.8 27B locally?
- A 24 GB GPU is the minimum. At Q4_K_M, Qwen 3.8 27B needs 19.0 GB VRAM. Good options: RTX 4090 (24 GB), RTX 3090 (24 GB).
- How is Qwen 3.8 27B different from Qwen 3.6 27B?
- Architecturally, nothing changed: both use the identical 64-layer hybrid stack (16 Gated Attention layers, 48 Gated DeltaNet layers) and the same real parameter count, so their KV-cache size and weights size at any quant or context length are the same. What changed is training — Qwen 3.8 27B scores higher on every benchmark Qwen reports for both (GPQA Diamond, LiveCodeBench, SWE-bench Pro, Terminal-Bench 2.1).
- Does Qwen 3.8 27B need a separate file for vision input?
- Its upstream Transformers checkpoint has the vision encoder built in, same as Qwen 3.6 27B's own checkpoint. For local use with llama.cpp, both still ship as a separate mmproj GGUF alongside the main weights — that's a llama.cpp packaging convention for every vision-capable GGUF, not something specific to either release.
- Is Qwen 3.8 27B available on Ollama?
- Not at launch — there's no official Ollama tag yet, mirroring the rough patch Qwen 3.6 27B's own day-one GGUFs hit. llama.cpp, vLLM, and SGLang are the dependable options until that changes.