AI Gateway

Claude Opus 4.5

anthropic/claude-opus-4.5

Claude Opus 4.5 is Anthropic’s latest model in the Opus series, meant for demanding reasoning tasks and complex problem solving. This model has improvements in general intelligence and vision compared to previous iterations. In addition, it is suited for difficult coding tasks and agentic workflows, especially those with computer use and tool use, and can effectively handle context usage and external memory files.

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