Qwen / text-generation updated 1 year ago

Qwen3-4B-Thinking-2507

Over the past three months, we have continued to scale the thinking capability of Qwen3-4B, improving both the quality and depth of reasoning. We are pleased to introduce Qwen3-4B-Thinking-2507, featuring the following key enhancements:

Params
4.0 B
Context
262,144
Downloads 30d
341 K
Likes
608
Commercial use: allowed apache-2.0 Not gated SAFETENSORS View on Hugging Face ↗

Download history

daily snapshots · 10 days
341 K307 K
Jul 28Jul 31Aug 3Aug 6

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict on RTX 4090 · 24 GB
model.safetensors bf16 8.0 GB 10.0 GB ✅ Runs comfortably
model.safetensors (bf16, full) bf16 + 256K ctx 8.0 GB 28.6 GB ❌ Won’t fit
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.

Run it

copy-paste, exact tags checked against the Hub
~ · curl · api/v1
$ curl -s https://aimodelscomparison.com/api/v1/models/qwen3-4b-thinking-2507
{
  "hf_id": "Qwen/Qwen3-4B-Thinking-2507",
  "params_b": 4.02,
  "context_length": 262144,
  "license": { "id": "apache-2.0", "commercial": "yes" },
  "downloads_30d": 340835,
  "vram_estimates": [
    { "quant": "bf16", "gb": 10.0 }
  ],
  "updated_at": "2026-07-28T18:06:33Z"
}
est. VRAM —on RTX 4090 · 24 GBJSON API →

Specifications

Architecture
Qwen3ForCausalLM
Parameters
4.0 B
Tensor type
BF16
Context length
262,144
Vocabulary
151,936
Layers / heads
36 / 32
Licence
apache-2.0
First seen on the Hub
2025-08-05
Training datasets
undisclosed
Added to our catalog
2026-07-28

Family

Base model and the most-downloaded derivatives in the catalog.