Qwen3 4B: VRAM needed and cost to run
4.02B parameters · 36 layers · 8 KV heads. Memory at 8k context; cheapest configuration from today's prices. Planning estimates (±25%).
| Job | GPU memory | Cheapest configuration now |
|---|---|---|
| Run · fp16 | 10.6 GB | 1 × RTX 4090 on Vast.ai · $0.07/h |
| Run · int8 | 6.4 GB | 1 × RTX 4090 on Vast.ai · $0.07/h |
| Run · q4 | 4.4 GB | 1 × RTX 4090 on Vast.ai · $0.07/h |
| Fine-tune QLoRA | 6.5 GB | 1 × RTX 4090 on Vast.ai · $0.07/h |
| Fine-tune LoRA | 12.3 GB | 1 × RTX 4090 on Vast.ai · $0.07/h |
Change precision, context or hours in the planner.
Architecture data: Hugging Face config.json and safetensors metadata, retrieved 2026-12-01 (model card).