Qwen2.5-Math-7B-Base
by Alibaba (Qwen) · Sep 19, 2024
Qwen2.5-Math-7B-Base is an open-weight chat llm from Alibaba (Qwen), released Sep 19, 2024. It has 7B parameters.
- Provider
- Alibaba (Qwen)
- Released
- Sep 19, 2024
- Type
- Chat LLM
- Parameters
- 7B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 8.6e+23 FLOP
About Qwen2.5-Math-7B-Base
A month ago, we released the first series of mathematical LLMs - Qwen2-Math - of our Qwen family. Today, 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. Unlike Qwen2-Math series which only supports using Chain-of-Thought (CoT) to solve English math problems, Qwen2.5-Math series is expanded to support using both CoT and Tool-integrated Reasoning (TIR) to solve math problems in both Chinese and English.
How to run Qwen2.5-Math-7B-Base
Qwen2.5-Math-7B-Base is an open-weight model. 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 7B parameters it needs roughly 4 GB of memory at 4-bit quantization.
Qwen2.5-Math-7B-Base vs alternatives
- Qwen2.5-Math-7B-Base vs Llama-3.1-8B-Instruct
- Qwen2.5-Math-7B-Base vs Llama 3-8B
- Qwen2.5-Math-7B-Base vs Gemma 7B
- Qwen2.5-Math-7B-Base vs phi-3-small 7.4B
- Qwen2.5-Math-7B-Base vs Gemma 2 9B
- Qwen2.5-Math-7B-Base vs Yi-9B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Llama-3.1-8B-Instructopen | Meta | Jul 2024 | 8B | 128K | $0.02 | $0.04 | 110.9 |
| Llama 3-8Bopen | Meta | Apr 2024 | 8B | — | — | — | 109.1 |
| Gemma 7Bopen | Google DeepMind | Feb 2024 | 8.5B | — | — | — | 103.2 |
| phi-3-small 7.4Bopen | Microsoft | Apr 2024 | 7.4B | — | — | — | 116.3 |
| Gemma 2 9Bopen | Google DeepMind | Jun 2024 | 9.2B | — | — | — | 112.4 |
| Yi-9Bopen | 01.AI | Mar 2024 | 8.8B | — | — | — | 102.2 |
| DeepSeek LLM 7Bopen | DeepSeek | Jan 2024 | 7B | — | — | — | — |
| deepseek-coder-7b-instruct-v1.5open | DeepSeek | Jan 2024 | 6.9B | — | — | — | — |
More models from Alibaba (Qwen)
All Alibaba (Qwen) models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Qwen3.8 27Bopen | Aug 2026 | 28B | 1M | $0.035 | $1.50 |
| Qwen3.6 35B-A3Bopen | Apr 2026 | 36B (3B act.) | 256K | $0.375 | $2.25 |
| Qwen3.5 397B-A17Bopen | Feb 2026 | 403B (17B act.) | 256K | $0.6 | $3.60 |
| Qwen3.6 27Bopen | Apr 2026 | 28B | 256K | $0.6 | $3.60 |
| Qwen3.5 35B-A3Bopen | Feb 2026 | 36B (3B act.) | 256K | $0.25 | $2 |
| Qwen3.5 9Bopen | Feb 2026 | 9.7B | 256K | $0.17 | $0.25 |
| Qwen3 32Bopen | Apr 2025 | 33B | 128K | $0.7 | $2.80 |
| Qwen3.8 Max | Aug 2026 | 2.4T | 1M | $2 | $6 |
Frequently asked questions
Who made Qwen2.5-Math-7B-Base?
Qwen2.5-Math-7B-Base was developed by Alibaba (Qwen) (China). It was released on Sep 19, 2024.
Is Qwen2.5-Math-7B-Base open source?
Yes. Qwen2.5-Math-7B-Base's weights are publicly available, so you can download and run it yourself.
How many parameters does Qwen2.5-Math-7B-Base have?
Qwen2.5-Math-7B-Base has 7B parameters.
Sources: epoch · paper. Last updated 2026-11-22.