Codestral (latest)
cloudflare-ai-gateway/mistral/codestral-latest · family codestral · in: text → out: text · price provider-declared (via models.dev). Capabilities: tools text.
$0.45
Blended $/1M (3:1)
$0.3
Input $/1M
$0.9
Output $/1M
$1.20
1M in + 1M out
—
Cache read $/1M
#1999 of 5,912
Cheapest rank
- Provider
- Cloudflare AI Gateway (
cloudflare-ai-gateway) - Kind
- text (outputs text)
- Context
- 256,000 tokens
- Max output
- 4,096 tokens
- Capabilities
- tools text
Same model, other providers
“Codestral (latest)” is offered by 4 providers — cheapest-effective first. This one (Cloudflare AI Gateway) is the cheapest.
| Provider | Input | Output | Blended | Context |
|---|---|---|---|---|
| Cloudflare AI Gateway (this) | $0.3 | $0.9 | $0.45 | 256k |
| Merge Gateway | $0.3 | $0.9 | $0.45 | 256k |
| Mistral | $0.3 | $0.9 | $0.45 | 256k |
| Vercel AI Gateway | $0.3 | $0.9 | $0.45 | 256k |
Call it
jishie indexes & prices models; it does not proxy inference.
Most providers are OpenAI-compatible — point base_url at Cloudflare AI Gateway and pass this model id:
curl $BASE_URL/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"mistral/codestral-latest","messages":[{"role":"user","content":"hello"}]}'
Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):