Alibaba/Dense

AlibabaQwen3 4B

Qwen3 4B — thinking/non-thinking dual mode, strong reasoning at 4B.

chatreasoningThinkingTool Use
4B
Parameters
32K
Context length
16
Benchmarks
6
Quantizations
500K
HF downloads
Architecture
Dense
Released
2025-04-28
Layers
36
KV Heads
8
Head Dim
128
Family
qwen

Quantization Options

QuantBitsVRAMQuality
Q4_K_M4.892.9 GBgood
Q5_K_S5.573.3 GBgood
Q5_K_M5.73.3 GBgood
Q6_K6.563.8 GBexcellent
Q8_08.54.7 GBlossless
FP16168.5 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN QWEN3 4B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (16)

MATH-50084.3
MATH82.0
HumanEval78.0
IFEval72.0
AIME52.3
AA Math52.3
GPQA Diamond51.7
MMLU-PRO48.0
LiveCodeBench37.7
BBH34.9
SciCode16.7
AA Intelligence12.9
AA Coding9.1
MUSR8.7
GPQA6.4
HLE4.7

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run qwen3:4b-q4_K_M

Downloads and runs automatically. Add --verbose for speed stats.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla C2050
3 GB VRAM • 144 GB/s
NVIDIA
NVIDIA Tesla M2050
3 GB VRAM • 148 GB/s
NVIDIA
NVIDIA Tesla S2050
3 GB VRAM • 148 GB/s
NVIDIA

Find the best GPU for Qwen3 4B

Build Hardware for Qwen3 4B

Qwen3 4B — thinking/non-thinking dual mode, strong reasoning at 4B.

▸ SPEC SHEET

Qwen3 4B4B Dense.

▸ SPECIFICATIONS
PARAMETERS
4B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
32K tokens
CAPABILITIES
chat, reasoning
RELEASE DATE
2025-04-28
PROVIDER
Alibaba
FAMILY
qwen
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.892.9 GB94%
Q5_K_S5.573.3 GB96%
Q5_K_M5.73.3 GB96%
Q6_K6.563.8 GB97%
Q8_08.54.7 GB100%
FP16168.5 GB100%
§ 01BENCHMARK SCORES
HumanEval78.0
MMLU-PRO48.0
MATH82.0
IFEval72.0
BBH34.9
GPQA6.4
MUSR8.7
GPQA Diamond51.7
LiveCodeBench37.7
AIME52.3
HLE4.7
AA Intelligence12.9
AA Coding9.1
AA Math52.3
aa_scicode16.7
MATH-50084.3
§ 02RUN COMMAND

Run Qwen3 4B locally with Ollama — needs 2.9 GB VRAM at Q4_K_M:

$ollama run qwen3:4b