← All models

Alibaba Qwen · dense · Apache-2.0

What runs Qwen3.8 27B

Dense 27B model from Qwen's 3.8 generation with a hybrid linear/full attention stack and image input. Fits a 24 GB GPU at 4-bit.

Parameters
27B
4-bit file
16.2 GB
Q4_K_M
Needs at 8k context
18.2 GB
context memory estimated
Longest context
262,144 tokens

Context memory: 65,536 bytes per token for the full-attention layers only. Hybrid Gated DeltaNet + Gated Attention: only 16 of 64 layers are full attention and keep a growing KV cache (2 x 16 layers x 4 KV heads x 256 dim x 2 bytes = 65,536 bytes/token); the 48 linear-attention layers hold a fixed-size state. Card gives no per-token figure. How context memory works.

Measured on this hardware

Machines that hold the 4-bit file with 8,192 tokens of context and have published runs on the same chip or cards, fastest first. Median of single-user runs with plain decoding.

MachineFitPriceGeneration
Apple Mac Studio (M5 Ultra, 64-core GPU)Apple unified memoryFitsassumed limitfrom 96 GB~$5,499–$9,49952 tok/smedian of 2 runs
Apple Mac Studio (M5 Ultra, 80-core GPU)Apple unified memoryFitsassumed limitfrom 96 GB~$6,799–$10,79950 tok/smedian of 4 runs
Apple Mac Studio (M5 Max, 40-core GPU)Apple unified memoryFitsassumed limitfrom 48 GB~$3,099–$5,09934 tok/smedian of 2 runs
Apple MacBook Pro 14-inch (M5 Max, 40-core GPU)Apple unified memoryFitsassumed limitfrom 48 GB~$4,699–$6,69934 tok/smedian of 2 runs
Apple MacBook Pro 16-inch (M5 Max, 40-core GPU)Apple unified memoryFitsassumed limitfrom 48 GB~$4,999–$6,99934 tok/smedian of 2 runs
Apple Mac mini (M5 Pro, 16-core GPU)Apple unified memoryFitsassumed limitfrom 48 GB~$1,699–$2,69918 tok/smedian of 3 runs
Apple Mac mini (M5 Pro, 20-core GPU)Apple unified memoryFitsassumed limitfrom 48 GB~$1,899–$2,89914 tok/smedian of 1 run
Framework Desktop (Ryzen AI Max+ 395)AMD unified memoryFitsassumed limitfrom 64 GB~$1,959–$3,44912 tok/smedian of 2 runs
GMKtec EVO-X2 (Ryzen AI Max+ 395)AMD unified memoryFitsassumed limitfrom 64 GB~$2,600–$4,00012 tok/smedian of 2 runs
Beelink GTR9 Pro (Ryzen AI Max+ 395)AMD unified memoryFits~$4,69912 tok/smedian of 2 runs
Minisforum MS-S1 MAX (Ryzen AI Max+ 395)AMD unified memoryFits~$4,89912 tok/smedian of 2 runs
Corsair AI Workstation 300 (Ryzen AI Max+ 395)AMD unified memoryFits~$4,80012 tok/smedian of 2 runs
HP Z2 Mini G1a (Ryzen AI Max+ PRO 395)AMD unified memoryFits~$4,99912 tok/smedian of 2 runs

Estimated, not measured

These fit but nobody has published a run we could match. The figure is memory bandwidth divided by the bytes read per token, scaled by the share of that ceiling measured runs reach. How estimates work.

MachineFitPriceGeneration
Dell Pro Precision with GB300NVIDIA workstationFits~$159,283~276–331 tok/sestimate
Dell Pro Max Tower T2 with NVIDIA RTX PRO 6000 BlackwellNVIDIA workstationFits~$13,909~50–79 tok/sestimate
1x RTX 5090Single GPUFits~$3,234 + unpriced parts~50–79 tok/sestimate
2x RTX 5090Multi-GPUFits~$4,109 + unpriced parts~50–79 tok/sestimate
1x RTX PRO 6000 BlackwellSingle GPUFits~$20,833~50–79 tok/sestimate
RTX 5090 + EPYC 9355P with 768 GB DDR5 (MoE offload)Hybrid GPU + RAMFits~$3,763 + unpriced parts~50–79 tok/sestimate
4x Instinct MI50 32GB (used) on EPYC 7003Multi-GPUFits~$1,998 + unpriced parts~29–45 tok/sestimate
2x Radeon RX 7900 XTXMulti-GPUFits~$5,637~27–42 tok/sestimate
1x RTX 3090 (used)Single GPUFits~$2,944 + unpriced parts~26–41 tok/sestimate
2x RTX 3090 (used)Multi-GPUFits~$3,639 + unpriced parts~26–41 tok/sestimate
4x RTX 3090 (used) on EPYC 7003, open frameMulti-GPUFits~$2,178 + unpriced parts~26–41 tok/sestimate
RTX 3090 (used) + 128 GB DDR5 on AM5 (MoE offload)Hybrid GPU + RAMFits~$4,833 + unpriced parts~26–41 tok/sestimate
tiny corp tinybox red flashGPU desktop (prebuilt)Fits~$22,000~18–28 tok/sestimate
Apple Mac Studio (M5 Max, 32-core GPU)Apple unified memoryFitsassumed limit~$2,499~19–24 tok/sestimate
Apple MacBook Pro 14-inch (M5 Max, 32-core GPU)Apple unified memoryFitsassumed limit~$4,099~19–24 tok/sestimate
Apple MacBook Pro 16-inch (M5 Max, 32-core GPU)Apple unified memoryFitsassumed limit~$4,399~19–24 tok/sestimate
2x Intel Arc Pro B60Multi-GPUFits~$4,367~13–20 tok/sestimate
Framework Desktop (Ryzen AI Max+ PRO 495)AMD unified memoryFitsassumed limit~$6,799~11–13 tok/sestimate
NVIDIA DGX SparkNVIDIA GB10Fitsassumed limit~$4,699~11–13 tok/sestimate
Dell Pro Precision with GB10NVIDIA GB10Fitsassumed limit~$5,523~11–13 tok/sestimate
Framework Desktop (Ryzen AI Max 385)AMD unified memoryFitsassumed limit~$1,269~10.0–12 tok/sestimate

Fits, no speed figure

Files

QuantFormatSizeRepo
4bitMLX15.0 GBmlx-community/Qwen3.8-27B-4bit
Q4_K_MGGUF16.2 GBbartowski/Qwen3.8-27B-GGUF
Q5_K_MGGUF19.5 GBbartowski/Qwen3.8-27B-GGUF
Q6_KGGUF22.2 GBbartowski/Qwen3.8-27B-GGUF
Q8_0GGUF27.1 GBbartowski/Qwen3.8-27B-GGUF
8bitMLX27.5 GBmlx-community/Qwen3.8-27B-8bit

Sources