We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.
anthropic/claude-opus-4-7Opus 4.7 — sharper agentic runs than 4.6, same price
Claude Opus 4.7 improves on 4.6 where long tool-using runs tend to drift: it keeps its plan straighter over many steps. Same 11 credits per 1K input and the same 1M context, so there is little reason to stay on 4.6 for new work.
Last updated Nov 23, 2026
5× larger than Opus 4.6 — swallow whole codebases or quarterly reports in one prompt
Multi-step problems, ambiguous specs, contested trade-offs
Plans, calls tools, recovers from errors across long horizons
Refactors, debugs and reviews at senior-engineer quality
Reads images and PDFs natively in the same call
Knowledge current to January 2026
Review this 800-line service file and propose three refactors that would simplify it without changing behavior
I'm pasting our entire codebase below. Find every place we mutate user state outside a transaction and rank by severity.
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-opus-4-7',
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-opus-4-7`).
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.