Model reference · open weights
Qwen2.5-Math is an open-weight language model from Qwen. Qwen2.5-Math-1.5B (BF16) weighs 3.1 GB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the Qwen/Qwen2.5-Math-1.5B model card, 2026-10-01
What it is
| Released by | Qwen |
|---|---|
| Released | 2024-09-16 |
| Parameters | 1.5B |
| VRAM | 3.1 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 4K each | |||
| RTX 3060 12 GB | 66 | all 4K | 11.6 GB |
| RTX 4060 Ti 16 GB | 99 | all 4K | 15.4 GB |
| RTX 3090 24 GB | 167 | all 4K | 23.4 GB |
| RTX 4090 24 GB | 166 | all 4K | 23.4 GB |
| RTX 5090 32 GB | 232 | all 4K | 31.0 GB |
| L40S 48 GB | 342 | all 4K | 44.0 GB |
| A100 80 GB | 633 | all 4K | 78.2 GB |
| H100 80 GB | 597 | all 4K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 731 | all 4K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 846 | all 4K | 107 GB |
| H200 141 GB | 1000+ | all 4K | 138 GB |
| B200 180 GB | 1000+ | all 4K | 176 GB |
| Requests at once | 4K tokens each |
|---|---|
| 1 | 3.9 GB |
| 5 | 4.4 GB |
| 8 | 4.7 GB |
| 16 | 5.7 GB |
| 32 | 7.5 GB |
| 64 | 11.3 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| Qwen2.5-Math-1.5B (above) ↗ | 1.5B | BF16 | 3.1 GB | RTX 3060 12 GB |
| Qwen2.5-Math-7B-Instruct ↗ | 7.6B | BF16 | 15.2 GB | 2× RTX 3060 12 GB |
From the model card
[!Warning]
🚨 Qwen2.5-Math mainly supports solving English and Chinese math problems through CoT and TIR. We do not recommend using this series of models for other tasks.
In August 2024, we released the first series of mathematical LLMs - Qwen2-Math - of our Qwen family. A month later, we have upgraded it and open-sourced Qwen2.5-Math series, including base models Qwen2.5-Math-1.5B/7B/72B, instruction-tuned models Qwen2.5-Math-1.5B/7B/72B-Instruct, and mathematical reward model Qwen2.5-Math-RM-72B.
While CoT plays a vital role in enhancing the reasoning capabilities of LLMs, it faces challenges in achieving computational accuracy and handling complex mathematical or algorithmic reasoning tasks, such as finding the roots of a quadratic equation or computing the eigenvalues of a matrix. TIR can further improve the model's proficiency in precise computation, symbolic manipulation, and algorithmic manipulation. Qwen2.5-Math-1.5B/7B/72B-Instruct achieve 79.7, 85.3, and 87.8 respectively on the MATH benchmark using TIR.
For more details, please refer to our blog post and GitHub repo.
transformers>=4.37.0 for Qwen2.5-Math models. The latest version is recommended.[!Warning]
🚨 This is a must because transformers integrated Qwen2 codes since 4.37.0.
For requirements on GPU memory and the respective throughput, see similar results of Qwen2 here.
[!Important]
Qwen2.5-Math-1.5B-Instruct is an instruction model for chatting;
Qwen2.5-Math-1.5B is a base model typically used for completion and few-shot inference, serving as a better starting point for fine-tuning.
If you find our work helpful, feel free to give us a citation.
@article{yang2024qwen25mathtechnicalreportmathematical,
title={Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement},
author={An Yang and Beichen Zhang and Binyuan Hui and Bofei Gao and Bowen Yu and Chengpeng Li and Dayiheng Liu and Jianhong Tu and Jingren Zhou and Junyang Lin and Keming Lu and Mingfeng Xue and Runji Lin and Tianyu Liu and Xingzhang Ren and Zhenru Zhang},
journal={arXiv preprint arXiv:2409.12122},
year={2024}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.