whatmodel.sh / Qwen2.5 Coder 0.5B Instruct

Qwen2.5 Coder 0.5B Instruct is an open-weights language model from Alibaba, released November 2024. Its published size is 0.49B parameters and a 33k-token context window. Licence: apache-2.0.

Catalogue identity notes

Qwen/Qwen2.5-Coder-0.5B-Instruct @ea3f247 (created 2024-11-06, licence apache-2.0). Smallest Qwen2.5-Coder instruct model. Lab rows from the Qwen2.5-Coder report (rule b) in runs with the catalogued 1.5B/7B/14B/32B and CodeQwen1.5 siblings; independent Aider code-editing row.

Model information sources

Release date ↗ · Weights licence ↗

HF safetensors metadata 494,032,768 parameters (Qwen/Qwen2.5-Coder-0.5B-Instruct @ea3f247).

38.3±1.1#601 of 743 LLMsfrom 9 benchmark results across 2 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Qwen2.5 Coder 0.5B Instruct, out of 897 with a score, then more from Alibaba.

#modelscorewhereRAMreleased
711Falcon3 3B Instruct TII38±3local~3.4GB2024-12
712Granite 3.2 2B Instruct IBM38±1local~3GB2025-02
713Qwen2.5 Coder 0.5B Instruct Alibaba38±1local~1GB2024-11
714Vicuna 13B v1.5 LMSYS38±1local~9.8GB2023-08
715Zephyr 7B alpha Hugging Face38±1local~6.1GB2023-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

coding▁▁▁▃▆▇█▆▆▃▃▁ #415 of 474 · 96% of its score · 8 tests

Beats DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B, DeepSeek R1 Distill Llama 8B here, though they rank higher overall. Trails EXAONE 3.5 2.4B Instruct, Code Llama 7B Instruct, Qwen2.5 1.5B Instruct here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
HumanEval lab61.6% ✎▄·▄···█··█·▄ beats 0/6easy · avg 85%▇▇▇▇▇▇▇▇▇▇▇ 27%sharp · at its level
HumanEval+ lab57.3% ✎▄·▄····▄▄·▄█ beats 0/6easy · avg 81%▇▇▇▇▇▇▇▇ 20%sharp · at its level
Aider code editing (133 Exercism Python exercises, two attempts)14.3% ✎▃·▁▂▄▁▆▄█▆▂▂ beats 0/62medium · avg 51%▇▇▇▇▇▇▇ 17%sharp
MBPP lab52.4% ✎█···███·██·█ beats 0/6easy · avg 77%▇▇▇▇▇ 12%at its level
MultiPL-E lab49.6% ✎▄·▄····▄▄·▄█ beats 0/6easy · avg 70%▇▇▇ 8.3%at its level
MBPP+ lab43.7% ✎▄····▄▄·▄·█▄ beats 0/6easy · avg 66%▇▇▇ 7.1%at its level
CRUXEval-I lab33.9% ✎█·██·█··█·██ beats 0/6medium · avg 56%▇ 3.1%at its level
CRUXEval-O lab27.8% ✎▄·█··▄·▄··▄▄ beats 0/6medium · avg 54%▇ 1.1%blunt · at its level
other tests1 not in a task · 3.2% of its score
testresultvs the others in its rundifficultycountswhy
BigCodeBench (Instruct) lab11.1% ✎▄······▄▄█·█ beats 0/6medium · avg 37%▇ 3.2%typical

$ 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

  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 0.5B Instruct · needs 1.2 GB memory, 0.49 GB download · from huggingface.co/Qwen (official)
    chat in the terminal
    llama cli -hf Qwen/Qwen2.5-Coder-0.5B-Instruct-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf Qwen/Qwen2.5-Coder-0.5B-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 0.5B Instruct · needs 1.2 GB memory, 0.49 GB download · from huggingface.co/Qwen (official)

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/Qwen/Qwen2.5-Coder-0.5B-Instruct-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Qwen2.5 Coder 0.5B Instruct · needs 1.1 GB memory, 0.4 GB download · from ollama.com
    chat in the terminal
    ollama run qwen2.5-coder:0.5b

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 0.5B Instruct · needs 1 GB memory, 0.28 GB download, Mac only · from huggingface.co/lmstudio-community
    chat in the terminal
    mlx_lm.chat --model lmstudio-community/Qwen2.5-Coder-0.5B-Instruct-MLX-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model lmstudio-community/Qwen2.5-Coder-0.5B-Instruct-MLX-4bit

Model repository and documentation: huggingface.co/Qwen ↗

$ how the score was worked out · Qwen (Alibaba) vendor-reporte… 82%, Aider code editing benchmark… 17%

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

sourceresultsshare of the scorelicence
Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card) · maker-reported8Factual vendor-reported score (not licensed content)
Aider code editing benchmark runs (old edit leaderboard)1Apache-2.0
prior · pull toward the middle
weighted average= 38.3

$ 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