whatmodel.sh / Qwen3 4B Thinking 2507

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.

56.0±0.8#267 of 743 LLMsfrom 34 benchmark results across 9 sources

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.

#modelscorewhereRAMreleased
317DeepSeek-V2.5 (1210) DeepSeek56±1local~82GB2024-12
318Mistral Small 3.2 24B Mistral56±1api $0.11/M +local~15GB2025-06
319Qwen3 4B Thinking 2507 Alibaba56±1local~4.1GB2025-08
320QED-Nano LM Provers56±2local~4.1GB2026-02
321Yi-Lightning 01.AI56±1api price unknown2024-10
more from Alibaba
27Qwen3.8 Max (2.4T-A95B) Alibaba76±1api $3.00/M +local~594GB2026-08
46Qwen3.8 Max (0902) Alibaba74±1api $3.00/M2026-09
53Qwen3.8-Omni-Flash Alibaba73±1api $0.23/M2026-09

see all LLMs · find the ones that fit your machine

$ 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.

testresultvs the others in its rundifficultycountswhy
τ²-bench Telecom lab27.2% ✎▁·▅█▆▅▂▃▃▂▃▁ beats 20/89very hard · avg 14%▇▇▇ 8.3%sharp · at its level · small run
τ-bench Retail lab66.1% ✎▁····▃·▂▇█▂▆ beats 15/28medium · avg 43%▇ 2.6%at its level · small run
τ²-bench Retail lab53.5% ✎▁····▂▁▃▆█▃▁ beats 6/44hard · avg 34%▇ 2.3%at its level · small run
τ-bench Airline lab48.0% ✎▁▁▁·▅▄▁█▇▁▁▇ beats 17/28hard · avg 28%▇ 2.3%at its level · small run
τ²-bench Airline lab58.0% ✎▁▁·▂▁▃▂▁█▅▂▃ beats 25/42hard · avg 31%▇ 1.6%at its level · small run
BFCL v3 lab71.2% ✎▁▁▁▁▁▃▅█▆▅▄▁ beats 156/171medium · avg 61%▇ 0.9%blunt · at its level · small run
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.

testresultvs the others in its rundifficultycountswhy
LiveCodeBench v6 (Feb–May 2025) lab55.2% ✎▁▁▃▁█▅▄▇▅▅▃█ beats 8/38medium · avg 44%▇ 2.6%at its level · small run
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.

testresultvs the others in its rundifficultycountswhy
Arena-Hard v2 aggregate lab34.9% ✎▁▁··▄▃▁▃█▁▁▇ beats 2/22hard · avg 20%▇▇ 4.5%sharp · at its level · small run
IFEval (aggregation unspecified) lab87.4% ✎▁▂▄▂▂▄▆██▅▂▁ beats 88/145easy · avg 81%▇ 1.5%small run
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.

