AI Gateway

/

Mistral Codestral 25.01

Mistral Codestral 25.01 by Mistral

Mistral Codestral 25.01 is a state-of-the-art coding model optimized for low-latency, high-frequency use cases. Proficient in over 80 programming languages, it excels at tasks like fill-in-the-middle (FIM), code correction, and test generation.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'mistral/codestral',
prompt: 'Why is the sky blue?'
})