AI Gateway

/

Claude 3 Haiku

Claude 3 Haiku by Anthropic

Claude 3 Haiku is Anthropic's fastest model yet, designed for enterprise workloads which often involve longer prompts. Haiku to quickly analyze large volumes of documents, such as quarterly filings, contracts, or legal cases, for half the cost of other models in its performance tier.

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