AI Gateway

Claude Haiku 4.5

anthropic/claude-haiku-4.5

Claude Haiku 4.5 matches Sonnet 4's performance on coding, computer use, and agent tasks at substantially lower cost and faster speeds. It delivers near-frontier performance and Claude’s unique character at a price point that works for scaled sub-agent deployments, free tier products, and intelligence-sensitive applications with budget constraints.

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