whatmodel.sh / Qwen2.5 Coder 7B Instruct

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.

52.2±1.0#341 of 743 LLMsfrom 15 benchmark results across 5 sources

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.

#modelscorewhereRAMreleased
408OpenCoder-8B-Instruct INF (infly)52±1local~6.5GB2024-11
409Granite 4.0 H Small (32B-A9B) IBM52±1api $0.11/M +local~21GB2025-09
410Qwen2.5 Coder 7B Instruct Alibaba52±1local~5.4GB2024-09
411Qwen2.5 14B Instruct Alibaba52±1local~11GB2024-09
412Gemma 3 12B Google52±1api $0.075/M +local~10GB2025-03
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

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.

testresultvs the others in its rundifficultycountswhy
LiveCodeBench official (Jan 1–Nov 1, 2024)26.2% ✎▁▁·▁▂▄▆█▅▂·▂ beats 13/31hard · avg 24%▇▇▇▇▇▇▇▇▇ 22%sharp · at its level
Aider code editing (133 Exercism Python exercises, two attempts)57.9% ✎▁·▁▂▄▁▆▄█▆▂▂ beats 26/62medium · avg 51%▇▇▇▇▇▇▇▇ 20%sharp · at its level
HumanEval lab88.4% ✎▄·▄···█··█·▄ beats 4/6easy · avg 85%▇▇▇▇ 11%sharp
HumanEval+ lab84.1% ✎▄·▄····▄▄·▄█ beats 4/6easy · avg 81%▇▇▇▇ 10%sharp
MBPP lab83.5% ✎█···███·██·█ beats 4/6easy · avg 77%▇▇▇ 6.4%typical
MultiPL-E lab76.5% ✎▄·▄····▄▄·▄█ beats 4/6easy · avg 70%▇▇ 5.5%at its level
MBPP+ lab71.7% ✎▄····▄▄·▄·█▄ beats 4/6easy · avg 66%▇▇ 5.0%at its level
CodeReviewQA: change localisation (hard), invariant accuracy10.7% ✎█▂▁▁▂▂▃▃▅▅▅▇ beats 17/47hard · avg 34%▇▇ 4.0%sharp · at its level · noisy
5 more tests
testresultvs the others in its rundifficultycountswhy
CodeReviewQA: solution identification (hard), invariant accuracy55.2% ✎▃··▁▂▂▃▂█▃▄▂ beats 30/47medium · avg 52%▇ 3.2%sharp · at its level · noisy
CodeReviewQA: automated code refinement, exact match rate41.0% ✎▁▁▁▁▁▁▂▂▃█▅▄ beats 40/47hard · avg 32%▇ 2.9%at its level
CRUXEval-I lab65.8% ✎█·██·█··█·██ beats 4/6medium · avg 56%▇ 2.5%at its level
CRUXEval-O lab65.9% ✎▄·█··▄·▄··▄▄ beats 4/6medium · avg 54%▇ 0.9%blunt · at its level
CodeReviewQA: change type recognition, invariant accuracy78.6% ✎▁▁▁······▁▃█ beats 43/47easy · avg 67%▇ 0.1%blunt · at its level · noisy
other tests2 not in a task · 5.9% of its score
testresultvs the others in its rundifficultycountswhy
BigCodeBench (Instruct) lab41.0% ✎▄······▄▄█·█ beats 4/6medium · avg 37%▇ 3.5%at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)71.7% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 187/276medium · avg 72%▇ 2.4%at its level · 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 Qwen2.5 Coder 7B Instruct · needs 5.8 GB memory, 4.68 GB download · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/Qwen2.5-Coder-7B-Instruct-GGUF:Q4_K_M
  3. 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

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

    download it (macOS / Windows / Linux) ↗

  2. Run Qwen2.5 Coder 7B Instruct · needs 5.8 GB memory, 4.68 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/Qwen2.5-Coder-7B-Instruct-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 Qwen2.5 Coder 7B Instruct · needs 5.8 GB memory, 4.68 GB download · from ollama.com
    chat in the terminal
    ollama run qwen2.5-coder:7b

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 Qwen2.5 Coder 7B Instruct · needs 5.4 GB memory, 4.28 GB download, Mac only · from huggingface.co/lmstudio-community
    chat in the terminal
    mlx_lm.chat --model lmstudio-community/Qwen2.5-Coder-7B-Instruct-MLX-4bit
  3. 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

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

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

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

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

precisiontestfull → quantizedkept
AQLM 4-bitBigCodeBench (Python) pass@10.41 → 0.41100.0%source ↗
AWQ 4-bitBigCodeBench (Python) pass@10.41 → 0.41100.0%source ↗
bitsandbytes NF4 (double quantization)BigCodeBench (Python) pass@10.41 → 0.3995.1%source ↗
GGUF Q4_K_MBigCodeBench (Python) pass@10.41 → 0.497.6%source ↗
GPTQ 4-bitBigCodeBench (Python) pass@10.41 → 0.41100.0%source ↗
QuIP# 4-bitBigCodeBench (Python) pass@10.41 → 0.3278.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