Text model
Claude Haiku 4.5
Model ID: anthropic-claude-haiku-4-5
Capabilities
| Capability | Supported |
|---|---|
| Vision (image input) | Yes |
| Document input | Yes |
| Audio input | No |
| Tool calling | Yes |
| Thinking | No |
Thinking
This model does not expose a controllable thinking mode. Sending reasoning_effort has no effect on it.
Parameters
Every field below except brand is relayed to the upstream gateway untouched. Parameters beyond this list may work but are not guaranteed. brand is the one field AI HUB consumes.
| Parameter | Type | Notes |
|---|---|---|
model |
string | Required. A published model slug (see Models). |
messages |
array | Required. Role/content turns: system, user, assistant. |
stream |
boolean | Optional. Stream tokens as server-sent events. Defaults to false. |
temperature |
number | Optional. Relayed to the model untouched. |
max_tokens |
integer | Optional. Caps the response length. |
top_p |
number | Optional. Relayed to the model untouched. |
stop |
string | array | Optional. One stop string or an array of them. Relayed to the model untouched. |
response_format |
object | Optional. Relayed to the model untouched. Support varies by model. |
tools |
array | Optional. Function/tool definitions. Relayed to the model untouched. Support varies by model. |
tool_choice |
string | object | Optional. Relayed to the model untouched. |
seed |
integer | Optional. Relayed to the model untouched. Support varies by model. |
reasoning_effort |
string | Optional. low, medium, or high. Only has an effect on a thinking-capable model, as listed on that model's own page. |
brand |
string | Optional. A company profile id from the account. Unlike every other field here, this one is NOT relayed. AI HUB consumes it, prepends the profile's voice as a system message, and removes it before the request reaches the model. |
knowledge |
string | array | Optional. A company profile id, or an array of up to 10 document ids, from the account. This field is NOT relayed. AI HUB retrieves the passages most relevant to the last user message, prepends them as a system message, and removes the field before the request reaches the model. Document ids are listed by GET /v1/knowledge. An unknown id returns 404 knowledge_not_found. |
Example
cURL
curl https://console.aimodelhub.ai/v1/chat/completions \
-H "Authorization: Bearer $AIHUB_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"anthropic-claude-haiku-4-5","messages":[{"role":"user","content":"Hello!"}]}'