POST /v1/messages using the model ID claude-haiku-5-5.
Key capabilities
- 1M context window — Supports up to 1M context tokens and 128K output tokens according to Anthropic’s model specification
- Adaptive thinking — On by default; use
output_config.effortto balance speed and depth - Fast routine work — Suited to classification, extraction, routing, and high-volume assistants
- Tool use and vision — Accepts text and image inputs and can return text or tool calls
- Model ID — Use
claude-haiku-5-5in requests
Quick example
Parameters
On AnyFast,
thinking: {"type":"disabled"} succeeded when output_config.effort was omitted; combining it with explicit effort: "low" returned 400. Forced tool_choice: {"type":"any"} succeeded and produced a tool_use block. Omit custom temperature, top_p, and top_k values, and read response content blocks by type.In a tested AnyFast text response, the request ID
claude-haiku-5-5 appeared as model: "claude-haiku-5.5". The response also included request_id, billing.billed_cost_usd as a string, and usage.service_tier. Keep using the hyphen-form ID in requests.API Reference
Review the Claude Haiku 5.5 request and response fields.