Alibaba · 8.2B · Q4_K_M · 4.68 GiB

Qwen3 8B at Q4_K_M needs about 6.62 GiB at 8K context, and the smallest listed machine that fits it is GeForce RTX 3060 Ti.

Dense Qwen3 model with a 40,960-token context. Sliding window is off in config.json.

ollama run qwen3:8b

Weights: Qwen3-8B-Q4_K_M.gguf. Architecture: config source. Hugging Face repo created 2025-04-27. License field: apache-2.0.

Quants with a measured file size

QuantFileSize
Q4_K_M · recommendedQwen3-8B-Q4_K_M.gguf4.68 GiB
Q5_K_MQwen3-8B-Q5_K_M.gguf5.45 GiB
Q6_KQwen3-8B-Q6_K.gguf6.26 GiB
Q8_0Qwen3-8B-Q8_0.gguf8.11 GiB

Machines

Same quant and 8,192 tokens on every row.
MachineMemoryTotalVerdictSpeed
Apple M1, 8 GB8 GB unified6.62 GiBNo—
Apple M2, 8 GB8 GB unified6.62 GiBNo—
Apple M3, 8 GB8 GB unified6.62 GiBNo—
GeForce RTX 3060 Ti8 GB GDDR6.62 GiBFits40–71 tok/s
GeForce RTX 30708 GB GDDR6.62 GiBFits40–71 tok/s
GeForce RTX 40608 GB GDDR6.62 GiBFits24–43 tok/s
GeForce RTX 4060 Ti 8GB8 GB GDDR6.62 GiBFits25–46 tok/s
GeForce RTX 50608 GB GDDR6.62 GiBFits40–71 tok/s
GeForce RTX 5060 Ti 8GB8 GB GDDR6.62 GiBFits40–71 tok/s
Radeon RX 66008 GB GDDR66.62 GiBFits20–36 tok/s
Radeon RX 76008 GB GDDR66.62 GiBFits25–46 tok/s
GeForce RTX 3080 10GB10 GB GDDR6.62 GiBFits67–121 tok/s
GeForce RTX 3060 12GB12 GB GDDR6.62 GiBFits32–57 tok/s
GeForce RTX 407012 GB GDDR6.62 GiBFits44–80 tok/s
GeForce RTX 4070 Super12 GB GDDR6.62 GiBFits44–80 tok/s
GeForce RTX 4070 Ti12 GB GDDR6.62 GiBFits44–80 tok/s
GeForce RTX 507012 GB GDDR6.62 GiBFits59–107 tok/s
Intel Arc B58012 GB GDDR66.62 GiBFits40–73 tok/s
Radeon RX 6700 XT12 GB GDDR66.62 GiBFits34–61 tok/s
Radeon RX 7700 XT12 GB GDDR66.62 GiBFits38–69 tok/s
Apple M1 Pro, 16 GB16 GB unified6.62 GiBFits18–32 tok/s
Apple M1, 16 GB16 GB unified6.62 GiBFits6–11 tok/s
Apple M2 Pro, 16 GB16 GB unified6.62 GiBFits18–32 tok/s
Apple M2, 16 GB16 GB unified6.62 GiBFits9–16 tok/s
Apple M3, 16 GB16 GB unified6.62 GiBFits9–16 tok/s
Apple M4, 16 GB16 GB unified6.62 GiBFits11–19 tok/s
GeForce RTX 4060 Ti 16GB16 GB GDDR6.62 GiBFits25–46 tok/s
GeForce RTX 4070 Ti Super16 GB GDDR6.62 GiBFits59–107 tok/s
GeForce RTX 408016 GB GDDR6.62 GiBFits63–114 tok/s
GeForce RTX 4080 Super16 GB GDDR6.62 GiBFits65–117 tok/s
GeForce RTX 5060 Ti 16GB16 GB GDDR6.62 GiBFits40–71 tok/s
GeForce RTX 5070 Ti16 GB GDDR6.62 GiBFits79–143 tok/s
GeForce RTX 508016 GB GDDR6.62 GiBFits85–153 tok/s
Intel Arc A770 16GB16 GB GDDR66.62 GiBFits45–81 tok/s
Legion Go16 GB LPDDR5X-75006.62 GiBFits11–19 tok/s
Radeon RX 6800 XT16 GB GDDR66.62 GiBFits45–81 tok/s
Radeon RX 7800 XT16 GB GDDR66.62 GiBFits55–99 tok/s
Radeon RX 9060 XT 16GB16 GB GDDR66.62 GiBFits28–51 tok/s
Radeon RX 9070 XT16 GB GDDR66.62 GiBFits56–102 tok/s
ROG Ally16 GB LPDDR5-64006.62 GiBFits9–16 tok/s
Steam Deck LCD16 GB LPDDR5-55006.62 GiBFits8–14 tok/s
Steam Deck OLED16 GB LPDDR5-64006.62 GiBFits9–16 tok/s
Apple M3 Pro, 18 GB18 GB unified6.62 GiBFits13–24 tok/s
Radeon RX 7900 XT20 GB GDDR66.62 GiBFits71–127 tok/s
Apple M2, 24 GB24 GB unified6.62 GiBFits9–16 tok/s
Apple M3, 24 GB24 GB unified6.62 GiBFits9–16 tok/s
Apple M4 Pro, 24 GB24 GB unified6.62 GiBFits24–43 tok/s
Apple M4, 24 GB24 GB unified6.62 GiBFits11–19 tok/s
GeForce RTX 309024 GB GDDR6.62 GiBFits83–149 tok/s
GeForce RTX 409024 GB GDDR6.62 GiBFits89–160 tok/s
Radeon RX 7900 XTX24 GB GDDR66.62 GiBFits85–153 tok/s
ROG Ally X24 GB LPDDR5X-75006.62 GiBFits11–19 tok/s
Apple M1 Max, 32 GB32 GB unified6.62 GiBFits35–64 tok/s
Apple M1 Pro, 32 GB32 GB unified6.62 GiBFits18–32 tok/s
Apple M2 Max, 32 GB32 GB unified6.62 GiBFits35–64 tok/s
Apple M2 Pro, 32 GB32 GB unified6.62 GiBFits18–32 tok/s
Apple M4, 32 GB32 GB unified6.62 GiBFits11–19 tok/s
GeForce RTX 509032 GB GDDR6.62 GiBFits158–285 tok/s
Apple M3 Pro, 36 GB36 GB unified6.62 GiBFits13–24 tok/s
Apple M4 Max 14-core, 36 GB36 GB unified6.62 GiBFits36–65 tok/s
Apple M3 Max 16-core, 48 GB48 GB unified6.62 GiBFits35–64 tok/s
Apple M4 Max 16-core, 48 GB48 GB unified6.62 GiBFits48–87 tok/s
Apple M4 Pro, 48 GB48 GB unified6.62 GiBFits24–43 tok/s
Apple M1 Max, 64 GB64 GB unified6.62 GiBFits35–64 tok/s
Apple M2 Max, 64 GB64 GB unified6.62 GiBFits35–64 tok/s
Apple M3 Max 16-core, 64 GB64 GB unified6.62 GiBFits35–64 tok/s
Apple M4 Max 16-core, 64 GB64 GB unified6.62 GiBFits48–87 tok/s
Apple M4 Pro, 64 GB64 GB unified6.62 GiBFits24–43 tok/s
Apple M2 Max, 96 GB96 GB unified6.62 GiBFits35–64 tok/s
Apple M3 Max 16-core, 128 GB128 GB unified6.62 GiBFits35–64 tok/s
Apple M4 Max 16-core, 128 GB128 GB unified6.62 GiBFits48–87 tok/s

Exact answers

GeForce RTX 3060 12GBfitsGeForce RTX 4060fitsGeForce RTX 4070fitsGeForce RTX 5070fitsIntel Arc B580fitsSteam Deck OLEDfitsApple M4, 16 GBfits

FAQ

Why Q4_K_M?

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

Where do the architecture numbers come from?

Official config.json, including head_dim. Source: https://huggingface.co/Qwen/Qwen3-8B/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 40,960 tokens, and KV cache grows as you use more of that.

What is the Ollama command?

ollama run qwen3:8b. The library tag is Q4-class or the vendor quant. Compare it with the GGUF linked on this page before you treat the sizes as identical.