Mistral 7B
by Mistral AI · Oct 10, 2023
Mistral 7B is an open-weight code model from Mistral AI, released Oct 10, 2023. It has 7B parameters.
- Provider
- Mistral AI
- Released
- Oct 10, 2023
- Type
- Code model
- Parameters
- 7B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
About Mistral 7B
We introduce Mistral 7B v0.1, a 7-billion-parameter language model engineered for superior performance and efficiency. Mistral 7B outperforms Llama 2 13B across all evaluated benchmarks, and Llama 1 34B in reasoning, mathematics, and code generation. Our model leverages grouped-query attention (GQA) for faster inference, coupled with sliding window attention (SWA) to effectively handle sequences of arbitrary length with a reduced inference cost.
Mistral 7B benchmarks
All benchmarks →- GPQA Diamond13.2%
- MATH Level 53.7%
Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.
How to run Mistral 7B
Mistral 7B 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.
Mistral 7B vs alternatives
- Mistral 7B vs DeepSeek Coder 6.7B
- Mistral 7B vs LLaMA-7B
- Mistral 7B vs Code Llama-7B
- Mistral 7B vs Llemma 7B
- Mistral 7B vs CodeGen2.5
- Mistral 7B vs CRYSTALCODER
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| DeepSeek Coder 6.7Bopen | DeepSeek | Nov 2023 | 6.7B | — | — | — | 67.5 |
| LLaMA-7Bopen | Meta | Feb 2023 | 6.7B | — | — | — | 77.3 |
| Code Llama-7Bopen | Meta | Aug 2023 | 6.7B | — | — | — | — |
| Llemma 7Bopen | EleutherAI | Oct 2023 | 7B | — | — | — | — |
| CodeGen2.5open | Salesforce | Jul 2023 | 7B | — | — | — | — |
| CRYSTALCODERopen | G42 / Inception (UAE) | Dec 2023 | 6.7B | — | — | — | — |
| LingoWhale-8Bopen | DeepLang AI | Nov 2023 | 8B | — | — | — | — |
| Qwen2.5-Coder (7B)open | Alibaba (Qwen) | Sep 2024 | 7.6B | — | — | — | 107.4 |
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 Mistral 7B?
Mistral 7B was developed by Mistral AI (France). It was released on Oct 10, 2023.
Is Mistral 7B open source?
Yes. Mistral 7B's weights are publicly available, so you can download and run it yourself.
How many parameters does Mistral 7B have?
Mistral 7B has 7B parameters.
How does Mistral 7B perform on benchmarks?
Mistral 7B scores 13.2% on GPQA Diamond and 3.7% on MATH Level 5.
Sources: epoch · paper. Last updated 2026-11-22.