Qwen3 8B is a dense 8.2B model from Alibaba's Qwen team, released in April 2025 under Apache 2.0. It switches between a step-by-step thinking mode and a fast chat mode, and was trained on 119 languages and dialects.
At Q4_K_M it needs about 6.8 GB with an 8K conversation, so it is one of the strongest models that still fits an 8GB card.
/no_think in a message to skip it and save tokens.ollama run qwen3:8bThinking answers can run to thousands of tokens, and each one adds KV-cache memory. On an 8GB card keep the context at 8K to 16K. If you have 12GB or more, Qwen3 14B is the next step up.
Last reviewed · How we calculate
qwen3:8bThe upright line marks the memory your device can give the model. Everything left of it runs on the GPU.
At Q4_K_M the longest conversation this device can hold is about 13K tokens.
Total memory for weights, conversation cache and runtime. Pick the row your card can hold at the length you need.
| Quantization | File size | 4K | 8K | 16K | 32K | Quality |
|---|---|---|---|---|---|---|
| Q4_K_Mrecommended | 5.0 GB | 6.2 GB | 6.8 GB | 8.0 GB | 10.4 GB | Small loss, best default |
| Q5_K_M | 5.8 GB | 7.0 GB | 7.6 GB | 8.8 GB | 11.3 GB | Very close to Q8 |
| Q6_K | 6.7 GB | 7.9 GB | 8.5 GB | 9.7 GB | 12.1 GB | Hard to tell from Q8 |
| Q8_0 | 8.7 GB | 9.9 GB | 10.5 GB | 11.7 GB | 14.1 GB | Near full quality |
| F16 | 16.4 GB | 17.6 GB | 18.2 GB | 19.4 GB | 21.8 GB | Full quality |
| Device | At Q4_K_M | At Q8_0 | Memory | Speed | Longest chat |
|---|---|---|---|---|---|
| RTX 4060 8GB | Runs well | Slow, uses RAM | about 36 tok/s | 13K | |
| RTX 3060 12GB | Runs well | Runs, tight | about 47 tok/s | 32K, full | |
| RTX 4070 12GB | Runs well | Runs, tight | about 66 tok/s | 32K, full | |
| RTX 4060 Ti 16GB | Runs well | Runs well | about 38 tok/s | 32K, full | |
| Radeon RX 7600 XT 16GB | Runs well | Runs well | about 38 tok/s | 32K, full | |
| RTX 5060 Ti 16GB | Runs well | Runs well | about 59 tok/s | 32K, full | |
| Intel Arc A770 16GB | Runs well | Runs well | about 73 tok/s | 32K, full | |
| Radeon RX 9070 XT 16GB | Runs well | Runs well | about 84 tok/s | 32K, full | |
| RTX 4070 Ti Super 16GB | Runs well | Runs well | about 88 tok/s | 32K, full | |
| RTX 4080 Super 16GB | Runs well | Runs well | about 96 tok/s | 32K, full | |
| RTX 5080 16GB | Runs well | Runs well | about 126 tok/s | 32K, full | |
| RTX 3090 24GB | Runs well | Runs well | about 123 tok/s | 32K, full | |
| Radeon RX 7900 XTX 24GB | Runs well | Runs well | about 126 tok/s | 32K, full | |
| RTX 4090 24GB | Runs well | Runs well | about 132 tok/s | 32K, full | |
| RTX 5090 32GB | Runs well | Runs well | about 235 tok/s | 32K, full | |
| Mac mini M4 16GB | Runs well | Runs, tight | about 16 tok/s | 32K, full | |
| Mac M4 Pro 24GB | Runs well | Runs well | about 36 tok/s | 32K, full | |
| Mac M4 Pro 48GB | Runs well | Runs well | about 36 tok/s | 32K, full | |
| Mac M4 Max 64GB | Runs well | Runs well | about 71 tok/s | 32K, full | |
| Mac M4 Max 128GB | Runs well | Runs well | about 71 tok/s | 32K, full |
These apps use the same GGUF files, so the memory numbers above apply to each.
ollama run qwen3:8b
Downloads the Q4_K_M file on first run. For a longer conversation type /set parameter num_ctx 16384 inside the chat.
The speeds on this page are estimates from memory bandwidth. Run the model, note the tokens per second your app reports, and your number replaces the estimate for everyone with your hardware.
Add the first benchmarkRun ollama run qwen3:8b. It downloads the Q4_K_M build, about 5.2 GB, with a 40K context. Use qwen3:8b-q8_0 (about 8.9 GB) if you have a 12GB card and want higher quality.
Type /no_think in your message for a direct answer, and /think to switch back. In code, set enable_thinking=False in the chat template.
Thinking mode: temperature 0.6, top-p 0.95, top-k 20. Non-thinking mode: temperature 0.7, top-p 0.8, top-k 20. Qwen advises against greedy decoding in thinking mode because it can loop.
Yes. It is released under Apache 2.0, which allows commercial use, changes and redistribution with the licence notice kept.
Yes. Each token in the conversation stores about 0.14 MB of KV cache at F16, so 32K tokens add roughly 4.5 GB on top of the model weights. Use KV-cache quantization or a shorter context on 8GB cards.
About 6.8 GB at Q4_K_M with an 8K conversation, 7.6 GB at Q5_K_M, 10.5 GB at Q8_0 and 18.2 GB at full F16 precision. Longer conversations add about 1.2 GB for every 8,000 tokens.
Yes. The RTX 4060 8GB runs Qwen3 8B fully on the GPU at Q4_K_M at about 36 tokens a second.
Yes. The RTX 3060 12GB runs Qwen3 8B fully on the GPU at Q4_K_M at about 47 tokens a second.
Yes. The RTX 4060 Ti 16GB runs Qwen3 8B fully on the GPU at Q4_K_M at about 38 tokens a second.
Yes. A Mac with 16 GB of memory runs it comfortably at Q4. macOS keeps about a third of memory for the system, so smaller Macs may only manage short conversations.