Codestral 2508
mistralai/
Mistral's cutting-edge language model for coding released end of July 2025.
$0.33 in · $0.99 out per 1M tokens256k contextAug 1, 2025
A typical message: about 500 tokens you send and 500 it writes.
Spec sheet
Published facts from the catalog, billed prices and what we measured here. Anything not measured says so.
Price, billed here
- Input, per 1M tokens
- $0.33provider $0.30
- Output, per 1M tokens
- $0.99provider $0.90
- Cached input, per 1M
- $0.033provider $0.03
- Margin
- +10%
Context and formats
- Context window
- 256,000 tokens
- Longest answer
- 204,800 tokens
- Reads
- text and files
- Makes
- text
- First listed
- 2025-08-01
Measured here, last 7 days
- First token, median
- not measured
- Answered without error
- not measured
Tools and JSON
- Tool calling
- declaredthe provider's claim, not yet measured here
- JSON output
- declaredthe provider's claim, not yet measured here
Price and latency history as JSON: GET /.
About
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
In Mistral's words.
Try it here
Measured here
Call it
Use one OpenAI compatible endpoint, this model's id and an am_live_ key from the dashboard. You can also try it in chat first with no key.
curl https://useantimatter.com/v1/chat/completions \
-H "Authorization: Bearer $ANTIMATTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "mistralai/codestral-2508", "messages": [{"role": "user", "content": "Hello"}]}'Everything else is in the docs.
Embed this
A badge showing this model's live price per million tokens, as billed here, for a README or a site. It links back to this page.
<a href="https://useantimatter.com/planet/mistralai/codestral-2508"><img src="https://useantimatter.com/api/badge/price?id=mistralai%2Fcodestral-2508" alt="Codestral 2508 price on Antimatter" height="28"></a>More from Mistral
Similar models from other labs
Closest in price and memory, from other labs.
Go back to the map, or take this model into a chat.