Skip to content
llmmodels
Code modelOpen weightsHistorical

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 →

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

Alternatives to Mistral 7B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5
LLaMA-7BopenMetaFeb 20236.7B———77.3
Code Llama-7BopenMetaAug 20236.7B————
Llemma 7BopenEleutherAIOct 20237B————
CodeGen2.5openSalesforceJul 20237B————
CRYSTALCODERopenG42 / Inception (UAE)Dec 20236.7B————
LingoWhale-8BopenDeepLang AINov 20238B————
Qwen2.5-Coder (7B)openAlibaba (Qwen)Sep 20247.6B———107.4

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