Skip to content
llmmodels
Code modelOpen weights

Qwen2.5-Coder (7B)

by Alibaba (Qwen) · Sep 18, 2024

Qwen2.5-Coder (7B) is an open-weight code model from Alibaba (Qwen), released Sep 18, 2024. It has 7.6B parameters. It scores 107.4 on the Epoch Capabilities Index.

Released
Sep 18, 2024
Type
Code model
Parameters
7.6B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
apache-2.0
Knowledge cutoff
—
Status
Open weights
Training compute
2.5e+23 FLOP
HF downloads (30d)
1.6M

About Qwen2.5-Coder (7B)

In this report, we introduce the Qwen2.5-Coder series, a significant upgrade from its predecessor, CodeQwen1.5. This series includes two models: Qwen2.5-Coder-1.5B and Qwen2.5-Coder-7B. As a code-specific model, Qwen2.5-Coder is built upon the Qwen2.5 architecture and continues pretrained on a vast corpus of over 5.5 trillion tokens. Through meticulous data cleaning, scalable synthetic data generation, and balanced data mixing, Qwen2.5-Coder demonstrates impressive code generation capabilities while retaining general versatility.

Qwen2.5-Coder (7B) benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

How to run Qwen2.5-Coder (7B)

Qwen2.5-Coder (7B) is an open-weight model published on Hugging Face as Qwen/Qwen2.5-Coder-7B-Instruct. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 7.6B parameters it needs roughly 5 GB of memory at 4-bit quantization.

Qwen2.5-Coder (7B) vs alternatives

Alternatives to Qwen2.5-Coder (7B)
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Falcon3-7BopenTechnology Innovation InstituteDec 20247.5B————
Granite 3.0 8BopenIBMOct 20248.2B————
Phi-2openMicrosoftDec 20232.8B———96.2
MiniCPM-3-4BopenZhipu AI (Z.ai)Jun 20244B————
DeepSeek-R1-Distill-Qwen-7BopenDeepSeekJan 20257.6B————
DeepSeek-R1-Distill-Llama-8BopenDeepSeekJan 20258B————
MiMo-7B-BaseopenXiaomiJun 20257.8B————
OpenELM-3BopenAppleMay 20243B————

More models from Alibaba (Qwen)

All Alibaba (Qwen) models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Qwen3.8 27BopenAug 202628B1M$0.035$1.50
Qwen3.6 35B-A3BopenApr 202636B (3B act.)256K$0.375$2.25
Qwen3.5 397B-A17BopenFeb 2026403B (17B act.)256K$0.6$3.60
Qwen3.6 27BopenApr 202628B256K$0.6$3.60
Qwen3.5 35B-A3BopenFeb 202636B (3B act.)256K$0.25$2
Qwen3.5 9BopenFeb 20269.7B256K$0.17$0.25
Qwen3 32BopenApr 202533B128K$0.7$2.80
Qwen3.8 MaxAug 20262.4T1M$2$6

Frequently asked questions

Who made Qwen2.5-Coder (7B)?

Qwen2.5-Coder (7B) was developed by Alibaba (Qwen) (China). It was released on Sep 18, 2024.

Is Qwen2.5-Coder (7B) open source?

Yes. Qwen2.5-Coder (7B)'s weights are publicly available under the apache-2.0 license on Hugging Face (Qwen/Qwen2.5-Coder-7B-Instruct), so you can download and run it yourself.

How many parameters does Qwen2.5-Coder (7B) have?

Qwen2.5-Coder (7B) has 7.6B parameters.

How does Qwen2.5-Coder (7B) perform on benchmarks?

Qwen2.5-Coder (7B) scores 68.0% on MMLU, 86.7% on GSM8K and 76.8% on HellaSwag.

Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.