We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.
alibaba/qwen3.8-maxA million-token context, with vision and tools
Qwen3.8 Max is Alibaba's flagship, launched on 3 August 2026: 2.4T parameters with 95B active, and a one-million-token window. It is the Max tier of the family, below Qwen3.8 Max Prime, the variant that thinks harder.
Last updated Nov 23, 2026
It suits analysis and agent work: comparing several reports, reading long documents, generating and reviewing code, chaining tool calls. Alibaba highlights coding, real-world work, research and long-horizon tasks. Image input, output up to 131K tokens.
On Tchavi you pay with mobile money, no bank card and no KYC. One account and one API key open 100+ models: swap the base URL, keep your OpenAI SDK, and your credits never expire.
A million tokens in, for long files and archives
Long answers in a single pass
Thinks before answering on hard problems
Reads images and screenshots with your text
Function calling and structured output
Analyse these four quarterly reports and explain what changed in the cost structure, with a table of the gaps.
Translate this technical manual into French, keeping every code sample untouched and the section numbering as is.
Start with Max: same million-token context and same 131K output. Step up to Qwen3.8 Max Prime (model: "qwen3.8-max-prime") only if Max visibly struggles with reasoning, not just length. Test both on your own task.
Qwen3.7 Flash (model: "qwen3.7-flash") is the light version: 230K of context and 65K of output, with vision and tools. Pick Max when the million-token context or deeper reasoning matters; Flash for volume.
Up to 1,000,000 tokens of context and 131,072 out. It is a reasoning model: thinking tokens count toward the output.
Images, yes, as input, with text output. No PDF documents on Tchavi. Alibaba says the model also understands video, but Tchavi does not guarantee it: test first.
Swap the base URL for Tchavi's, use your Tchavi key and set model: "qwen3.8-max" on /v1/chat/completions. The rest of your code stays the same.
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: 'qwen3.8-max',
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. `qwen3.8-max`).
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.
max_completion_tokensOpenAI alias for `max_tokens`. Either field works; if both are sent, `max_completion_tokens` wins.
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`.
response_formatConstrain the output. Pass `{ type: "json_object" }` to force valid JSON (the model still needs a JSON instruction in your prompt). Only models with `supportsJsonMode: true` honour this.
Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.