Qwen3.8 27B

27B

Alibaba Qwen3.8

Hybrid attention: only 16 of its 64 layers keep a KV cache, which is why a 27B model holds a 262K context in about 16GB of cache rather than 64GB. Sizing it as a conventional stack overstates the cache fourfold — the estimates here count the 16 and match published measurements at 8K, 32K and 262K. Quality loss per level has not been published.

⬇ 7.8M HF downloads♥ 18412 likesQwen/Qwen3.8-27B· stats from 10/26/2026
Consumer GPUPro GPUMac / Apple Silicon

262K

Max Context

1

Quant Variants

GGUF Q4_K_M

Best Quality

—

Perplexity rise (best build)

Quantization Variants

Per-quant VRAM, quality loss, and inference speed on RTX 4090

Measured = run on this site · Estimated = not run here: calculated, or a figure this site has not verified · Community = public reports

FormatLevelBPWVRAMPPL LossSpeedSourceActions
GGUFQ4_K_M4.7417.5 GB——Community
CalcHF

Which file each size is for

A file size is not a memory figure: the VRAM column is the calculator's total at 4K context — weights plus KV cache plus a 10% activation buffer. Units differ on purpose: file sizes are decimal GB, as Hugging Face lists them; the VRAM column is GiB (1024³ bytes) with 2% added to the weights, so 7.12 GB of file counts as about 6.8 GiB there. A vision projector (mmproj), where the repo ships one, is a separate download and is in neither number.

  • GGUF Q4_K_MSized from a published file size; which file was not recorded here.
36B

Seed-OSS 36B Instruct

ByteDance Seed

Consumer GPUPro GPU
19.5 GBmin VRAM+1.3%perplexity rise

Dense 36B with a native 512K context. The Q4_K_M file is 21.8 GB, so with cache and buffers it needs about 23.9 GB at 4K: tight on a 24 GB card, where Q3_K_M (19.5 GB) is the comfortable choice, or a 2×16GB split. The AWQ build is 21.1 GB, not the 4-bit rate the name suggests. Context is the real cost: 512K of KV cache is roughly 128GB on its own, so budget context first and weights second.

30B-A3B

GLM-4.7-Flash

Zhipu GLM-4.7

Consumer GPUPro GPU
19.2 GBmin VRAM—perplexity rise

Zhipu's lightweight member of GLM-4.7: 30B total, about 3B active per token, MIT licence. Its attention is MLA, which caches one compressed 576-value vector per token per layer instead of full keys and values — so at 32K context the cache is under 2 GB where a conventional 47-layer model would need several times that. llama.cpp runs it as a DeepSeek-2-style model. Sizes below use the calculator's generic Q4_K_M/Q8_0 rates: no GGUF file size could be checked, and quality loss per level has not been published.

26B-A4B

Gemma 4 26B-A4B IT

Google Gemma 4

Consumer GPUPro GPU
18.2 GBmin VRAM—perplexity rise

Google's Gemma 4 mixture-of-experts model: about 25B parameters in the text model, roughly 4B active per token, a 256K window and image input. Only 5 of its 30 layers keep a cache that grows with context, and those use fewer, wider heads, so the cache stays small — about 0.9 GB at 32K and 5.3 GB at the full 256K. At Q4_K_M that is about 18.8 GB at 32K: comfortable on a 24 GB card, which can still load the whole window (tight, about 23.6 GB). A 16 GB card cannot hold it, since the Q4_K_M file alone is 17.0 GB. The vision encoder is a separate 1.2 GB file on top. Sizes come from bartowski's GGUF files, whose Q4_K_M works out at 5.40 bits per weight, well above the generic 4-bit rate; Unsloth's UD-Q4_K_M is a different file, 0.09 GB smaller. No per-level quality loss has been published.

31B

Gemma 4 31B IT

Google Gemma 4

Consumer GPUPro GPU
20.1 GBmin VRAM—perplexity rise

Google's dense Gemma 4 flagship: about 31B parameters, a 256K window and image input. Only 10 of its 60 layers cache the full context, and those use four wide KV heads, so 128K of context adds about 11 GB of cache where a conventional 60-layer design would need about 120 GB. At Q4 it is about 21 GB at 4K — on a 24 GB card that is right at the edge of comfortable, and tight from 32K. A 32 GB card holds 32K comfortably. Google also publishes its own quantization-aware (QAT) Q4_0 build, a single 17.7 GB file: about 20.1 GB at 4K, comfortable on 24 GB up to 16K. Its 1.2 GB vision encoder is a separate file, and with it loaded even 4K is tight on 24 GB. The Q4_K_M and Q8_0 sizes use the calculator's generic rates, and no per-level quality loss has been published.

Running Qwen3.8 27B locally

At Q4_K_M and 4K of context, Qwen3.8 27B needs about 17.5 GB — 15.6 GB of weights, 0.25 GB of KV cache and a 1.6 GB activation buffer. The smallest card in this index that clears that comfortably is the Radeon RX 7900 XT at 20 GB, and 32 of the 78 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.

What longer context costs

Going from 4K to 32K adds about 1.75 GB, taking the total to 19.4 GB. That is gentler than the parameter count suggests: only 16 of 64 layers keep a KV cache that grows with context, so the cache scales at a fraction of the usual rate. The model's native window is 256K; holding all of it at Q4_K_M would need about 35 GB.

Which build to download

This index only tracks Qwen3.8 27B in GGUF, across 1 level (Q4_K_M). No per-level perplexity sweep has been published for this model, so the quality column is empty rather than estimated — within one model, more bits per weight is the only ordering the data supports. No throughput has been measured for this model on this site's hardware. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 — CUDA only, and now archived, so local use rather than serving.

Common questions

How much VRAM does Qwen3.8 27B need?
About 17.5 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 19.4 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
Will Qwen3.8 27B run on a 20GB GPU?
Yes — at Q4_K_M and 4K context it needs about 17.5 GB, which leaves 2.5 GB spare on a Radeon RX 7900 XT. That is the smallest card in this index that clears it comfortably; 32 of 78 do.
Which quantization of Qwen3.8 27B should I use?
Q4_K_M is the only level in the index for this model, so there is nothing to choose between here.

Where this model fits

Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.

Ships in
GGUF

This page's figures change when the model or the runtime does.Last updated 2026-10-26 RSS → /feed.xml