Claude Haiku 4.5API
Anthropic Haiku 4.5 — fast and cost-efficient.
Harga input
$0.40
per 1M tokens
Harga output
$2.00
per 1M tokens
Prompt caching
Kirim cache_control pada prefiks stabil — hit cache ditagih sepersekian dari harga input. Tulis cache selalu dengan harga input normal.
Dihitung otomatis sebagai input × 0.1
Spesifikasi
- ID model
claude-haiku-4-5- Endpoint
POST /v1/chat/completions- Kategori
- Text
- Penyedia
- Anthropic
- Kemampuan
- visionfunctionstreaming
Kompatibilitas drop-in OpenAI
Arahkan SDK OpenAI kamu ke api.kunavo.com/v1 dan ganti ID model. Tanpa perubahan streaming, tanpa SDK baru.
Lihat dokumenCoba sendiri
Atur KUNAVO_API_KEY dari /app/keys dan jalankan snippet di bawah.
curl https://api.kunavo.com/v1/chat/completions \
-H "Authorization: Bearer $KUNAVO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-haiku-4-5",
"messages": [
{"role": "user", "content": "Hello, Claude Haiku 4.5"}
],
"stream": false
}'FAQ
How much does Claude Haiku 4.5 cost?
On Kunavo, Claude Haiku 4.5 is $0.40 per 1M input tokens and $2.00 per 1M output tokens — about 60% under Anthropic's official price. Failed requests are never billed, and it's pay-as-you-go — you only pay for successful calls.
Can I call Claude Haiku 4.5 with the OpenAI SDK?
Yes. Set base_url to https://api.kunavo.com/v1, pass your Kunavo key, and set model to "claude-haiku-4-5". Requests and responses are OpenAI-compatible; Claude is also available on the native /v1/messages endpoint.
What endpoint does Claude Haiku 4.5 use?
Claude Haiku 4.5 is called via POST /v1/chat/completions on Kunavo's OpenAI-compatible API.
What is Claude Haiku 4.5 good for?
Claude Haiku 4.5 is a text model from Anthropic, with support for vision, function, streaming.