Models / Qwen3 4B

AI-generated content marks

This model embeds text watermarks in generated text and adds C2PA provenance metadata to supported files such as .png, .jpg, and .svg. Marks can be lost through editing, screenshots, or format conversion, so their absence does not prove a file is human-made.

Provider transparency docs →

coding reasoning chat
Parameters
4.0B
Context
32k
License
apache 2.0
Developer
Alibaba
Origin
🇨🇳 China
Released
Apr 2025

Scores

Coding
58
Reasoning
60
General
56

Related models

Save your hardware and every model page answers the real question: will it run on your machine, and how fast?

Join free - save your rig →

Run it locally

Per-quant memory needs and a static "can you run it?" reference - no rig entry required

Q4_K_M
2.6GB 2.6GB min 3.0GB rec
Balanced - the usual local sweet spot

The reference hardware

Schematic of the 4x H100 80GB (320GB) reference rig - 320GB VRAM, 13400 GB/s aggregate bandwidth
Schematic of the NVIDIA DGX Station 748GB reference rig - 748GB unified memory, 8000 GB/s aggregate bandwidth
Schematic of the 8x RTX 3090 rack (192GB) reference rig - 192GB VRAM, 7489 GB/s aggregate bandwidth
Schematic of the 4x RTX 5090 (128GB) reference rig - 128GB VRAM, 7168 GB/s aggregate bandwidth
Schematic of the AMD Instinct MI300X (192GB) reference rig - 192GB VRAM, 5324 GB/s aggregate bandwidth
Schematic of the 4x RTX 4090 (96GB) reference rig - 96GB VRAM, 4032 GB/s aggregate bandwidth
Schematic of the 2x RTX 5090 (64GB) reference rig - 64GB VRAM, 3584 GB/s aggregate bandwidth
Schematic of the 2x RTX 3090 (48GB) reference rig - 48GB VRAM, 1872 GB/s aggregate bandwidth
Schematic of the Single RTX 5090 (32GB) reference rig - 32GB VRAM, 1792 GB/s aggregate bandwidth
Schematic of the RTX PRO 6000 Blackwell (96GB) reference rig - 96GB VRAM, 1792 GB/s aggregate bandwidth
Schematic of the Mac Studio M4 Ultra 192GB reference rig - 192GB unified memory, 1092 GB/s aggregate bandwidth
Schematic of the Mac Studio M4 Ultra 512GB reference rig - 512GB unified memory, 1092 GB/s aggregate bandwidth
Schematic of the Single RTX 4090 (24GB) reference rig - 24GB VRAM, 1008 GB/s aggregate bandwidth
Schematic of the MacBook Pro M5 Max 128GB reference rig - 128GB unified memory, 614 GB/s aggregate bandwidth
Schematic of the Single GTX 1080 Ti (11GB) reference rig - 11GB VRAM, 484 GB/s aggregate bandwidth
Schematic of the Dual EPYC 9004 + 768GB DDR5-4800 reference rig - 768GB unified memory, 460 GB/s aggregate bandwidth
Schematic of the DGX Spark 128GB unified reference rig - 128GB unified memory, 273 GB/s aggregate bandwidth
Schematic of the Ryzen AI Max+ 395 128GB reference rig - 128GB unified memory, 256 GB/s aggregate bandwidth
Schematic of the Jetson AGX Orin 64GB reference rig - 64GB unified memory, 204 GB/s aggregate bandwidth
Schematic of the Epyc + 512GB DDR4-3200 + 2x RTX 3090 reference rig - 560GB unified memory, 204 GB/s aggregate bandwidth
Schematic of the Epyc + 512GB DDR4-2400 + 2x RTX 3090 reference rig - 560GB unified memory, 153 GB/s aggregate bandwidth
Schematic of the NVIDIA Jetson Orin NX 16GB reference rig - 16GB unified memory, 102 GB/s aggregate bandwidth

22 reference configs, drawn in-house. Scroll for more.

Can you run it? - reference rigs

Rig Q4_K_M
4x H100 80GB (320GB) fast 2833.4t/s
NVIDIA DGX Station 748GB fast 1691.6t/s
8x RTX 3090 rack (192GB) fast 1583.7t/s
4x RTX 5090 (128GB) fast 1515.7t/s
AMD Instinct MI300X (192GB) fast 1125.9t/s
4x RTX 4090 (96GB) fast 852.6t/s
2x RTX 5090 (64GB) fast 757.8t/s
2x RTX 3090 (48GB) fast 395.9t/s
Single RTX 5090 (32GB) fast 378.9t/s
RTX PRO 6000 Blackwell (96GB) fast 378.9t/s
Mac Studio M4 Ultra 192GB fast 251.9t/s
Mac Studio M4 Ultra 512GB fast 251.9t/s
Single RTX 4090 (24GB) fast 213.1t/s
MacBook Pro M5 Max 128GB fast 141.6t/s
Single GTX 1080 Ti (11GB) fast 102.3t/s
Dual EPYC 9004 + 768GB DDR5-4800 fast 97.4t/s
DGX Spark 128GB unified fast 57.7t/s
Ryzen AI Max+ 395 128GB fast 54.1t/s
Jetson AGX Orin 64GB fast 43.3t/s
Epyc + 512GB DDR4-3200 + 2x RTX 3090 fast 43.3t/s
Epyc + 512GB DDR4-2400 + 2x RTX 3090 fast 32.5t/s
NVIDIA Jetson Orin NX 16GB fast 21.7t/s

Fit tiers use the same will-it-run logic as the rig finder. For comfortable fits, the badge reflects decode speed: fast >=20 t/s, ok 8-20 t/s, slow <8 t/s. t/s is a bandwidth estimate, not a measured benchmark.

Download options

Q4_K_M official -5% vs fp16
2.6GB dl 2.6GB min 3.0GB rec
REC RAM vs largest quant

Or run it in the cloud

No per-token API provider pricing tracked for Qwen3 4B yet. For flagship list prices, see the calculator.

See who runs Alibaba in production →

PRICE HISTORY

Inference cost over time

Data accumulates from the first daily sync - longer ranges populate over time. Prices come from OpenRouter snapshots, not a historical API.

Loading price history...