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 Latest
~anthropic/claude-haiku-latestTry Anthropic: Claude Haiku Latest 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 Latest at a glance
- Input price is 78% lower than the median of 434 Text models.
- Context window of 1,000,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.00123.
About Anthropic: Claude Haiku Latest
Claude Haiku Latest is a text generation model from Anthropic, exposed on api14 under the model id ~anthropic/claude-haiku-latest. The name reflects how the endpoint behaves: rather than pinning a single frozen snapshot, it always redirects to the latest model in the Claude Haiku family. That makes it the convenient choice when you want your integration to track Anthropic's current Haiku release without changing the model id in your code each time the family is updated.
On the input side the model accepts text, images and files, and it produces text output. The context window is 1,000,000 tokens, which is large enough to hold very long documents, extended conversation histories or sizeable codebases in a single request. The maximum output is 128,000 tokens, so responses can be long as well as the prompts that produce them. Because images and files are accepted alongside text, the model can work with mixed inputs rather than plain strings alone.
Those capabilities point to a fairly broad set of practical uses. Long context plus file input suits document analysis, summarisation and question answering over contracts, reports or research material. Image input extends the same workflow to screenshots, scanned pages and diagrams that need to be read and described in text. Tool calling and structured outputs make it a reasonable fit for extraction pipelines, classification, and agent style applications where the model has to return machine readable results or invoke functions. The large output budget helps when the task is to generate substantial text rather than a short answer.
You call the model through api14's OpenAI-compatible API using the model id ~anthropic/claude-haiku-latest, which means existing OpenAI SDK clients and request shapes generally carry over with minimal change. The supported request parameters are include_reasoning, max_completion_tokens, max_tokens, reasoning, reasoning_effort, response_format, stop, structured_outputs, tool_choice, tools and verbosity. In practice that covers output length control through max_tokens or max_completion_tokens, reasoning control through the reasoning, reasoning_effort and include_reasoning options, structured and constrained output through response_format and structured_outputs, stopping conditions through stop, and function or tool use through tools and tool_choice.
Because the endpoint always points at the newest Haiku model, behaviour can shift when Anthropic updates the family, so if you need strictly reproducible output over time, a pinned model id may serve you better. The model outputs text only, so tasks that require generated images, audio or other non-text artefacts fall outside what it can return. It is also a Haiku tier model, so if a workload demands the strongest reasoning Anthropic offers, a larger model in their lineup is likely the more appropriate pick.
How to call the Anthropic: Claude Haiku Latest 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-latest".
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-latest",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstool_choicetoolsverbositySpecifications
- Context length
- 1,000,000
- Max output
- 128,000
- Input
- text, image, file
- Output
- text
Requests on api14 · last 7 days
Anthropic: Claude Haiku Latest: frequently asked questions
- How much does the Anthropic: Claude Haiku Latest API cost?
- Anthropic: Claude Haiku Latest costs Input $0.35 / 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 Latest?
- Anthropic: Claude Haiku Latest reads up to 1,000,000 tokens per request: prompt, history and documents together. It writes up to 128,000 output tokens per response.
- What can Anthropic: Claude Haiku Latest do?
- Anthropic: Claude Haiku Latest accepts text, image, file and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call Anthropic: Claude Haiku Latest from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "~anthropic/claude-haiku-latest". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Anthropic: Claude Haiku Latest?
- Comparable Text models at a similar price: Anthropic: Claude Haiku 5.5, OpenAI: GPT-6 Luna Pro, OpenAI: GPT-6 Luna. Each runs through the same API key, so switching is one string.
Anthropic: Claude Haiku Latest community
New topicThis community has no topics yet. Open the first one about Anthropic: Claude Haiku Latest.