Skip to content
llmmodels
Chat LLMOpen weightsHistorical

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.

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

Alternatives to Qwen2.5-Math-7B-Base
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Llama-3.1-8B-InstructopenMetaJul 20248B128K$0.02$0.04110.9
Llama 3-8BopenMetaApr 20248B———109.1
Gemma 7BopenGoogle DeepMindFeb 20248.5B———103.2
phi-3-small 7.4BopenMicrosoftApr 20247.4B———116.3
Gemma 2 9BopenGoogle DeepMindJun 20249.2B———112.4
Yi-9Bopen01.AIMar 20248.8B———102.2
DeepSeek LLM 7BopenDeepSeekJan 20247B————
deepseek-coder-7b-instruct-v1.5openDeepSeekJan 20246.9B————

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