Speed
Output tokens / second
Custom pricing for production workloads
Qwen3.8 2.4T A95B is an open-weight sparse mixture-of-experts model from Qwen and the open-weight variant of Qwen3.8 Max, with 95 billion active parameters out of 2.4 trillion total. Reasoning is always on.
Built for long-context, agentic workloads: near-1M-token input, function calling, and structured outputs.
alibaba/qwen3.8-2.4t-a95bhttps://api.aimlapi.com/v1Qwen3.8 2.4T A95B is a text-only model from Alibaba Cloud with supported function calling, structured outputs, web search, prefix completion, context caching, and batch inference in Model Studio. The provider catalogue also marks it as supporting reasoning and streaming.
It is described as a fine-grained mixture-of-experts model with hybrid attention and a very long context design, and Alibaba documents a maximum input length of 991,808 tokens and a maximum output length of 131,072 tokens.
| Developer | Alibaba Cloud |
|---|---|
| Model ID | alibaba/qwen3.8-2.4t-a95b |
| Release Date | August 11, 2026 |
| Context Window | 262,144 tokens (~262K) |
| Max Output Tokens | 52,429 tokens |
| Modalities | Text → Text |
| Capabilities | reasoning, streaming, structured (JSON schema) output, tool/function calling |
Model modality
The model supports text input and text output only in Alibaba Cloud’s Model Studio listing.
Reasoning behavior
The Hugging Face model page states that the model requires thinking mode for all interactions, and Alibaba’s catalogue lists it as supporting reasoning.
Tool and output support
Alibaba Cloud lists function calling and structured outputs as supported capabilities, and also lists web search support.
Long-context design
Alibaba documents a 1,000,000-token context length, with a maximum input length of 991,808 tokens and a maximum output length of 131,072 tokens.
Complex reasoning
The model is positioned for demanding reasoning workloads and is described as supporting reasoning in the provider catalogue.
Tool-using workflows
Alibaba Cloud lists function calling, structured outputs, and web search support, which fits agentic or tool-augmented applications.
Long-document processing
Its very large context limits make it suitable for processing long inputs and extended conversation state.
Agentic tasks
NVIDIA characterizes the model as designed for agentic workloads, indicating suitability for multi-step assistant and automation scenarios.
Qwen3.8-Max
Hugging Face discussion and third-party coverage describe Qwen3.8 2.4T A95B as the open build associated with the Qwen3.8 Max line, but those sources do not provide a direct side-by-side product comparison in the search results.
Sources: https://developer.nvidia.com/blog/serve-qwen3-8-2-4t-a95b-a-2-4t-parameter-model-with-configurable-reasoning-on-nvidia-gb300-nvl72/ · https://www.alibabacloud.com/help/en/model-studio/qwen3-8-2-4t-a95b · https://www.mindstudio.ai/blog/qwen3-8-2-4t-a95b-release
Qwen3.8 2.4T A95B is documented as suited to coding, including autonomous coding and other hard coding tasks. It is also suited to large-scale document analysis and professional work. The model is documented for research and long-horizon agentic tasks, including long-running multi-step workflows and stronger autonomous planning.
See how Qwen3.8 2.4T A95B compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 13 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Agentic tasks completed in a command-line environment.
Reasoning across long documents of about 100k tokens.
Python coding tasks drawn from scientific research.
| Usage | Price | Unit |
|---|---|---|
| Input | $2.65 | 1M tokens |
| Output | $6.61 | 1M tokens |
| Cached input | $0.529 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $2.65 | $6.61 | |
| $0.15 | $0.47 | |
| $0.16 | $0.47 | |
| $0.4761 | $3.39 | |
| $4.23 | $12.7 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "alibaba/qwen3.8-2.4t-a95b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "alibaba/qwen3.8-2.4t-a95b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "alibaba/qwen3.8-2.4t-a95b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Qwen3.8 2.4T A95B has a 262,144 tokens context window and can return up to 52,429 tokens.
Qwen3.8 2.4T A95B takes text as input and returns text.
Use alibaba/qwen3.8-2.4t-a95b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Qwen3.8 2.4T A95B became available on August 12, 2026.
Qwen3.8 2.4T A95B costs $2.65 input and $6.61 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Qwen3.8 2.4T A95B can stream responses as they are generated.
Qwen3.8 2.4T A95B was built by Alibaba Cloud.
It is a text-only model, accepting text input and producing text output.
It is built for reasoning-focused chat with tool use and structured output support, and reasoning is always enabled.