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.
import { streamText } from 'ai'
const result = streamText({ model: 'mistral/codestral', prompt: 'Why is the sky blue?'})Try out Mistral Codestral by Mistral. Usage is billed to your team at API rates. Free users get $5 of credits every 30 days, and you are considered a free user if you haven't made a payment.
Chat with
Powered by AI Gateway