AI Gateway

All Models/

Claude 3.7 Sonnet

Claude 3.7 Sonnet by Anthropic

Claude 3.7 Sonnet is the first hybrid reasoning model and Anthropic's most intelligent model to date. It delivers state-of-the-art performance for coding, content generation, data analysis, and planning tasks, building upon its predecessor Claude 3.5 Sonnet's capabilities in software engineering and computer use.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'anthropic/claude-3.7-sonnet',
prompt: 'Why is the sky blue?'
})