NewGPT Image 2.6, Kling V4 and Kimi K3.1 Pro are now available.

Tchavi
ModelsPricingDocumentationBlog
Tchavi
  • Why Tchavi
  • Models
  • Pricing

Tchavi is an OpenAI-compatible AI API: 130+ models, from text to video, topped up with mobile money in FCFA or your local currency, no bank card needed.

  • support@tchavi.com
  • Support

Popular models

  • GPT-6 Sol API
  • Claude Sonnet 5.5 API
  • Claude Opus 5.5 API
  • Gemini 4 Argon API
  • DeepSeek V4.1 Flash API
  • Nano Banana 2.1 (images)
  • GPT Image 2 (images)
  • Wan 3.0 (video)
  • All 130+ models

Developers

  • Quickstart
  • API Reference
  • Claude Code
  • Cursor
  • SDKs

Resources

  • Documentation
  • Blog
  • Image models
  • Video models
  • Music models
  • Audio models
  • Mobile money payments
  • Pay for AI APIs with M-Pesa
  • Claude Code with mobile money

Legal

  • Privacy
  • Terms of Service

APIs by creator

  • OpenAI API
  • Gemini API
  • Claude API
  • Qwen API
  • DeepSeek API
  • Seedance API
  • MiniMax API
  • Mistral API

Mobile money payments · Available in 12 countries: Benin, Cameroon, Congo, Côte d'Ivoire, DR Congo, Gabon, Kenya, Rwanda, Senegal, Sierra Leone, Uganda, and Zambia. Operators: Moov Money, MTN MoMo, Airtel Money, Orange Money, M-Pesa, Free Money, and Zamtel Kwacha.

© 2026 Tchavi. All rights reserved.

We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.

Back to models

Claude Sonnet 5

anthropic/claude-sonnet-5

A Sonnet built for agents, with a 1M-token context

According to Anthropic, Claude Sonnet 5 was the most agentic Sonnet yet when it launched on 30 June 2026: it plans, uses tools and keeps its thread on long tasks. Anthropic now lists it as legacy: Sonnet 5.5 is the current Sonnet.

Modalities
Input / Output
4.4 / 22cr / 1K
Context window
1M
Released
Jun 30, 2026
Capabilities
  • Tools
  • Vision
  • PDF
  • Streaming
  • Prompt caching· read 0.44 cr / 1K

It is still a very good everyday model: customer assistants, code review, structured extraction, long-document summaries, with a 1M-token context, images and PDFs. According to Anthropic, its performance approaches Opus 4.8 and it hallucinates less than Sonnet 4.6.

On Tchavi, one API key opens 100+ models: compare Sonnet 5, Sonnet 5.5 and Opus by changing the model field. You pay with mobile money, no card and no KYC.

What this model does well

  • 🤖

    Agents and tools

    Plans, uses tools and works for long stretches without losing the thread, per Anthropic

  • 📚

    1M-token context

    The same context window as the Opus models

  • 🧠

    Adaptive thinking

    On by default; it can be switched off for faster replies

  • 👁️

    Images and PDFs

    Reads images and PDFs in the same request as your text

  • 🔧

    Forced tool use accepted

    tool_choice "any" or named is accepted, which Sonnet 5.5 rejects

  • 📤

    Output up to 128K

    Room for long files, full reports and large diffs

Example prompts

  • Turn this rambling meeting transcript into a decision log: what was decided, by whom, by when, and what is still open.

  • Read this PDF invoice and return the line items as JSON (description, quantity, price, total), flagging anything that does not add up.

  • You have the tools search_orders and refund_order. A customer writes: "My order never arrived". Chain the calls you need, then reply to them in three sentences.

Good to know

  • It counts tokens differently from Sonnet 4.6: the same text produces about 30% more tokens (Anthropic). Recount and measure your real usage before migrating.
  • Sampling parameters are ignored. Anthropic removed temperature and top_p on this model, so Tchavi drops them rather than letting the request fail.
  • Prefilling the reply (prefill) returns a 400 error, as on Sonnet 4.6.
  • JSON output takes response_format json_schema with your schema. Plain JSON mode (json_object) is refused with a 400 unsupported_parameter.

Technical specifications

Provider
anthropic
API identifier
claude-sonnet-5
Category
Chat & Text
Context window
1,000,000 tokens
Max output
128,000 tokens
Rate limit
400 RPM
Billing unit
token
Streaming
Yes

Ideal for

  • Customer-facing assistants
  • Code review at volume
  • Multi-step agents with tools
  • Summarising long documents
  • Structured extraction from text

Ready to try it?

Test this model in the playground, no setup needed.

Frequently asked questions

Sonnet 5 or Sonnet 5.5: which one?

Sonnet 5.5 for a new project: it is Anthropic's current Sonnet. Keep Sonnet 5 if your code forces a specific tool (tool_choice) or turns thinking off: Sonnet 5.5 rejects both with a 400 error.

Sonnet 5 or Opus 5.5: which one?

Sonnet 5 for everyday assistants and agent loops. Opus 5.5, which Anthropic aims at long-running agentic coding, when a mistake is expensive: repository refactors, security reviews.

Can it force a specific tool call?

Yes: tool_choice "any" or a named tool is accepted on Sonnet 5. Sonnet 5.5 and Opus 5.5 return a 400 error in that case.

What are the context and output sizes?

1M tokens in and up to 128K out, with images and PDFs.

How do I call Sonnet 5 through Tchavi?

With the OpenAI SDK, change the base URL, use your sk-tch-… key and model: "claude-sonnet-5" on /v1/chat/completions.

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-sonnet-5',
  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-sonnet-5`).

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`.

Show all parameters (14)
top_p
number
Default: 1

Nucleus sampling: only tokens in the top `top_p` probability mass are considered.

stop
string | string[]

Up to 4 sequences where the API will stop generating further tokens.

frequency_penalty
number
Default: 0

Between -2.0 and 2.0. Positive values penalize tokens that have appeared frequently.

presence_penalty
number
Default: 0

Between -2.0 and 2.0. Positive values encourage the model to talk about new topics.

messages[].content[].image_url
string

Attach an image on a user message. Pass a content block `{ "type": "image_url", "image_url": { "url": ... } }`. PNG / JPEG / WebP, up to 4 per request. Only models with `supportsImageInput: true` accept this block (e.g. `gpt-4o`, `claude-opus-4-7`).

messages[].content[].document_url
string

Attach a PDF on a user message. Pass a content block `{ "type": "document_url", "document_url": { "url": ... } }`. Up to 5 PDFs per request. Only models with `supportsDocuments: true` accept this block (e.g. `claude-sonnet-4-6`, `gpt-4.1`).

effort
"low" | "medium" | "high"
Default: "high"

Reasoning depth on Anthropic adaptive-thinking models (Opus 4.7+ / Sonnet 4.6+). Values `"low"`, `"medium"`, `"high"`. Higher = more deliberate, slower. Defaults to `"high"` on Opus 4.8.

Pricing

per 1,000 tokens
4.4 credits
Input 4.4 · Output 22 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 5.5 credits.
  • Prompt cache reads: — per 1K tokens (0.44 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 ~5 455 questions. Pay with Orange Money, MTN MoMo or M-Pesa — no Visa card needed.

Ready to use Claude Sonnet 5?

Create your accountAPI Documentation

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