Skip to content
llmmodels
Code modelOpen weightsHistorical

Codestral Mamba

by Mistral AI · Jul 16, 2024

Codestral Mamba is an open-weight code model from Mistral AI, released Jul 16, 2024. It has 7.3B parameters.

Provider
Mistral AI
Released
Jul 16, 2024
Type
Code model
Parameters
7.3B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (permissive)
Knowledge cutoff
—
Status
Historical

About Codestral Mamba

Following the publishing of the Mixtral family, Codestral Mamba is another step in our effort to study and provide new architectures. It is available for free use, modification, and distribution, and we hope it will open new perspectives in architecture research. Codestral Mamba was designed with help from Albert Gu and Tri Dao. Unlike Transformer models, Mamba models offer the advantage of linear time inference and the theoretical ability to model sequences of infinite length. It allows users to engage with the model extensively with quick responses, irrespective of the input length.

How to run Codestral Mamba

Codestral Mamba 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 7.3B parameters it needs roughly 4 GB of memory at 4-bit quantization.

Codestral Mamba vs alternatives

Alternatives to Codestral Mamba
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Qwen2.5-Coder (7B)openAlibaba (Qwen)Sep 20247.6B———107.4
StarCoder 2 7BopenNVIDIAFeb 20247B———72.4
Falcon3-7BopenTechnology Innovation InstituteDec 20247.5B————
Qwen2.5 Instruct (7B)openAlibaba (Qwen)Sep 20247.6B————
Multi-Token Prediction 7BopenMetaApr 20246.7B————
LLaMA-3-Instruct-8BopenMetaApr 20248B————
Granite 3.0 8BopenIBMOct 20248.2B————
T-LiteopenT-BankDec 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 Codestral Mamba?

Codestral Mamba was developed by Mistral AI (France). It was released on Jul 16, 2024.

Is Codestral Mamba open source?

Yes. Codestral Mamba's weights are publicly available, so you can download and run it yourself.

How many parameters does Codestral Mamba have?

Codestral Mamba has 7.3B parameters.

Sources: epoch · paper. Last updated 2026-11-22.