DeepSeekMath 7B
by DeepSeek · Feb 5, 2024
DeepSeekMath 7B is an open-weight chat llm from DeepSeek, released Feb 5, 2024. It has 7B parameters.
- Provider
- DeepSeek
- Released
- Feb 5, 2024
- Type
- Chat LLM
- Parameters
- 7B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- other
- Knowledge cutoff
- —
- Status
- Open weights
- Training compute
- 1.0e+23 FLOP
- Training data
- 500B tokens/words
- HF downloads (30d)
- 2.1K
About DeepSeekMath 7B
Mathematical reasoning poses a significant challenge for language models due to its complex and structured nature. In this paper, we introduce DeepSeekMath 7B, which continues pre-training DeepSeek-Coder-Base-v1.5 7B with 120B math-related tokens sourced from Common Crawl, together with natural language and code data. DeepSeekMath 7B has achieved an impressive score of 51.7% on the competition-level MATH benchmark without relying on external toolkits and voting techniques, approaching the performance level of Gemini-Ultra and GPT-4.
How to run DeepSeekMath 7B
DeepSeekMath 7B is an open-weight model published on Hugging Face as deepseek-ai/deepseek-math-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 7B parameters it needs roughly 4 GB of memory at 4-bit quantization.
DeepSeekMath 7B vs alternatives
- DeepSeekMath 7B vs Llama-3.1-8B-Instruct
- DeepSeekMath 7B vs Llama 3-8B
- DeepSeekMath 7B vs Gemma 7B
- DeepSeekMath 7B vs Gemma 2 9B
- DeepSeekMath 7B vs Qwen/Qwen2.5-7B-Instruct
- DeepSeekMath 7B 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 |
| Gemma 2 9Bopen | Google DeepMind | Jun 2024 | 9.2B | — | — | — | 112.4 |
| Qwen/Qwen2.5-7B-Instructopen | Alibaba (Qwen) | Sep 2024 | 7.6B | 33K | $0.05 | $0.05 | — |
| Yi-9Bopen | 01.AI | Mar 2024 | 8.8B | — | — | — | 102.2 |
| Mistral Large (latest)open | Mistral AI | Nov 2024 | — | 125K | $0.5 | $1.50 | — |
| Qwen2.5-7Bopen | Alibaba (Qwen) | Sep 2024 | 7.6B | — | — | — | — |
More models from DeepSeek
All DeepSeek models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flashopen | Oct 2026 | 763B | 1M | $0.15 | $0.6 |
| DeepSeek V4 Flashopen | Apr 2026 | 304B | 1M | $0.044 | $0.3 |
| DeepSeek V4 Proopen | Aug 2026 | 1.6T | 1M | $0.66 | $1.98 |
| DeepSeek V3.2open | Dec 2025 | 685B | 160K | $0.26 | $0.38 |
| DeepSeek R1open | May 2025 | 684B | 160K | $0.571 | $2.29 |
| DeepSeek-V3.1open | Aug 2025 | 685B | 128K | $0.2 | $0.7 |
| DeepSeek-V3open | Dec 2024 | 684B | 64K | $0.32 | $0.89 |
| DeepSeek V3.2 Expopen | Sep 2025 | 685B | 160K | $0.27 | $0.41 |
Frequently asked questions
Who made DeepSeekMath 7B?
DeepSeekMath 7B was developed by DeepSeek (China,China,China). It was released on Feb 5, 2024.
Is DeepSeekMath 7B open source?
Yes. DeepSeekMath 7B's weights are publicly available under the other license on Hugging Face (deepseek-ai/deepseek-math-7b-instruct), so you can download and run it yourself.
How many parameters does DeepSeekMath 7B have?
DeepSeekMath 7B has 7B parameters.
Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.