Claude Haiku 4.5
Claude Haiku 4.5 matches Claude Sonnet 4's performance on coding, computer use, and agent tasks at substantially lower cost and faster speeds, making it a high-capability model in the Haiku line for high-throughput agentic deployments.
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-haiku-4.5', prompt: 'Why is the sky blue?'})About Claude Haiku 4.5
Claude Haiku 4.5 became available on AI Gateway on October 15, 2025. It matches Sonnet 4's performance on coding, computer use, and agent tasks at lower cost and faster speeds. Earlier Haiku generations told a similar story relative to their era's highest-tier release; Claude Haiku 4.5 applies it to the Claude 4 generation.
Workloads that previously required a Sonnet 4 deployment can now be evaluated against Claude Haiku 4.5. For organizations running large agent fleets or high-frequency pipelines, the cost differential between Haiku and Sonnet tiers compounds at scale.
Access Claude Haiku 4.5 by setting the model string to anthropic/claude-haiku-4.5 in the AI SDK, Chat Completions API, Responses API, Messages API, or other API formats, from TypeScript or Python. Through AI Gateway, you get observability for tracking usage and cost, bring-your-own-key support, and provider routing across anthropic, bedrock, vertexAnthropic.
Claude Haiku 4.5 inherits the Claude 4 generation's improvements in agentic task execution and instruction following. For teams building with the AI SDK v5, the integration requires only the model string update. No other code changes are needed for the common case.