Mistral AI
Codestral 2508
Released Aug 1, 2025 · 46B tokens this week · 2 providers
Overview
Mistral's code-specialised model, trained for fill-in-the-middle completion across dozens of languages. Tuned for editor autocomplete, where first-token latency matters more than depth. Handles long files thanks to its extended context window.
Providers
Reference data — not yet measured from live traffic
| PROVIDER | MAX OUT | OUTPUT /M | QUANT | |||||
|---|---|---|---|---|---|---|---|---|
Mistral AICheapest | 262K | 33K | $0.30 | $0.90 | 200ms | 210 | 99.85% | Full |
Azure AI Foundry | 131K | 33K | $0.34 | $1.01 | 300ms | 180 | 99.60% | Full |
Latency p50 reflects a provider’s API endpoint responsiveness — the round-trip to its API, not per-token inference time. These figures, with throughput and uptime, are reference data until the gateway aggregates its own traffic.
Price comparison
Blended $ per 1M tokens
Blended rate per 1M tokens, weighted one part prompt to three parts completion — roughly the shape of a chat workload. Your mix will move the number.
Call it
OpenAI-compatible — swap the base URL and go
curl https://model.cards/api/v1/chat/completions \
-H "Authorization: Bearer $MODELCARDS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/codestral-2508",
"messages": [
{ "role": "user", "content": "Summarize the tradeoffs of speculative decoding." }
]
}'