testresultvs the others in its rundifficultycountswhy
HMMT 2025 (edition unspecified) lab55.5% ✎▃█▇▅▇▅▁·▁··▁ beats 13/32medium · avg 35%▇▇ 6.2%sharp · at its level · small run
AIME 2025 lab81.3% ✎▁·▁▁▁▃▅▇█▆▃▁ beats 87/134medium · avg 60%▇▇ 5.3%sharp · small run
MathArena ArXivMath January 2026 (23 problems)23.9% ✎▃··▄▂▄█▆▆▄▄█ beats 0/23hard · avg 24%▇▇ 5.0%at its level
MathArena ArXivMath February 2026 (32 problems)18.0% ✎▁▃▁▁█▇▄▃▁▃·▃ beats 1/24very hard · avg 9.7%▇▇ 4.4%typical
MathArena ArXivMath December 2025 (17 problems)32.4% ✎▃·▃▃█▁·▄·▁▁▁ beats 2/18hard · avg 19%▇ 3.1%at its level
PolyMATH lab46.2% ✎▁···▃▁·▇█▄▄▄ beats 8/23medium · avg 35%▇ 2.2%at its level · small run
GSM8K94.9% ✎▃··▃··▃▃·▃·█ beats 7/7very easy · avg 93%▇ 1.4%sharp · maxed out · noisy
other tests17 not in a task · 45% of its score
testresultvs the others in its rundifficultycountswhy
MMLU-Pro lab +174.0% ✎▁▁·▁▁▁▃▂▄▅█▁ beats 98/189medium · avg 67%▇▇ 6.2%several runs
GPQA (subset unspecified) lab65.8% ✎▂▁▂▂▄▃▆▃▅█▃▃ beats 69/106medium · avg 52%▇▇ 5.9%sharp · at its level · small run
Medmarks-V weighted mean win rate (61 models, 71 configurations)48.9% ✎▂▃▅▂▆▃█▅█▅▃▆ beats 15/34medium · avg 42%▇▇ 5.6%blunt · at its level
BRIDGE clinical text, zero-shot average (87 tasks)40.0% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 76/97hard · avg 32%▇▇ 4.2%blunt · at its level
KINA (Knowledge Index of Noah's Ark) accuracy, 899 ten-option items24.8% ✎▁▁▂▁▃▄█▆▄▅▂▃ beats 9/39very hard · avg 22%▇ 3.5%typical
INCLUDE lab64.4% ✎▂····▂▂▄▄▄█▄ beats 15/36medium · avg 59%▇ 2.5%at its level · small run
OJBench lab17.9% ✎▁···▁▃·▅▄▅██ beats 5/26very hard · avg 14%▇ 2.5%small run
MMLU-Redux lab86.1% ✎▁▁▃▁▂▄▄▅▇▅█▄ beats 24/64easy · avg 82%▇ 2.4%small run
9 more tests
testresultvs the others in its rundifficultycountswhy
SuperGPQA lab47.8% ✎▂▁▂▂▅▆▃▇▇▇█▆ beats 18/48medium · avg 40%▇ 1.9%at its level · small run
Creative Writing v3 lab75.6% ✎▂····▃▆··▆█▆ beats 1/14easy · avg 66%▇ 1.7%small run
MMLU-ProX lab64.2% ✎▁·▁▁▁▃▁▃▃█▅▄ beats 6/36medium · avg 59%▇ 1.6%at its level · small run
WritingBench lab83.3% ✎▁·▁▂▁··▅█▂▂▁ beats 5/20easy · avg 72%▇ 1.6%small run
LiveBench 2024-11-25 lab71.8% ✎▄··▂·▃·▂█▆▂▂ beats 3/13medium · avg 62%▇ 1.5%at its level · small run
Open PT-LLM Leaderboard average (9 Portuguese tasks)59.1% ✎▃▁▁▁▁▁▁▁▃█▅▁ beats 87/276medium · avg 72%▇ 1.4%at its level · noisy
Multi-IF (aggregation unspecified) lab77.3% ✎▁▁▁▁▁▁▃▄█▄▁▂ beats 24/41easy · avg 65%▇ 1.3%at its level · small run
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy74.0% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 58/100medium · avg 67%▇ 1.1%sharp · at its level · noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy89.1% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 113/146easy · avg 82%▇ 0.6%noisy

$ 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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Qwen3 4B Thinking 2507 · needs 4.4 GB memory, 2.5 GB download · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/Qwen3-4B-Thinking-2507-GGUF:Q4_K_M
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Qwen3 4B Thinking 2507 · needs 4.4 GB memory, 2.5 GB download · from huggingface.co/lmstudio-community

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lmstudio-community/Qwen3-4B-Thinking-2507-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Qwen3 4B Thinking 2507 · needs 4.4 GB memory, 2.5 GB download · from ollama.com
    chat in the terminal
    ollama run qwen3:4b

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Qwen3 4B Thinking 2507 · needs 4.1 GB memory, 2.26 GB download, Mac only · from huggingface.co/lmstudio-community
    chat in the terminal
    mlx_lm.chat --model lmstudio-community/Qwen3-4B-Thinking-2507-MLX-4bit
  3. 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

$ 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 GBq4_k_m35.05 tok/sollama (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 only
note

Community 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 RAMq4_k_m5.9 tok/sollama (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 only
note

Community 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 RAMq4_k_m · layers offloaded35.53 tok/sollama (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 only
note

Community 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 2080q4_k_m99.02 tok/sollama (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 only
note

Community 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 2080q4_k_m99.47 tok/sollama (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 only
note

Community 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.

precisiontestfull → quantizedkept
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 320000.894 → 0.906101.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.902100.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.94999.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 320000.738 → 0.72197.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.71396.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 320000.689 → 0.63391.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.958100.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 320000.894 → 0.89399.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.89899.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.72798.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 320000.738 → 0.71797.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 320000.689 → 0.66796.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