Urgent
React2Shell security update
Auto-fix projectsLearn more

AI Gateway

Devstral 2

mistral/devstral-2

An enterprise-grade text model that excels at using tools to explore codebases, editing multiple files, and powering software engineering agents.

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