Back to Models
Mistral: Codestral 2508
mistralai/codestral-2508Aug 1, 2025256K context$0.30/M in · $0.90/M out
Description
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.
Specifications
Provider
mistralai
Context Length
256K
Max Output
—
Modality
Intext
Outtext
Pricing
| Type | Price / 1M tokens |
|---|---|
| Input | $0.30 |
| Output | $0.90 |
| Cache Read | $0.03 |
Quick Start
curl https://api.ominigate.ai/v1/chat/completions \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/codestral-2508",
"messages": [{"role": "user", "content": "Hello!"}]
}'