Mistral Codestral
Mistral Codestral is Mistral AI's first dedicated code generation model, trained on 80+ programming languages with a context window of 128K tokens and fill-in-the-middle (FIM) support for in-context code completion.
import { streamText } from 'ai'
const result = streamText({ model: 'mistral/codestral', prompt: 'Why is the sky blue?'})Playground
Try out Mistral Codestral by Mistral AI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.