alibabaCertifiedReleased 09/23/2026

Qwen 3.8 Max Prime

Qwen 3.8 Max Prime is the high-speed edition of Qwen 3.8 Max, retaining its 2.4-trillion-parameter MoE architecture and full capabilities while delivering 1.5–2× higher output throughput. Built for coding, office automation, and long-running agent workflows, it supports autonomous multi-day development, professional knowledge work, and visual understanding with a 1M-token context window.

View API reference ↓
Input / output priceFrom$4.00 / $12.00per 1M
24h uptime100.00%
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-prime",
  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
alibaba1M131K1.4 s38 tps$4.00$12.00Read $0.50Write $5.006 featuresYesYesGlobalCertified

Uptime

24 hours

Request success rate per provider.

alibaba100.00%

Throughput

last hour

P50 output tokens per second.

alibaba38 tps

Latency

last hour

P50 time to first token.

alibaba1.4 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-prime",
  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-prime. 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 Prime supports up to 131,072 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 1M-token context window
ImageURL, base64Sent as image_url content parts; counts as input tokens

More models by alibaba

ModelContextInputOutputCacheRelease
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.8-max262K$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