We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Anthropic: Claude Haiku 4.5
anthropic/claude-haiku-4.5Try Anthropic: Claude Haiku 4.5 now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
Anthropic: Claude Haiku 4.5 at a glance
- Input price is 122% higher than the median of 434 Text models.
- Context window of 200,000 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Supports reasoning effort control.
- Accepts images as input (vision).
- A typical request (1,000 input / 500 output tokens) costs about $0.01.
About Anthropic: Claude Haiku 4.5
Claude Haiku 4.5 is a text generation model from Anthropic, released by the provider on 15 October 2025. It sits in Anthropic's Claude family as the fastest and most efficient option, positioned to deliver near-frontier intelligence at lower latency than the larger Claude models. If you already route Anthropic models through your stack, this is the small, quick member of that lineup rather than a separate lineage.
On input, the model accepts text, images and files, and it produces text only. The context window is 200,000 tokens, which is enough to hold long documents, extended conversations or a mix of prose and screenshots in a single request. The maximum output is 64,000 tokens, so long-form generations and detailed structured responses are both within range. Because images and files are accepted as input, you can send a PDF or a screenshot alongside your instructions and ask for a written answer, without a separate extraction step in front of the model.
Those capabilities point to a fairly specific set of jobs. Document review and summarisation over long files, question answering grounded in a pasted knowledge base, and extraction of structured data from mixed text and image inputs are all natural fits. The same profile suits chat assistants and agent loops where you want a capable model that returns quickly, and classification or routing steps that sit in front of a heavier model. Tool use and structured outputs make it usable as the reasoning component in a pipeline rather than just a chat endpoint.
Through api14 you call it with the model id "anthropic/claude-haiku-4.5" on the OpenAI-compatible API, so existing OpenAI SDK clients work with a changed base URL and model string. The request parameters it supports are include_reasoning, max_completion_tokens, max_tokens, reasoning, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k and top_p. In practice that covers sampling control (temperature, top_p, top_k), output length (max_tokens, max_completion_tokens), stopping conditions, JSON and schema-constrained responses via response_format and structured_outputs, and function calling via tools and tool_choice. The reasoning and include_reasoning parameters let you opt into reasoning behaviour and decide whether that reasoning is surfaced.
The main thing to weigh is scope. This is a text-output model, so anything requiring generated images, audio or video needs a different model. It is also the efficiency tier of the Claude family, so if a task genuinely needs the strongest reasoning Anthropic offers, a larger Claude model is the more appropriate choice and Haiku 4.5 is better used where speed and volume matter more than peak capability.
How to call the Anthropic: Claude Haiku 4.5 API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "anthropic/claude-haiku-4.5".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "anthropic/claude-haiku-4.5",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_ktop_pSpecifications
- Context length
- 200,000
- Max output
- 64,000
- Input
- text, image, file
- Output
- text
Requests on api14 · last 7 days
Anthropic: Claude Haiku 4.5: frequently asked questions
- How much does the Anthropic: Claude Haiku 4.5 API cost?
- Anthropic: Claude Haiku 4.5 costs Input $3.50 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Anthropic: Claude Haiku 4.5?
- Anthropic: Claude Haiku 4.5 reads up to 200,000 tokens per request: prompt, history and documents together. It writes up to 64,000 output tokens per response.
- What can Anthropic: Claude Haiku 4.5 do?
- Anthropic: Claude Haiku 4.5 accepts text, image, file and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call Anthropic: Claude Haiku 4.5 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "anthropic/claude-haiku-4.5". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Anthropic: Claude Haiku 4.5?
- Comparable Text models at a similar price: Google: Gemini 4 Argon (batch), OpenAI: GPT-6.1 Sol Pro (batch), OpenAI: GPT-6.1 Sol (batch). Each runs through the same API key, so switching is one string.
Anthropic: Claude Haiku 4.5 community
New topicThis community has no topics yet. Open the first one about Anthropic: Claude Haiku 4.5.