Claude 3 Haiku

Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results [here](https://www.anthropic.com/news/claude-3-haiku) #multimodal

ChatAnthropic200k tokens$0.2725 / $1.3626 · 1M

anthropic/claude-3-haiku

Context
200k tokens
Completion cap
4,096
Tools
Yes
JSON
No
Released
2024-03-13

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-3-haiku",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is Claude 3 Haiku?
Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results [here](https://www.anthropic.com/news/claude-3-haiku) #multimodal Claude 3 Haiku runs on the Geek Hub API (OpenAI-compatible). Model id: anthropic/claude-3-haiku.
Is Claude 3 Haiku free?
No. Input is $0.2725 per 1M tokens and output is $1.3626 per 1M tokens on Geek Hub (markup included).
What is the context length of Claude 3 Haiku?
Claude 3 Haiku has a 200k tokens context window. It supports up to 4,096 completion tokens.
Does Claude 3 Haiku support tool calling and structured outputs?
Claude 3 Haiku accepts tools and tool_choice for function calling. Structured outputs are not listed for this endpoint.
When was Claude 3 Haiku released?
Claude 3 Haiku was released on 2024-03-13.

More models from Anthropic