QDNAAdvisory and architecture for LLM inference and training platforms, on-premises or hybrid

How much memory does Qwen 3.8 27B need in Q4?

Qwen 3.8 27B has 27 billion parameters. The Q4 format decides how much memory is needed to load them.

Short answer. In Q4, the weights of Qwen 3.8 27B take about 18.6 GB including the runtime margin. 8 of the 8 platforms in the catalogue have enough memory.

How is this footprint calculated?

Qwen 3.8 27B totals 27 billion parameters. The Q4 format takes 0.6 byte per parameter (taken here as llama.cpp Q4_K_M, 0.6 byte per parameter including scales; Q4_K_S weighs 0.56, AWQ and GPTQ 0.55). The product gives the weights, to which a 15% runtime margin is added for activations and buffers: 27 billion parameters × 0.6 byte (Q4) = 16.2 GB of weights; × 1.15 runtime margin = 18.6 GB. The attention cache is not calculated on this page. These models’ architectures (compressed latent, linear or sparse attention, Mamba layers) share no per-token formula; it is measured on the machine, with the target context and concurrency [TO BE MEASURED].

What does the format change?

Q4 brings block quantisation, broadly supported.

FormatWeights in memory Compatible platforms
FP1662.1 GB8
FP831.0 GB8
NVFP415.5 GB8
Q418.6 GB8

Which platforms qualify?

See the Qwen 3.8 27B fact sheet.

How much memory for Qwen 3.8 27B in Q4?

About 18.6 GB for the weights, excluding the attention cache.

Which format should I choose for Qwen 3.8 27B?

Q4 brings block quantisation, broadly supported. The most precise format that fits the target machine remains the best choice.

Method and sources

Memory footprints are calculated, not measured: a reading on real hardware may differ depending on the engine and the exact weight format. Every figure below carries its source and the date of its last check.