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
- Codestral Mamba vs Qwen2.5-Coder (7B)
- Codestral Mamba vs StarCoder 2 7B
- Codestral Mamba vs Falcon3-7B
- Codestral Mamba vs Qwen2.5 Instruct (7B)
- Codestral Mamba vs Multi-Token Prediction 7B
- Codestral Mamba vs LLaMA-3-Instruct-8B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Qwen2.5-Coder (7B)open | Alibaba (Qwen) | Sep 2024 | 7.6B | — | — | — | 107.4 |
| StarCoder 2 7Bopen | NVIDIA | Feb 2024 | 7B | — | — | — | 72.4 |
| Falcon3-7Bopen | Technology Innovation Institute | Dec 2024 | 7.5B | — | — | — | — |
| Qwen2.5 Instruct (7B)open | Alibaba (Qwen) | Sep 2024 | 7.6B | — | — | — | — |
| Multi-Token Prediction 7Bopen | Meta | Apr 2024 | 6.7B | — | — | — | — |
| LLaMA-3-Instruct-8Bopen | Meta | Apr 2024 | 8B | — | — | — | — |
| Granite 3.0 8Bopen | IBM | Oct 2024 | 8.2B | — | — | — | — |
| T-Liteopen | T-Bank | Dec 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 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.