Alibaba · 27B · UD-Q4_K_M · 15.3 GiB

Qwen3.8 27B at UD-Q4_K_M needs about 17.3 GiB at 8K context, and the smallest listed machine that fits it is GeForce RTX 3090.

Hybrid 27B model: 48 linear-attention layers and 16 full-attention layers. Recommended file is Unsloth UD-Q4_K_M.

Weights: Qwen3.8-27B-UD-Q4_K_M.gguf. Architecture: config source. Hugging Face repo created 2026-08-05. License field: apache-2.0.

Quants with a measured file size

QuantFileSize
UD-Q4_K_M · recommendedQwen3.8-27B-UD-Q4_K_M.gguf15.3 GiB
UD-Q5_K_MQwen3.8-27B-UD-Q5_K_M.gguf18.4 GiB
UD-Q6_KQwen3.8-27B-UD-Q6_K.gguf20.5 GiB
Q8_0Qwen3.8-27B-Q8_0.gguf27.1 GiB

Machines

Same quant and 8,192 tokens on every row.
MachineMemoryTotalVerdictSpeed
Apple M1, 8 GB8 GB unified17.3 GiBNo—
Apple M2, 8 GB8 GB unified17.3 GiBNo—
Apple M3, 8 GB8 GB unified17.3 GiBNo—
GeForce RTX 3060 Ti8 GB GDDR17.3 GiBOffload1–2 tok/s
GeForce RTX 30708 GB GDDR17.3 GiBOffload1–2 tok/s
GeForce RTX 40608 GB GDDR17.3 GiBOffload1–2 tok/s
GeForce RTX 4060 Ti 8GB8 GB GDDR17.3 GiBOffload1–2 tok/s
GeForce RTX 50608 GB GDDR17.3 GiBOffload3–4 tok/s
GeForce RTX 5060 Ti 8GB8 GB GDDR17.3 GiBOffload3–4 tok/s
Radeon RX 66008 GB GDDR617.3 GiBOffload1–2 tok/s
Radeon RX 76008 GB GDDR617.3 GiBOffload1–2 tok/s
GeForce RTX 3080 10GB10 GB GDDR17.3 GiBOffload2–3 tok/s
GeForce RTX 3060 12GB12 GB GDDR17.3 GiBOffload2–3 tok/s
GeForce RTX 407012 GB GDDR17.3 GiBOffload2–4 tok/s
GeForce RTX 4070 Super12 GB GDDR17.3 GiBOffload2–4 tok/s
GeForce RTX 4070 Ti12 GB GDDR17.3 GiBOffload2–4 tok/s
GeForce RTX 507012 GB GDDR17.3 GiBOffload5–7 tok/s
Intel Arc B58012 GB GDDR617.3 GiBOffload2–3 tok/s
Radeon RX 6700 XT12 GB GDDR617.3 GiBOffload2–3 tok/s
Radeon RX 7700 XT12 GB GDDR617.3 GiBOffload2–3 tok/s
Apple M1 Pro, 16 GB16 GB unified17.3 GiBNo—
Apple M1, 16 GB16 GB unified17.3 GiBNo—
Apple M2 Pro, 16 GB16 GB unified17.3 GiBNo—
Apple M2, 16 GB16 GB unified17.3 GiBNo—
Apple M3, 16 GB16 GB unified17.3 GiBNo—
Apple M4, 16 GB16 GB unified17.3 GiBNo—
GeForce RTX 4060 Ti 16GB16 GB GDDR17.3 GiBOffload7–10 tok/s
GeForce RTX 4070 Ti Super16 GB GDDR17.3 GiBOffload11–16 tok/s
GeForce RTX 408016 GB GDDR17.3 GiBOffload12–17 tok/s
GeForce RTX 4080 Super16 GB GDDR17.3 GiBOffload12–17 tok/s
GeForce RTX 5060 Ti 16GB16 GB GDDR17.3 GiBOffload11–16 tok/s
GeForce RTX 5070 Ti16 GB GDDR17.3 GiBOffload18–26 tok/s
GeForce RTX 508016 GB GDDR17.3 GiBOffload19–27 tok/s
Intel Arc A770 16GB16 GB GDDR617.3 GiBOffload10–14 tok/s
Legion Go16 GB LPDDR5X-750017.3 GiBNo—
Radeon RX 6800 XT16 GB GDDR617.3 GiBOffload10–14 tok/s
Radeon RX 7800 XT16 GB GDDR617.3 GiBOffload11–16 tok/s
Radeon RX 9060 XT 16GB16 GB GDDR617.3 GiBOffload9–13 tok/s
Radeon RX 9070 XT16 GB GDDR617.3 GiBOffload15–21 tok/s
ROG Ally16 GB LPDDR5-640017.3 GiBNo—
Steam Deck LCD16 GB LPDDR5-550017.3 GiBNo—
Steam Deck OLED16 GB LPDDR5-640017.3 GiBNo—
Apple M3 Pro, 18 GB18 GB unified17.3 GiBNo—
Radeon RX 7900 XT20 GB GDDR617.3 GiBTight26–39 tok/s
Apple M2, 24 GB24 GB unified17.3 GiBTight3–5 tok/s
Apple M3, 24 GB24 GB unified17.3 GiBTight3–5 tok/s
Apple M4 Pro, 24 GB24 GB unified17.3 GiBTight9–13 tok/s
Apple M4, 24 GB24 GB unified17.3 GiBTight4–6 tok/s
GeForce RTX 309024 GB GDDR17.3 GiBFits30–45 tok/s
GeForce RTX 409024 GB GDDR17.3 GiBFits32–49 tok/s
Radeon RX 7900 XTX24 GB GDDR617.3 GiBFits31–47 tok/s
ROG Ally X24 GB LPDDR5X-750017.3 GiBTight4–6 tok/s
Apple M1 Max, 32 GB32 GB unified17.3 GiBFits13–19 tok/s
Apple M1 Pro, 32 GB32 GB unified17.3 GiBFits6–10 tok/s
Apple M2 Max, 32 GB32 GB unified17.3 GiBFits13–19 tok/s
Apple M2 Pro, 32 GB32 GB unified17.3 GiBFits6–10 tok/s
Apple M4, 32 GB32 GB unified17.3 GiBFits4–6 tok/s
GeForce RTX 509032 GB GDDR17.3 GiBFits57–87 tok/s
Apple M3 Pro, 36 GB36 GB unified17.3 GiBFits5–7 tok/s
Apple M4 Max 14-core, 36 GB36 GB unified17.3 GiBFits13–20 tok/s
Apple M3 Max 16-core, 48 GB48 GB unified17.3 GiBFits13–19 tok/s
Apple M4 Max 16-core, 48 GB48 GB unified17.3 GiBFits18–27 tok/s
Apple M4 Pro, 48 GB48 GB unified17.3 GiBFits9–13 tok/s
Apple M1 Max, 64 GB64 GB unified17.3 GiBFits13–19 tok/s
Apple M2 Max, 64 GB64 GB unified17.3 GiBFits13–19 tok/s
Apple M3 Max 16-core, 64 GB64 GB unified17.3 GiBFits13–19 tok/s
Apple M4 Max 16-core, 64 GB64 GB unified17.3 GiBFits18–27 tok/s
Apple M4 Pro, 64 GB64 GB unified17.3 GiBFits9–13 tok/s
Apple M2 Max, 96 GB96 GB unified17.3 GiBFits13–19 tok/s
Apple M3 Max 16-core, 128 GB128 GB unified17.3 GiBFits13–19 tok/s
Apple M4 Max 16-core, 128 GB128 GB unified17.3 GiBFits18–27 tok/s

Exact answers

GeForce RTX 3060 12GBoffloadGeForce RTX 4060offloadGeForce RTX 4060 Ti 16GBoffloadGeForce RTX 4070offloadGeForce RTX 4070 Ti SuperoffloadGeForce RTX 4090fitsGeForce RTX 5070offloadGeForce RTX 5080offload

FAQ

Why UD-Q4_K_M?

UD-Q4_K_M is the quant this page recommends. The file is Qwen3.8-27B-UD-Q4_K_M.gguf at 15.3 GiB. Other single-file quants are in the table when a real size was available.

Where do the architecture numbers come from?

text_config layer_types and linear attention dims. No verified Ollama tag for this exact revision. Source: https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/config.json

Does this include a long context?

The fit uses 8,192 tokens, or less when that is all the fast memory can hold. The model file allows up to 262,144 tokens, and KV cache grows as you use more of that.

Why is there no Ollama command?

No Ollama library tag was verified for this exact model revision. A nearby tag can be a different checkpoint, so it is left off.

Does this include image input?

No. Weight memory is the cited language-model GGUF. A separate vision projector, when one exists, needs more memory.