Claude Haiku 4.5
💬
Sign in to try Claude Haiku 4.5
Sign in with your Google account and top up credits to get started.
Sign in with GoogleUse via API
Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY — create a key in your dashboard
curl https://adverraai.com/hub/api/v1/chat/completions \
-H "Authorization: Bearer $ADVERRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-haiku-4.5",
"messages": [{"role": "user", "content": "Hello"}],
"stream": false
}'
# pip install openai
from openai import OpenAI
client = OpenAI(base_url="https://adverraai.com/hub/api/v1", api_key="YOUR_API_KEY")
r = client.chat.completions.create(
model="anthropic/claude-haiku-4.5",
messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)
const r = await fetch("https://adverraai.com/hub/api/v1/chat/completions", {
method: "POST",
headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
body: JSON.stringify({ model: "anthropic/claude-haiku-4.5", messages: [{ role: "user", content: "Hello" }] })
});
const data = await r.json();
console.log(data.choices[0].message.content, data.usage.credits);
Fully compatible with OpenAI Chat Completions: stream, temperature, max_tokens, tools, image messages, etc. The response includes usage.credits showing the credits used.
Parameters for this model
Send as JSON in the request body. Fields marked * are required.
| Parameter | Type | Allowed values | Default | Description |
|---|---|---|---|---|
model * |
string | – | – | ID of the model to call — anthropic/claude-haiku-4.5 |
messages * |
array | – | – | Conversation messages, each with role (system / user / assistant) and content |
max_tokens |
integer | – | – | Maximum tokens in the answer |
temperature |
number | 0 – 2 | 1 | Randomness of the answer; lower is steadier |
top_p |
number | 0 – 1 | 1 | Nucleus sampling threshold |
stream |
boolean | true, false | false | Stream the answer back in chunks (SSE) |
stop |
string | array | – | – | Sequences where generation stops |
tools |
array | – | – | Tools (functions) the model may call |
tool_choice |
string | object | – | – | Controls how tools are chosen |
response_format |
object | – | – | Forces an answer format such as JSON |
About this model
Claude Haiku 4.5 is a Chat & Text model by Anthropic
Input
PriceInput 55.20 · Output 276 credits per 1M tokens
Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...
Preparing details in English…