Try Hanzo
Mistral

Codestral 2508

Mistral's cutting-edge language model for coding released end of July 2025.

POST /v1/chat/completions
example
{ "model": "mistralai/codestral-2508", "messages": [{ "role": "user", "content": "Who are you?" }] }
Codestral 2508

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](https://mistral.ai/news/codestral-25-08)

256Ktext

Specifications

Context Window256K
Modalitiestext
Price…
Model IDmistralai/codestral-2508
TypeScript
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})

const response = await client.chat.completions.create({
  model: 'mistralai/codestral-2508',
  messages: [{ role: 'user', content: 'Hello!' }]
})

console.log(response.choices[0].message.content)
…

Use Codestral 2508 via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

Build what’s next.