Skip to content
llmmodels
Chat LLMOpen weightsHistorical

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

Alternatives to Mathstral
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
Qwen/Qwen2.5-7B-InstructopenAlibaba (Qwen)Sep 20247.6B33K$0.05$0.05—
Yi-9Bopen01.AIMar 20248.8B———102.2
DeepSeek LLM 7BopenDeepSeekJan 20247B————

More models from Mistral AI

All Mistral AI models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Mistral Large 4Oct 20261.1T1M$0.7$2.10
Mistral Medium 3.5openApr 2026128B256K$1.50$7.50
Mistral Medium 3May 2025—128K$0.4$2
Mistral Large 3openNov 2024675B256K$0.5$1.50
Mistral NemoopenJul 202412B128K$0.029$0.03
Mixtral 8x22B InstructopenApr 2024141B64K$2$6
Mistral-7B-v0.1openSep 20237.2B———
Mixtral 8x7BopenDec 202347B———

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.