whatmodel.sh / Qwen2.5 Coder 7B Instruct
Qwen2.5 Coder 7B Instruct
↗ share
+ contribute
Qwen2.5 Coder 7B Instruct is an open-weights language model from Alibaba, released September 2024. Its published size is 7.62B parameters and a 131k-token context window. Licence: apache-2.0.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Qwen2.5 Coder 7B Instruct, out of 897 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 408 | 52±1 | local | |||
| 409 | 52±1 | api $0.11/M +local | |||
| 410 | 52±1 | local | |||
| 411 | 52±1 | local | |||
| 412 | 52±1 | api $0.075/M +local | |||
| 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
coding▁▁▁▃▆▇█▆▆▃▃▁ #257 of 474 · 94% of its score · 13 tests
Beats Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B), GLM-4.7-Flash here, though they rank higher overall. Trails QwQ-32B-Preview, InternLM2.5 20B Chat, Ministral 3 3B Reasoning 2512 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveCodeBench official (Jan 1–Nov 1, 2024) | 26.2% ✎ | ▁▁·▁▂▄▆█▅▂·▂ beats 13/31 | 22% |
| Aider code editing (133 Exercism Python exercises, two attempts) | 57.9% ✎ | ▁·▁▂▄▁▆▄█▆▂▂ beats 26/62 | 20% |
| HumanEval lab | 88.4% ✎ | ▄·▄···█··█·▄ beats 4/6 | 11% |
| HumanEval+ lab | 84.1% ✎ | ▄·▄····▄▄·▄█ beats 4/6 | 10% |
| MBPP lab | 83.5% ✎ | █···███·██·█ beats 4/6 | 6.4% |
| MultiPL-E lab | 76.5% ✎ | ▄·▄····▄▄·▄█ beats 4/6 | 5.5% |
| MBPP+ lab | 71.7% ✎ | ▄····▄▄·▄·█▄ beats 4/6 | 5.0% |
| CodeReviewQA: change localisation (hard), invariant accuracy | 10.7% ✎ | █▂▁▁▂▂▃▃▅▅▅▇ beats 17/47 | 4.0% |
5 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| CodeReviewQA: solution identification (hard), invariant accuracy | 55.2% ✎ | ▃··▁▂▂▃▂█▃▄▂ beats 30/47 | 3.2% |
| CodeReviewQA: automated code refinement, exact match rate | 41.0% ✎ | ▁▁▁▁▁▁▂▂▃█▅▄ beats 40/47 | 2.9% |
| CRUXEval-I lab | 65.8% ✎ | █·██·█··█·██ beats 4/6 | 2.5% |
| CRUXEval-O lab | 65.9% ✎ | ▄·█··▄·▄··▄▄ beats 4/6 | 0.9% |
| CodeReviewQA: change type recognition, invariant accuracy | 78.6% ✎ | ▁▁▁······▁▃█ beats 43/47 | 0.1% |
other tests2 not in a task · 5.9% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BigCodeBench (Instruct) lab | 41.0% ✎ | ▄······▄▄█·█ beats 4/6 | 3.5% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 71.7% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 187/276 | 2.4% |
$ 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 Qwen2.5 Coder 7B Instruct · needs 5.8 GB memory, 4.68 GB download · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/Qwen2.5-Coder-7B-Instruct-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/Qwen2.5-Coder-7B-Instruct-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen2.5 Coder 7B Instruct · needs 5.8 GB memory, 4.68 GB download · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/Qwen2.5-Coder-7B-Instruct-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 Qwen2.5 Coder 7B Instruct · needs 5.8 GB memory, 4.68 GB download · from ollama.comchat in the terminal
ollama run qwen2.5-coder:7b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Qwen2.5 Coder 7B Instruct · needs 5.4 GB memory, 4.28 GB download, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/Qwen2.5-Coder-7B-Instruct-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/Qwen2.5-Coder-7B-Instruct-MLX-4bit
Model repository and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · Qwen (Alibaba) vendor-reporte… 45%, LiveCodeBench official websit… 22%, Aider code editing benchmark… 20% and 2 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 |
|---|---|---|
| 8 | 45% | |
| 1 | 22% | |
| 1 | 20% | |
| 4 | 10% | |
| 1 | 2% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 52.2 |
$ published speed measurements · 3
Reference results for the hardware, engine and settings below. They aren't verified speeds of the downloads above or predictions for your machine.
| Intel 3rd Gen Core processor Graphics Controller (integrated), 16 GB RAM | q4_k_m | 2.26 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 (180 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-07 (Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 16 GB RAM, linux); 2.2–2.33 tok/s across runs. | source ↗ |
| Intel CoffeeLake-S GT2 [UHD Graphics 630] (integrated), 31 GB RAM | q4_k_m | 3.78 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 (162 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); 3.59–3.99 tok/s across runs. | source ↗ |
| RTX 4060 Laptop | q4_k_m | 47.73 tok/s | ollama (version not recorded) · llmfit bench 1.1.11 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (106 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-08-27 (AMD Ryzen 7 7735HS with Radeon Graphics, 31 GB RAM, windows); 44.72–50.12 tok/s across runs. | source ↗ |
$ quantization evidence · 6 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 | |
|---|---|---|---|---|
| AQLM 4-bit | BigCodeBench (Python) pass@1 | 0.41 → 0.41 | 100.0% | source ↗ |
| AWQ 4-bit | BigCodeBench (Python) pass@1 | 0.41 → 0.41 | 100.0% | source ↗ |
| bitsandbytes NF4 (double quantization) | BigCodeBench (Python) pass@1 | 0.41 → 0.39 | 95.1% | source ↗ |
| GGUF Q4_K_M | BigCodeBench (Python) pass@1 | 0.41 → 0.4 | 97.6% | source ↗ |
| GPTQ 4-bit | BigCodeBench (Python) pass@1 | 0.41 → 0.41 | 100.0% | source ↗ |
| QuIP# 4-bit | BigCodeBench (Python) pass@1 | 0.41 → 0.32 | 78.0% | 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