Codestral 2508 (batch)
mistralai/
Mistral's cutting-edge language model for coding released end of July 2025.
$0.165 in · $0.495 out per 1M tokens256k contextAug 1, 2025
A typical message: about 500 tokens you send and 500 it writes.
Also:Codestral 2508
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.165provider $0.15
- Output, per 1M tokens
- $0.495provider $0.45
- Cached input, per 1M
- $0.0165provider $0.015
- 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
Measured speed and reliability appear here once this model has served requests through Antimatter.
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
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:batch", "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%3Abatch"><img src="https://useantimatter.com/api/badge/price?id=mistralai%2Fcodestral-2508%3Abatch" alt="Codestral 2508 (batch) 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.