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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Qwen3 4B Thinking 2507, out of 897 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 317 | 56±1 | local | |||
| 318 | 56±1 | api $0.11/M +local | |||
| 319 | 56±1 | local | |||
| 320 | 56±2 | local | |||
| 321 | 56±1 | api price unknown | |||
| more from Alibaba | |||||
| 27 | 76±1 | api $3.00/M +local | |||
| 46 | 74±1 | api $3.00/M | |||
| 53 | 73±1 | api $0.23/M | |||
$ what it's good at
agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #181 of 319 · 18% 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.3% |
| τ-bench Retail lab | 66.1% ✎ | ▁····▃·▂▇█▂▆ beats 15/28 | 2.6% |
| τ²-bench Retail lab | 53.5% ✎ | ▁····▂▁▃▆█▃▁ beats 6/44 | 2.3% |
| τ-bench Airline lab | 48.0% ✎ | ▁▁▁·▅▄▁█▇▁▁▇ beats 17/28 | 2.3% |
| τ²-bench Airline lab | 58.0% ✎ | ▁▁·▂▁▃▂▁█▅▂▃ beats 25/42 | 1.6% |
| BFCL v3 lab | 71.2% ✎ | ▁▁▁▁▁▃▅█▆▅▄▁ beats 156/171 | 0.9% |
coding▁▁▁▃▆▇█▆▆▃▃▁ #239 of 474 * · 2.6% 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.6% |
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #194 of 405 * · 6.0% of its score · 2 tests
Beats Seed-OSS 36B Instruct, Gemma 2 9B IT SimPO, Nemotron-Cascade-14B-Thinking here, though they rank higher overall. Trails LFM2.5 1.2B Instruct, LFM2.5 1.2B Thinking, LFM2.5 8B-A1B 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 | 4.5% |
| IFEval (aggregation unspecified) lab | 87.4% ✎ | ▁▂▄▂▂▄▆██▅▂▁ beats 88/145 | 1.5% |
math▁▁▃▅█▆▅█▄▁▁▁ #198 of 440 · 28% of its score · 7 tests
Beats MiniMax-M2.1, DeepSeek V3 0324, DeepSeek V3 (Dec '24) here, though they rank higher overall. Trails Mixtral 8x7B v0.1 (base), Phi-4-mini-reasoning 3.8B, OpenThinker3 7B 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.2% |
| AIME 2025 lab | 81.3% ✎ | ▁·▁▁▁▃▅▇█▆▃▁ beats 87/134 | 5.3% |
| MathArena ArXivMath January 2026 (23 problems) | 23.9% ✎ | ▃··▄▂▄█▆▆▄▄█ beats 0/23 | 5.0% |
| MathArena ArXivMath February 2026 (32 problems) | 18.0% ✎ | ▁▃▁▁█▇▄▃▁▃·▃ beats 1/24 | 4.4% |
| MathArena ArXivMath December 2025 (17 problems) | 32.4% ✎ | ▃·▃▃█▁·▄·▁▁▁ beats 2/18 | 3.1% |
| PolyMATH lab | 46.2% ✎ | ▁···▃▁·▇█▄▄▄ beats 8/23 | 2.2% |
| GSM8K | 94.9% ✎ | ▃··▃··▃▃·▃·█ beats 7/7 | 1.4% |
other tests17 not in a task · 45% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Pro lab +1 | 74.0% ✎ | ▁▁·▁▁▁▃▂▄▅█▁ beats 98/189 | 6.2% |
| GPQA (subset unspecified) lab | 65.8% ✎ | ▂▁▂▂▄▃▆▃▅█▃▃ beats 69/106 | 5.9% |
| Medmarks-V weighted mean win rate (61 models, 71 configurations) | 48.9% ✎ | ▂▃▅▂▆▃█▅█▅▃▆ beats 15/34 | 5.6% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 40.0% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 76/97 | 4.2% |
| KINA (Knowledge Index of Noah's Ark) accuracy, 899 ten-option items | 24.8% ✎ | ▁▁▂▁▃▄█▆▄▅▂▃ beats 9/39 | 3.5% |
| INCLUDE lab | 64.4% ✎ | ▂····▂▂▄▄▄█▄ beats 15/36 | 2.5% |
| OJBench lab | 17.9% ✎ | ▁···▁▃·▅▄▅██ beats 5/26 | 2.5% |
| MMLU-Redux lab | 86.1% ✎ | ▁▁▃▁▂▄▄▅▇▅█▄ beats 24/64 | 2.4% |
9 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SuperGPQA lab | 47.8% ✎ | ▂▁▂▂▅▆▃▇▇▇█▆ beats 18/48 | 1.9% |
| Creative Writing v3 lab | 75.6% ✎ | ▂····▃▆··▆█▆ beats 1/14 | 1.7% |
| MMLU-ProX lab | 64.2% ✎ | ▁·▁▁▁▃▁▃▃█▅▄ beats 6/36 | 1.6% |
| WritingBench lab | 83.3% ✎ | ▁·▁▂▁··▅█▂▂▁ beats 5/20 | 1.6% |
| LiveBench 2024-11-25 lab | 71.8% ✎ | ▄··▂·▃·▂█▆▂▂ beats 3/13 | 1.5% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 59.1% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 87/276 | 1.4% |
| Multi-IF (aggregation unspecified) lab | 77.3% ✎ | ▁▁▁▁▁▁▃▄█▄▁▂ beats 24/41 | 1.3% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 74.0% ✎ | ▃·▁▁▂▁▂▅█▇▄▁ beats 58/100 | 1.1% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 89.1% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 113/146 | 0.6% |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 4.4 GB memory, 2.5 GB download · 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 4.4 GB memory, 2.5 GB download · 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 4.4 GB memory, 2.5 GB download · 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 4.1 GB memory, 2.26 GB download, 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
Model repository and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · Qwen/Qwen3-4B-Thinking-2507 m… 66%, MathArena ArXivMath / BrokenA… 12%, Medmarks: A Comprehensive Ope… 6% and 6 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 | 66% | |
| 3 | 12% | |
| 1 | 6% | |
| 1 | 4% | |
| 1 | 3% | |
| 1 | 3% | |
| 2 | 2% | |
| 1 | 1% | |
| 1 | 1% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 56.0 |
$ published speed measurements · 5
Reference results for the hardware, engine and settings below. They aren't verified speeds of the downloads above or predictions for your machine.
| Apple M4, 16 GB | q4_k_m | 35.05 tok/s | ollama (version not recorded) · llmfit bench 1.1.14 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (300 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-09 (Apple M4, 16 GB RAM, macos); 35.01–35.07 tok/s across runs. | source ↗ |
| Intel CoffeeLake-S GT2 [UHD Graphics 630] (integrated), 31 GB RAM | q4_k_m | 5.9 tok/s | ollama (version not recorded) · llmfit bench 1.1.12 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (246 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-02 (Intel(R) Core(TM) i5-9500T CPU @ 2.20GHz, 31 GB RAM, linux); 5.69–6.02 tok/s across runs. | source ↗ |
| Intel(R) Arc(TM) B390 GPU, 32 GB RAM | q4_k_m · layers offloaded | 35.53 tok/s | ollama (version not recorded) · llmfit bench 1.1.10 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (280 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-02 (Intel(R) Core(TM) Ultra X7 358H, 32 GB RAM, windows); 35.29–35.83 tok/s across runs. The download is larger than the GPU's memory, so Ollama ran part of it on the CPU. | source ↗ |
| RTX 2080 | q4_k_m | 99.02 tok/s | ollama (version not recorded) · llmfit bench 1.1.15 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (241 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-12 (Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz, 32 GB RAM, windows); 98.69–99.42 tok/s across runs. | source ↗ |
| RTX 2080 | q4_k_m | 99.47 tok/s | ollama (version not recorded) · llmfit bench 1.1.15 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (300 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-12 (Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz, 32 GB RAM, windows); 99.13–99.73 tok/s across runs. | source ↗ |
$ 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