We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.
anthropic/claude-sonnet-5-5Sonnet 5.5 — Opus-class answers at the Sonnet price
Claude Sonnet 5.5 costs exactly what Sonnet 5 costs — 4.4 credits per 1K input — and answers far closer to Opus. Same 1M context, same 128K output, same speed tier. Unless your code forces a specific tool call, there is no reason to send new work to Sonnet 5 instead.
Last updated Nov 23, 2026
Within a point and a half of Opus 5.5 on published evaluations, at a fifth of the price
A whole contract, codebase or quarter of tickets in one call
Decides how long to think on its own, and stays quick on easy turns
Reads images and PDFs in the same request as your text
Long enough for a full report or migration diff in one pass
Read this 200-page supplier contract and list every clause that lets them raise prices mid-term.
Here is a failing test and the three files it touches. Find the bug and give me the patch.
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.
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.
import Tchavi from '@tchavi/sdk';
const client = new Tchavi({ apiKey: 'API_KEY' });
const response = await client.chat.completions.create({
model: 'claude-sonnet-5-5',
messages: [
{
"role": "user",
"content": "Hello!"
}
],
});
console.log(response.choices[0].message.content);
console.log('Credits used:', response.tchavi.credits_used);Every parameter this model accepts on the API. Check the SDK for full typings.
modelRequiredID of the chat model (e.g. `claude-sonnet-5-5`).
messagesRequiredConversation 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`).
temperature1Sampling temperature between 0 and 2. Higher values = more random.
max_tokensMaximum number of tokens to generate in the response.
streamfalseIf true, partial message deltas are streamed as Server-Sent Events.
toolsFunction-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_choiceHow 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`.
Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.