Mistral: Codestral 2508 — AI model
Mistral: Codestral 2508 is a AI model from Mistral AI, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.
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
Specs
| Vendor | Mistral AI |
|---|---|
| Type | text |
| Context window | 256,000 tokens |
| Pricing | $0.30/M in · $0.90/M out |
| API | chat_completions |
| Capabilities | Tools |
Code example
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/codestral-2508",
"messages": [{"role": "user", "content": "Hello!"}]
}'Use via Hormouz
Connect to this model and 450+ others with one API key — stable under heavy load and optimized for Iran.
Get started