Mathstral
by Mistral AI · Jul 16, 2024
Mathstral is an open-weight chat llm from Mistral AI, released Jul 16, 2024. It has 7B parameters.
- Provider
- Mistral AI
- Released
- Jul 16, 2024
- Type
- Chat LLM
- Parameters
- 7B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
About Mathstral
We're contributing Mathstral to the science community to bolster efforts in advanced mathematical problems requiring complex, multi-step logical reasoning. The Mathstral release is part of our broader effort to support academic projects—it was produced in the context of our collaboration with Project Numina. Akin to Isaac Newton in his time, Mathstral stands on the shoulders of Mistral 7B and specializes in STEM subjects. It achieves state-of-the-art reasoning capacities in its size category across various industry-standard benchmarks.
How to run Mathstral
Mathstral 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.
Mathstral vs alternatives
- Mathstral vs Llama-3.1-8B-Instruct
- Mathstral vs Llama 3-8B
- Mathstral vs Gemma 7B
- Mathstral vs phi-3-small 7.4B
- Mathstral vs Gemma 2 9B
- Mathstral vs Qwen/Qwen2.5-7B-Instruct
| 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 |
| 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 |
| DeepSeek LLM 7Bopen | DeepSeek | Jan 2024 | 7B | — | — | — | — |
More models from Mistral AI
All Mistral AI models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Mistral Large 4 | Oct 2026 | 1.1T | 1M | $0.7 | $2.10 |
| Mistral Medium 3.5open | Apr 2026 | 128B | 256K | $1.50 | $7.50 |
| Mistral Medium 3 | May 2025 | — | 128K | $0.4 | $2 |
| Mistral Large 3open | Nov 2024 | 675B | 256K | $0.5 | $1.50 |
| Mistral Nemoopen | Jul 2024 | 12B | 128K | $0.029 | $0.03 |
| Mixtral 8x22B Instructopen | Apr 2024 | 141B | 64K | $2 | $6 |
| Mistral-7B-v0.1open | Sep 2023 | 7.2B | — | — | — |
| Mixtral 8x7Bopen | Dec 2023 | 47B | — | — | — |
Frequently asked questions
Who made Mathstral?
Mathstral was developed by Mistral AI (France). It was released on Jul 16, 2024.
Is Mathstral open source?
Yes. Mathstral's weights are publicly available, so you can download and run it yourself.
How many parameters does Mathstral have?
Mathstral has 7B parameters.
Sources: epoch · paper. Last updated 2026-11-22.