Back to models

Claude Haiku

anthropic/claude-haiku-4-5-20251001

Fast replies when the user is waiting

Anthropic describes Claude Haiku 4.5 as its fastest model with near-frontier intelligence. It offers a 200K-token context, up to 64K of output, tool use and vision over images and PDFs.

2.2 / 11cr / 1K

Context 200K · Released Oct 15, 2025

Prompt cache read: 0.22 cr / 1,000 tokens

In your currency, for 1 million input tokens: ≈ $1.22 (rate of Dec 2, 2026, operator fees not included).

Other currencies

733 F CFA · 2,830 CDF · 15 GHS · 159 KES · 2,125 MWK · 78 MZN · 1,811 RWF · 28 SLE · 3,255 TZS · 5,121 UGX · 26 ZMW

Capabilities
  • Tools
  • Vision
  • PDF
  • Streaming
  • Prompt caching

Last updated Nov 30, 2026

Read the full description

Anthropic describes Claude Haiku 4.5 as its fastest model with near-frontier intelligence. It offers a 200K-token context, up to 64K of output, tool use and vision over images and PDFs.

According to Anthropic, it reaches coding performance close to Sonnet 4 at more than twice the speed. It suits the turns a human waits on: a support bot, a form parser, message routing, tagging, a first-pass triage before a bigger model.

On Tchavi, a WhatsApp or web bot plugs in by changing your OpenAI SDK's base URL. You top up with mobile money, no card and no KYC, and your credits never expire.

What this model does well

  • Low latency

    Built for real-time replies, per Anthropic

  • 200K-token context

    Enough for a long conversation or a document of dozens of pages

  • Images and PDFs

    Reads images and PDFs in the same request as your text

  • Tool calling

    Function calling, with forced tool_choice accepted

  • Adjustable temperature

    Accepts temperature and top_p, which recent Claude models reject

Example prompts

  • A customer writes on WhatsApp: "My order is 40 minutes late, what are you doing about it?". Reply in two short, polite sentences, offering a concrete fix.

  • Sort this message into exactly one category from [payment, delivery, refund, other] and answer with the category only: "I paid with MTN MoMo but received nothing".

  • Translate to French for a shop page, warm tone: "Welcome to Mama Nana, your favourite wax prints delivered across Cotonou in 24 hours."

Good to know

What to know before you start: limits, settings and what we keep.
  • Anthropic lists it as legacy: Haiku 5.5 is its current version, and Haiku 4.5 will not be retired before 15 October 2026. Plan a migration.
  • Shorter context than Sonnet 5.5 and Opus 5.5 (200K against 1M tokens), and output capped at 64K.
  • Its reliable knowledge ends in February 2025, per Anthropic: add a search step for recent topics.
  • JSON output takes response_format json_schema with your schema. Plain JSON mode (json_object) is refused with a 400 unsupported_parameter.
We never save what you send to a model or what it returns. We log only your settings (like size or voice) and how much was used, for billing. Files you attach in the playground are deleted after 24 hours.

Frequently asked questions

Haiku 4.5 or Sonnet 5.5: which one?

Haiku 4.5 when a human is waiting and the task is simple: support, triage, extraction. Sonnet 5.5, Anthropic's current Sonnet, when the answer needs deliberation, multi-step agents or a 1M context.

Haiku 4.5 or Gemini 3.5 Flash: which one?

Haiku 4.5 to stay on Claude with a 200K context and forced tool_choice. Gemini 3.5 Flash if you need 1M tokens and native JSON mode; Google lists it among its legacy Flash models.

Can I set temperature or force a tool?

Yes. Anthropic only removed temperature and top_p from Opus 4.7 onward, and forced tool_choice is still accepted on Haiku 4.5, unlike Sonnet 5.5.

What are the context and output sizes?

200K tokens in and up to 64K out, with images and PDFs.

See the 4 other questions
How do I call Haiku 4.5 through Tchavi?

With the OpenAI SDK, change the base URL, use your sk-tch-… key and model: "claude-haiku-4-5-20251001" (the full dated ID) on /v1/chat/completions.

How much does Claude Haiku cost?

For 1,000 words sent and 1,000 words received, expect 17.16 credits (about 5.7 FCFA). Usage is counted in tokens, small pieces of words (in English, 1,000 words make about 1,300 tokens), so the exact price follows the length of your messages.

Can I pay with mobile money, without a bank card?

Yes. Top up your Tchavi account with Orange Money, MTN MoMo, M-Pesa or another mobile money operator. No bank card is needed. Credits land as soon as the payment is confirmed and are deducted as you use them.

Is the API compatible with OpenAI's?

Yes. Keep your current OpenAI SDK, just change the base URL to Tchavi's (shown in the API tab) and use your Tchavi key. The rest of your code stays the same.

API

import Tchavi from '@tchavi/sdk';

const client = new Tchavi({ apiKey: 'API_KEY' });

const response = await client.chat.completions.create({
  model: 'claude-haiku-4-5-20251001',
  messages: [
  {
    "role": "user",
    "content": "Hello!"
  }
],
});

console.log(response.choices[0].message.content);
console.log('Credits used:', response.tchavi.credits_used);

API parameters

Every parameter this model accepts on the API. Check the SDK for full typings.

modelRequired
string

ID of the chat model (e.g. `claude-haiku-4-5-20251001`).

messagesRequired
Array<{ role, content }>

Conversation messages. Each item has a `role` (system/user/assistant) and a `content` that's either a plain string or an array of content blocks (`text`, `image_url`, `document_url`).

temperature
number
Default: 1

Sampling temperature between 0 and 2. Higher values = more random.

max_tokens
integer

Maximum number of tokens to generate in the response.

stream
boolean
Default: false

If true, partial message deltas are streamed as Server-Sent Events.

tools
Array<{ type, function }>

Function-calling toolbox. Pass an array of `{ type: "function", function: { name, description, parameters } }`. Returned tool calls land in `choices[].message.tool_calls`. Only models with `supportsTools: true` accept this.

tool_choice
"auto" | "none" | { type, function }

How the model picks among tools: `"auto"` (default), `"none"` to force a plain text reply, or `{ type: "function", function: { name } }` to force a specific tool. Only with `supportsTools: true`.

Pricing

per 1,000 tokens
2.2 credits
Input 2.2 · Output 11 cr/1K

How billing works

  • Billed per token used, down to a thousandth of a credit.
  • A typical message (500 in, 150 out) costs about —, or 2.75 credits.
  • Prompt cache reads: — per 1K tokens (0.22 credits).
Real-world scenarios
Per day
Per week
Per month

Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.

A 10 000 F CFA top-up gives you about ~10 910 questions. Pay with Orange Money, MTN MoMo or M-Pesa, no Visa card needed.

Ready to use Claude Haiku?

Bonus credits on your first top-up · No card to sign up