Alibaba
Qwen3 4B
reasoning
4B
Parameters
2,3 Go
Q4_K_M file
≥ 3,8 Go
Recommended VRAM
40 960
Max context
Speed by graphics card
Simulate in the “Configurator” →Standard llama-bench run (prompt 512 / generation 128 tokens), model fully in VRAM. Click a card for details. Electricity cost at the default price (0,25 €/kWh).
| Card · Q4_K_M | VRAM | Generation | Prompt | VRAM used | Power | € elec. / M tok | Price |
|---|---|---|---|---|---|---|---|
| RTX 5070 Ti | 16 Go | 225 tok/s | 11 566 | 3,7 Go | 124 W | 0,04 €/M tok | — |
Not measured on these cards yet — click for an estimate:
Technical sheet
- Published
- 2025-04-27
- Architecture
- 36 layers · 8 KV heads · dimension 128
- Attention
- Standard: every layer keeps the whole context in memory.
- Context cache (f16)
- ≈ 141 MB per 1,000 tokens · 4,5 Go for 32,768 tokens
- GGUF file
- bartowski/Qwen_Qwen3-4B-GGUF · Qwen_Qwen3-4B-Q4_K_M.gguf Download (2,3 Go)
- Official repo
- Qwen/Qwen3-4B
Public Hugging Face data (official config.json, GGUF repo). The context cache only counts full-attention layers.