Codestral 2508

by Mistral AI Coding

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. [Blog Post](https://mistral.ai/news/codestral-25-08)

Choose a model to compare against Codestral 2508

Specifications

Specifications for Codestral 2508
LabMistral AI
Context window256K tokens
Input price $0.30/1M
Output price $0.90/1M
ReleaseAug 2025

Strengths

  • Specialized for coding with fill-in-the-middle (FIM) support
  • Low-latency design for high-frequency coding tasks
  • Strong at code correction and test generation
  • 256K context window for large codebase understanding
  • Mistral-grade quality at competitive pricing ($0.30/$0.90)

Weaknesses

  • Coding-specialized: weaker on general reasoning and creative tasks
  • Not a general-purpose chat model
  • Less suited for non-coding use cases

Best for

  • Code completion and fill-in-the-middle workflows
  • Automated test generation
  • Code review and correction
  • IDE integration for developer tooling

In Depth: Codestral 2508

Summary

Codestral 2508 is an AI model from Mistral AI.

Released in Aug 2025. It currently appears in the Overall category on LMRank. It takes text and file input and produces text output, with a context window of 256K tokens. Input pricing is $0.30 per 1M tokens and output is $0.90 per 1M tokens on OpenRouter.

Sources & Further Reading

Related Models