OnPrem World地端世界

Qwen3-8B

Qwen3-8B by Alibaba Qwen (8.2B parameters). At Q4_K_M with an 8K context it needs about 6.5 GiB of memory. Qwen's 8B model with a thinking mode you can switch off, good at Chinese; it fits a 12 GB card at 8-bit. Native context is 32K (128K with YaRN).

Last updated: 2026-10-13

Model facts

DeveloperAlibaba Qwen
Parameters8.2B[src]
Native context32,768 tokens[src]
LicenceApache-2.0[src]
Commercial useYes
KV cacheAll 36 layers (standard attention)[src]
Released2025-04

Good for: chat · reasoning (thinking mode) · multilingual · Chinese · tool use

Run it

ollama run qwen3:8b

Memory needed

Weights + KV cache + runtime overhead, in GiB. Lower quantization = less memory, slightly lower quality.

Quantization4K context8K context32K context
Q4_K_M5.9 GiB6.5 GiB9.9 GiB
Q5_K_M6.8 GiB7.3 GiB10.7 GiB
Q6_K7.7 GiB8.2 GiB11.6 GiB
Q8_09.6 GiB10.1 GiB13.5 GiB
FP1617.1 GiB17.7 GiB21.0 GiB

Which hardware runs it

Best quantization that fits each device with a 8K context. Estimates, not benchmarks. See the methodology.

Frequently asked questions

How much VRAM does Qwen3-8B need?

With an 8K context, about 6.5 GiB at Q4_K_M and 10.1 GiB at Q8_0 (weights + KV cache + runtime overhead). Longer contexts need more memory for the KV cache.

Can Qwen3-8B run on an GeForce RTX 4090?

Yes. Qwen3-8B fits on the GeForce RTX 4090 (24 GB) at FP16 with an 8K context, using about 17.7 GiB, at an estimated 43 tokens/s.

Can I run Qwen3-8B on a Mac?

Yes. Qwen3-8B fits on the M3 Ultra (96 GB) at FP16 with an 8K context, using about 17.7 GiB, at an estimated 32 tokens/s.

Can Qwen3-8B be used commercially?

Qwen3-8B is released under Apache-2.0. The licence allows commercial use (read its conditions).

Sources