Alibaba/Dense

AlibabaQwen3-4B Instruct 2507

Qwen3 4B refreshed (2507). Non-thinking instruct with 256K context — the most downloaded small local model on HuggingFace.

chatcodingreasoningmultilingualmathtool_use
4B
Parameters
256K
Context length
12
Benchmarks
6
Quantizations
4.5M
HF downloads
Architecture
Dense
Released
2025-08-05
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 INSTRUCT 2507 NOW

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

Community Ratings

Loading ratings...

Benchmarks (12)

IFEval83.4
MMLU-PRO69.6
GPQA Diamond62.0
AA Math52.3
AIME47.4
LiveCodeBench35.1
IFBench33.5
τ²-Bench26.6
SciCode18.1
AA Long Context7.3
AA Intelligence7.1
Terminal-Bench4.5

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run qwen3:4b-instruct-2507-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 Instruct 2507

Build Hardware for Qwen3-4B Instruct 2507
▸ SPEC SHEET

Qwen3-4B Instruct 25074B Dense.

▸ SPECIFICATIONS
PARAMETERS
4B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
256K tokens
CAPABILITIES
chat, coding, reasoning, multilingual, math, tool_use
RELEASE DATE
2025-08-05
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
MMLU-PRO69.6
IFEval83.4
aa_ifbench33.5
aa_terminal_bench4.5
aa_tau226.6
aa_scicode18.1
aa_lcr7.3
LiveCodeBench35.1
AIME47.4
GPQA Diamond62.0
AA Intelligence7.1
AA Math52.3
§ 02RUN COMMAND

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

$ollama run qwen3:4b-instruct-2507