alibabaCertifiedReleased 08/26/2026

Qwen 3.8 Flash

Qwen3.8-Flash is Qwen’s fast, cost-efficient multimodal model, combining advanced reasoning and generation with a native 1M-token context window. Built for coding, agentic workflows, and visual understanding, it handles large codebases, long documents, charts, videos, and desktop applications.

View API reference ↓
Input / output priceFrom$0.15 / $0.47per 1M
24h uptime99.74%
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-flash",
  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
alibaba991K128K1.4 s77 tps$0.15$0.47Read $0.016Write $0.207 featuresYesYesUSCertified

Uptime

24 hours

Request success rate per provider.

alibaba99.74%

Throughput

last hour

P50 output tokens per second.

alibaba77 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-flash",
  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-flash. 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 Flash 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 991K-token context window
ImageURL, base64Sent as image_url content parts; counts as input tokens
PDFURL, base64Sent as file 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-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