Mistral: Codestral 2508

mistralai/codestral-2508

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)

Context window
256,000 tokens
Input
text · file
Output
text
Relay support
Text & documents

Reference prices & points

Our global markup: 15% · 1 USD = 10,000 points · Price version 0

Billing unitOpenRouter / USDOur reference / USDPoints
Input / 1M tokens$0.3$0.3453,450
Output / 1M tokens$0.9$1.03510,350
Cache read / 1M tokens$0.03$0.0345345

Actual charge = the OpenRouter request cost × the markup locked for that request. Catalogue rates may be routing references; caching, long context, images and audio are charged when used. Listed prices do not mean every capability is available through this relay.

Catalogue time: 2026-11-11T23:20:32.714Z · Live catalogue

View all upstream price fields
{
  "prompt": "0.0000003",
  "completion": "0.0000009",
  "input_cache_read": "0.00000003"
}

Integration & availability

Use /v1/chat/completions for non-streaming, multi-turn conversations. Models marked for vision accept images; documents can be extracted to text in the workspace. Create a site API key and ensure you have enough points and the service is enabled. Provider availability, context and budget limits apply.

Read the API guide → · Back to model directory