Back to models

Qwen3.8 Flash

alibaba/qwen3.8-flash

A 1M-token reasoning model at one flat rate

Alibaba's newest Flash model reads text and images across a full 1M context and reasons before it answers. One rate at every prompt length: 0.33 credits per 1K in and 1.04 per 1K out, whether the prompt is 2K tokens or 900K.

0.33 / 1.04cr / 1K

Context 1M · Released Aug 26, 2026

Prompt cache read: 0.036 cr / 1,000 tokens

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

Other currencies

110 F CFA · 425 CDF · 2.18 GHS · 24 KES · 319 MWK · 12 MZN · 272 RWF · 4.19 SLE · 488 TZS · 768 UGX · 3.83 ZMW

Capabilities
  • Tools
  • JSON mode
  • Vision
  • Streaming
  • Prompt caching

Last updated Nov 30, 2026

Read the full description

Alibaba's newest Flash model reads text and images across a full 1M context and reasons before it answers. One rate at every prompt length: 0.33 credits per 1K in and 1.04 per 1K out, whether the prompt is 2K tokens or 900K.

What this model does well

  • 1M context, flat rate

    A million tokens of context, billed at the same rate from the first token to the last

  • 131K output

    Up to 131K tokens in a single answer

  • Reasoning

    Thinks before answering

  • Image input

    Reads images, not text only

  • Tools & JSON mode

    Tool calls and structured output for pipelines

Example prompts

  • Here is our full 300-page procurement manual. Which clauses apply to a supplier based in Ghana, and where do they conflict?

  • Read these 50 receipt photos and return one JSON object per receipt: merchant, date, total, currency.

Good to know

What to know before you start: limits, settings and what we keep.
  • Its reasoning is billed as output. A one-word answer can cost dozens of output tokens, so spend follows how much it thinks, not how long the reply is.
  • Give it room. With a very small max_tokens it can spend the whole budget reasoning and return empty content that is still billed.
  • Text and images only — no PDF documents.
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

How much does Qwen3.8 Flash cost?

For 1,000 words sent and 1,000 words received, expect 1.781 credits (under 1 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. Qwen3.8 Flash produces reasoning before its answer, and that reasoning is billed like words received.

How much text does Qwen3.8 Flash accept?

Qwen3.8 Flash can read up to 1,000,000 tokens at once, about 770,000 words in English. That is its context window: how much text it keeps in mind during a conversation. A reply can run up to 131,072 tokens.

What can Qwen3.8 Flash do?

Qwen3.8 Flash works best for these jobs: long-document question answering, bulk extraction from text and screenshots, and agent steps that call tools. It also reads images. On the technical side, it can show its reply as it is written (streaming), trigger your functions (tool calling), and answer in structured JSON (JSON mode). It takes time to reason before it answers.

Which model could I use instead of Qwen3.8 Flash?

If Qwen3.8 Flash does not fit, you could try Qwen3.7 Flash, 0.463 credits (under 1 FCFA); DeepSeek V4 Flash, 1.113 credits (under 1 FCFA); GLM 5.3 Flash, 0.862 credits (under 1 FCFA). Prices are for 1,000 words in and 1,000 words out.

See the 2 other questions
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: 'qwen3.8-flash',
  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. `qwen3.8-flash`).

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.

max_completion_tokens
integer

Alias for `max_tokens`. Either field works; if both are sent, `max_completion_tokens` wins.

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

response_format
{ type: "json_object" | "text" }

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

Pricing

per 1,000 tokens
0.33 credits
Input 0.33 · Output 1.04 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 0.321 credits.
  • Prompt cache reads: — per 1K tokens (0.036 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 ~93 467 questions. Pay with Orange Money, MTN MoMo or M-Pesa, no Visa card needed.

Ready to use Qwen3.8 Flash?

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