alibabaCertifiedReleased 08/02/2026

Qwen 3.8 Max

Qwen 3.8 Max is a 2.4-trillion-parameter MoE model delivering a comprehensive leap in coding and professional work. Autonomously codes and delivers complete projects spanning 10+ days. Handles hundreds of specialized tasks across legal, financial, design, and other professional domains, producing production-grade results end-to-end in a single conversation. Native visual understanding runs through the full cycle of planning, execution, and verification, enabling deep semantic analysis of ultra-long documents and extended video content. In long-horizon tasks, plans autonomously, iterates through closed feedback loops, and continuously evolves.

View API reference ↓
Input / output priceFrom$2.00 / $6.00per 1M
24h uptime99.80%
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.chat.completions.create({
  model: "alibaba/qwen3.8-max",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(res.choices[0].message.content);

Providers

Dispatch routes requests across these providers and fails over between them without changing the model. Restrict or order providers with team Directives. Prices are gateway list prices before the platform fee.

ProviderContextMax outputLatencyThroughputInputOutputCacheCapabilitiesZDRNo trainingRegionsStatus
alibaba1M128K1.9 s43 tps$2.00$6.00Read $0.25Write $2.506 featuresYesYesUSCertified
Fireworks262K128K0.4 s—$2.00$6.00Read $0.25Write —4 featuresYesYesGlobalCertified

Uptime

24 hours

Request success rate per provider.

alibaba100.00%
Fireworks99.60%

Throughput

last hour

P50 output tokens per second.

alibaba43 tps
Fireworks—

Latency

last hour

P50 time to first token.

Fireworks0.4 s
alibaba1.9 s

Getting started

Create a key on the API Keys page and set it as IB_API_KEY. See the quickstart.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.chat.completions.create({
  model: "alibaba/qwen3.8-max",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(res.choices[0].message.content);

Top-level parameters

Standard Chat Completions parameters work as documented. These have model-specific behavior.

ParameterTypeRequiredDescription
modelstringYesModel ID in the form creator/model, e.g. alibaba/qwen3.8-max. Must be allowed by your team's Directives.
max_tokensnumberNoHard cap on generated tokens, and the basis for the balance reserved per request. Qwen 3.8 Max supports up to 128,000 output tokens.
reasoning{ effort: 'low' | 'medium' | 'high' }NoReasoning effort, mapped to the provider's native configuration. Reasoning tokens count toward output usage.
toolsTool[]NoFunction definitions the model can call. Tool calls are returned in choices[].message.tool_calls.
Supportedmax_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoningresponse_formatstructured_outputs

Input limits

InputSourcesLimits
Text—Prompt and response share the 262K-token context window
ImageURL, base64Sent as image_url content parts; counts as input tokens

More models by alibaba

ModelContextInputOutputCacheRelease
alibaba/qwen3.8-max-prime1M$4.00$12.00Read $0.50Write $5.0009/23/2026
alibaba/qwen3.8-omni-flash1M$0.15$0.47Read $0.016Write —09/17/2026
alibaba/qwen3.8-max-0902991K$2.00$6.00Read $0.25Write $2.5009/01/2026
alibaba/qwen3.8-flash991K$0.15$0.47Read $0.016Write $0.2008/26/2026
alibaba/qwen3.8-27b262K$0.060$2.30Read $0.059Write —08/14/2026
alibaba/qwen3.8-2.4t-a95b262K$2.00$6.00Read $0.25Write —08/02/2026
alibaba/qwen3.7-flash991K$0.030$0.13Read $0.0060Write $0.03807/28/2026
alibaba/qwen3.7-plus1M$0.40$1.60Read $0.080Write $0.5006/02/2026
alibaba/qwen3.7-max991K$2.50$7.50Read $0.50Write $3.1305/21/2026
alibaba/qwen3.6-27b256K$0.60$3.60Read —Write —04/22/2026