whatmodel.sh / Qwen3 4B Thinking 2507
Qwen3 4B Thinking 2507
↗ share
+ contribute
Qwen3 4B Thinking 2507 is an open-weights language model from Alibaba, released August 2025. Its published size is 4.02B parameters and a 262k-token context window. Licence: apache-2.0.
$ how it compares
The LLMs ranked either side of Qwen3 4B Thinking 2507, out of 828 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 285 | 57±1 | comparison only | |||
| 286 | 57±1 | api $0.74/M +local | |||
| 287 | 57±1 | local | |||
| 288 | 56±1 | comparison only | |||
| 289 | 56±1 | comparison only | |||
| more from Alibaba | |||||
| 18 | 78±1 | api $3.00/M +local | |||
| 34 | 76±1 | api $3.00/M | |||
| 37 | 75±1 | local | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #166 of 300 · 19% of its score · 6 tests
Beats o1 (2024-12-17), o3-mini, DeepSeek R1 0528 here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Mini, Jamba 1.5 Large here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| τ²-bench Telecom lab | 27.2% ✎ | ▁·▅█▆▅▂▃▃▂▃▁ beats 20/89 | 8.4% |
| τ-bench Retail lab | 66.1% ✎ | ▁····▃·▂▇█▂▆ beats 15/28 | 2.9% |
| τ-bench Airline lab | 48.0% ✎ | ▁▁▁·▅▄▁█▇▁▁▇ beats 17/28 | 2.5% |
| τ²-bench Retail lab | 53.5% ✎ | ▁····▂▁▃▆█▃▁ beats 6/44 | 2.4% |
| τ²-bench Airline lab | 58.0% ✎ | ▁▁·▂▁▃▂▁█▅▂▃ beats 25/42 | 1.6% |
| BFCL v3 lab | 71.2% ✎ | ▁▁▁▁▁▃▅█▆▅▄▁ beats 155/170 | 0.9% |
coding▁▁▁▃▆██▇▆▄▃▁ #223 of 458 * · 2.8% of its score · 1 test
Beats Qwen3.5 4B, Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B) here, though they rank higher overall. Trails QwQ-32B-Preview, Ministral 3 3B Reasoning 2512, GPT-4 (0613) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveCodeBench v6 (Feb–May 2025) lab | 55.2% ✎ | ▁▁▃▁█▅▄▇▅▅▃█ beats 8/38 | 2.8% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #184 of 393 * · 6.6% of its score · 2 tests
Beats Seed-OSS 36B Instruct, Nemotron-Cascade-14B-Thinking, Granite 4.2 8B here, though they rank higher overall. Trails LFM2.5 1.2B Instruct, LFM2.5 1.2B Thinking, Gemma 3 12B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Arena-Hard v2 aggregate lab | 34.9% ✎ | ▁▁··▄▃▁▃█▁▁▇ beats 2/22 | 5.1% |
| IFEval (aggregation unspecified) lab | 87.4% ✎ | ▁▁▃▁▂▄▄▆█▃▂▁ beats 88/141 | 1.5% |
math▁▂▃▅▆▅▄█▄▁▁▁ #181 of 398 · 27% of its score · 6 tests
Beats MiniMax-M2.1, GPT-4.1, DeepSeek V3 0324 here, though they rank higher overall. Trails Phi-4-mini-reasoning 3.8B, OpenThinker3 7B, Olmo 3 7B Think here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HMMT 2025 (edition unspecified) lab | 55.5% ✎ | ▃█▇▅▇▅▁·▁··▁ beats 13/32 | 6.7% |
| MathArena ArXivMath January 2026 (23 problems) | 23.9% ✎ | ▃··▄▂▄█▆▆▄▄█ beats 0/23 | 5.4% |
| AIME 2025 lab | 81.3% ✎ | ▁·▁▁▁▂▅▆█▇▅▁ beats 87/133 | 5.3% |
| MathArena ArXivMath February 2026 (32 problems) | 18.0% ✎ | ▁▃▁▁█▇▄▃▁▃·▃ beats 1/24 | 4.5% |
| MathArena ArXivMath December 2025 (17 problems) | 32.4% ✎ | ▃·▃▃█▁·▄·▁▁▁ beats 2/18 | 3.1% |
| PolyMATH lab | 46.2% ✎ | ▁···▃▁·▇█▄▄▄ beats 8/23 | 2.3% |
other tests17 not in a task · 44% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Pro lab +1 | 74.0% ✎ | ▁▁·▁▁▁▃▂▄▅█▁ beats 98/188 | 6.2% |
| GPQA (subset unspecified) lab | 65.8% ✎ | ▂▁▂▂▄▃▆▃▅█▄▃ beats 68/104 | 5.9% |
| Medmarks-V weighted mean win rate (61 models, 71 configurations) | 48.9% ✎ | ▂▃▅▂▆▃█▅█▅▃▆ beats 15/34 | 4.8% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 40.0% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 76/97 | 3.5% |
| KINA (Knowledge Index of Noah's Ark) accuracy, 899 ten-option items | 24.8% ✎ | ▁▁▂▁▃▄█▆▄▅▂▃ beats 9/39 | 3.2% |
| INCLUDE lab | 64.4% ✎ | ▂····▂▂▄▄▄█▄ beats 15/36 | 2.7% |
| OJBench lab | 17.9% ✎ | ▁···▁▃·▅▄▅██ beats 5/26 | 2.7% |
| MMLU-Redux lab | 86.1% ✎ | ▁▁▃▁▂▃▄▅▇▅█▄ beats 23/63 | 2.5% |
9 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SuperGPQA lab | 47.8% ✎ | ▂▁▂▂▅▆▃▇▇▇█▃ beats 18/46 | 2.0% |
| Creative Writing v3 lab | 75.6% ✎ | ▂····▃▆··▆█▆ beats 1/14 | 1.9% |
| MMLU-ProX lab | 64.2% ✎ | ▁·▁▁▁▃▁▃▂█▅▄ beats 6/35 | 1.7% |
| WritingBench lab | 83.3% ✎ | ▁·▁▂▁··▅█▂▂▁ beats 5/20 | 1.7% |
| LiveBench 2024-11-25 lab | 71.8% ✎ | ▄··▂·▃·▂█▆▂▂ beats 3/13 | 1.6% |
| Multi-IF (aggregation unspecified) lab | 77.3% ✎ | ▁▁▁▁▁▁▃▄█▄▁▂ beats 24/41 | 1.4% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 59.1% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 87/276 | 1.2% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 74.0% ✎ | ▃·▁▁▂▁▂▅█▇▄▁ beats 58/100 | 0.9% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 89.1% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 113/146 | 0.5% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Qwen3 4B Thinking 2507 · needs ~2.5 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/Qwen3-4B-Thinking-2507-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/Qwen3-4B-Thinking-2507-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen3 4B Thinking 2507 · needs ~2.5 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/Qwen3-4B-Thinking-2507-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Qwen3 4B Thinking 2507 · needs ~2.91 GB · from ollama.comchat in the terminal
ollama run qwen3:4b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Qwen3 4B Thinking 2507 · needs ~2.3 GB, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/Qwen3-4B-Thinking-2507-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/Qwen3-4B-Thinking-2507-MLX-4bit
Official weights and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · Qwen/Qwen3-4B-Thinking-2507 m… 69%, MathArena ArXivMath / BrokenA… 13%, Medmarks: A Comprehensive Ope… 5% and 5 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 23 | 69% | |
| 3 | 13% | |
| 1 | 5% | |
| 1 | 3% | |
| 1 | 3% | |
| 1 | 3% | |
| 2 | 1% | |
| 1 | 1% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 56.6 |
$ quantization evidence · 12 measurements
How much of the full-precision result a quantized version kept, measured within one study. Rows from the same study share a table and aren't independent.
| precision | test | full → quantized | kept | |
|---|---|---|---|---|
| INT4 W4A16 (weight-only INT4, symmetric, group 128; GPTQ, llm-compressor) | MATH-500 — published row 'Math 500'; lighteval (litellm endpoint to vLLM server), temperature 0.6, top_p 0.95, top_k 20, max_new_tokens 32000 | 0.894 → 0.906 | 101.3% | source ↗ |
| INT4 W4A16 (weight-only INT4, symmetric, group 128; GPTQ, llm-compressor) | IFEval — published row 'IfEval (0-shot)'; lm-evaluation-harness task ifeval via vLLM OpenAI-compatible server (backend local-chat-completions, chat template, --num_fewshot 0, gen_kwargs do_sample=True,temperature=0.6,top_p=0.95,top_k=20,min_p=0.0,max_gen_toks=64000) | 0.902 → 0.902 | 100.0% | source ↗ |
| INT4 W4A16 (weight-only INT4, symmetric, group 128; GPTQ, llm-compressor) | GSM8K-Platinum — published row 'GSM8k Platinum (0-shot)'; lm-evaluation-harness task gsm8k_platinum_cot_llama via vLLM OpenAI-compatible server (backend local-chat-completions, chat template, --num_fewshot 0, gen_kwargs do_sample=True,temperature=0.6,top_p=0.95,top_k=20,min_p=0.0,max_gen_toks=64000) | 0.953 → 0.949 | 99.6% | source ↗ |
| INT4 W4A16 (weight-only INT4, symmetric, group 128; GPTQ, llm-compressor) | AIME 2025 — published row 'AIME 2025'; lighteval (litellm endpoint to vLLM server), temperature 0.6, top_p 0.95, top_k 20, max_new_tokens 32000 | 0.738 → 0.721 | 97.7% | source ↗ |
| INT4 W4A16 (weight-only INT4, symmetric, group 128; GPTQ, llm-compressor) | MMLU-Pro — published row 'MMLU-Pro (0-shot)'; lm-evaluation-harness task mmlu_pro_chat via vLLM OpenAI-compatible server (backend local-chat-completions, chat template, --num_fewshot 0, gen_kwargs do_sample=True,temperature=0.6,top_p=0.95,top_k=20,min_p=0.0,max_gen_toks=64000) | 0.736 → 0.713 | 96.9% | source ↗ |
| INT4 W4A16 (weight-only INT4, symmetric, group 128; GPTQ, llm-compressor) | GPQA Diamond — published row 'GPQA diamond'; lighteval (litellm endpoint to vLLM server), temperature 0.6, top_p 0.95, top_k 20, max_new_tokens 32000 | 0.689 → 0.633 | 91.8% | source ↗ |
| INT8 W8A8 (weights INT8 per-channel, activations INT8 per-token dynamic; SmoothQuant+GPTQ, llm-compressor) | GSM8K-Platinum — published row 'GSM8k Platinum (0-shot)'; lm-evaluation-harness task gsm8k_platinum_cot_llama via vLLM OpenAI-compatible server (backend local-chat-completions, chat template, --num_fewshot 0, gen_kwargs do_sample=True,temperature=0.6,top_p=0.95,top_k=20,min_p=0.0,max_gen_toks=64000) | 0.953 → 0.958 | 100.5% | source ↗ |
| INT8 W8A8 (weights INT8 per-channel, activations INT8 per-token dynamic; SmoothQuant+GPTQ, llm-compressor) | MATH-500 — published row 'Math 500'; lighteval (litellm endpoint to vLLM server), temperature 0.6, top_p 0.95, top_k 20, max_new_tokens 32000 | 0.894 → 0.893 | 99.8% | source ↗ |
| INT8 W8A8 (weights INT8 per-channel, activations INT8 per-token dynamic; SmoothQuant+GPTQ, llm-compressor) | IFEval — published row 'IfEval (0-shot)'; lm-evaluation-harness task ifeval via vLLM OpenAI-compatible server (backend local-chat-completions, chat template, --num_fewshot 0, gen_kwargs do_sample=True,temperature=0.6,top_p=0.95,top_k=20,min_p=0.0,max_gen_toks=64000) | 0.902 → 0.898 | 99.6% | source ↗ |
| INT8 W8A8 (weights INT8 per-channel, activations INT8 per-token dynamic; SmoothQuant+GPTQ, llm-compressor) | MMLU-Pro — published row 'MMLU-Pro (0-shot)'; lm-evaluation-harness task mmlu_pro_chat via vLLM OpenAI-compatible server (backend local-chat-completions, chat template, --num_fewshot 0, gen_kwargs do_sample=True,temperature=0.6,top_p=0.95,top_k=20,min_p=0.0,max_gen_toks=64000) | 0.736 → 0.727 | 98.8% | source ↗ |
| INT8 W8A8 (weights INT8 per-channel, activations INT8 per-token dynamic; SmoothQuant+GPTQ, llm-compressor) | AIME 2025 — published row 'AIME 2025'; lighteval (litellm endpoint to vLLM server), temperature 0.6, top_p 0.95, top_k 20, max_new_tokens 32000 | 0.738 → 0.717 | 97.2% | source ↗ |
| INT8 W8A8 (weights INT8 per-channel, activations INT8 per-token dynamic; SmoothQuant+GPTQ, llm-compressor) | GPQA Diamond — published row 'GPQA diamond'; lighteval (litellm endpoint to vLLM server), temperature 0.6, top_p 0.95, top_k 20, max_new_tokens 32000 | 0.689 → 0.667 | 96.7% | source ↗ |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json