Codestral Mamba 7BOpen Weight
Released
Codestral Mamba 7B is an AI model released by Mistral on Tuesday, Jul 16 2024, 48 days after Codestral 22B. It is an open-weight model — the trained weights are available to download and run. It is a 7B parameterThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality. model with a context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. of 256k tokens. Benchmark results (shown below) cover HumanEval.
Get Mistral releases and AI news.
Every other Monday
Benchmarks
Compare Codestral Mamba 7B with
Suggested comparisons
Codestral Mamba 7BvsMistral Large 4Codestral Mamba 7BvsGPT-6.2 AstraCodestral Mamba 7BvsClaude Fable 5.2Codestral Mamba 7BvsGemini 4 NeonCodestral Mamba 7BvsMuse EmberCodestral Mamba 7BvsGrok 4.7Codestral Mamba 7BvsDeepSeek-V4.1-Flash-1017Codestral Mamba 7BvsKimi K3.1 ProCodestral Mamba 7BvsGLM-5.4Codestral Mamba 7BvsQwen4-MaxCodestral Mamba 7BvsNemotron 3.5 Bolt E4B 4GBCodestral Mamba 7BvsErgoCodestral Mamba 7BvsMiniMax M4Codestral Mamba 7BvsMiMo-V2.6-ProAbout
Codestral Mamba 7B was introduced on July 16, 2024 as Mistral's exploration of a state-space architecture for coding. Unlike the transformer-based Codestral 22B, it used the Mamba design, whose inference properties offered an alternative approach to long sequences. Mistral tested in-context retrieval up to 256K tokens and presented the model as a potential local coding assistant.
The instructed model had roughly 7.3 billion parameters and was published under Apache 2.0. Mistral supplied deployment paths through its inference tooling and TensorRT-LLM, as well as a hosted endpoint for testing. The release's main significance was architectural: developers could explore code assistance with a compact state-space model rather than treating every coding model as another transformer of a different size.
Frequently asked questions
Codestral Mamba 7B was released by Mistral on Tuesday, Jul 16 2024.