Qwen3.8 2.4T A95B API

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.

Modalities
TextText
In / Out price
$2.65/$6.61per 1M
Context window
256K tokens
Released
Aug 12, 2026

Qwen3.8 2.4T A95B overview

Qwen3.8 2.4T A95B by Alibaba Cloud

Built for long-context, agentic workloads: near-1M-token input, function calling, and structured outputs.

Qwen3.8 2.4T A95B specs

Model ID
alibaba/qwen3.8-2.4t-a95b
Developer
Alibaba Cloud
Context window
262,144 tokens
Max output
52,429 tokens
Input
Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What Is Qwen3.8 2.4T A95B API?

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

Technical Reference

DeveloperAlibaba Cloud
Model IDalibaba/qwen3.8-2.4t-a95b
Release DateAugust 11, 2026
Context Window262,144 tokens (~262K)
Max Output Tokens52,429 tokens
ModalitiesText → Text
Capabilitiesreasoning, streaming, structured (JSON schema) output, tool/function calling

What Qwen3.8 2.4T A95B Brings to the Table

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.

Where Qwen3.8 2.4T A95B Makes the Most Sense

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 2.4T A95B vs the Alternatives

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

Use cases

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.

Capabilities

  • Reasoning
  • Streaming

Qwen3.8 2.4T A95B benchmarks by Artificial Analysis

See how Qwen3.8 2.4T A95B compares in generation speed and latency. Data retrieved Nov 3, 2026.

Speed

Output tokens / second

Benchmark results

Compare 13 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Qwen3.8 2.4T A95B API pricing

Qwen3.8 2.4T A95B pricing in US dollars
UsagePriceUnit
Input$2.651M tokens
Output$6.611M tokens
Cached input$0.5291M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Qwen3.8 2.4T A95B vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Qwen3.8 2.4T A95B$2.65$6.61
Qwen3.8 Omni Flash$0.15$0.47
Qwen3.8-Flash$0.16$0.47
Qwen 3.8 27B$0.4761$3.39
Qwen3.8 Max Prime$4.23$12.7

How to use the Qwen3.8 2.4T A95B API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
    }
  ]
}'

Qwen3.8 2.4T A95B FAQ

What is the context window of Qwen3.8 2.4T A95B?

Qwen3.8 2.4T A95B has a 262,144 tokens context window and can return up to 52,429 tokens.

What inputs and outputs does Qwen3.8 2.4T A95B support?

Qwen3.8 2.4T A95B takes text as input and returns text.

What is the model ID for Qwen3.8 2.4T A95B?

Use alibaba/qwen3.8-2.4t-a95b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

When was Qwen3.8 2.4T A95B released?

Qwen3.8 2.4T A95B became available on August 12, 2026.

How much does Qwen3.8 2.4T A95B cost?

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.

Does Qwen3.8 2.4T A95B support streaming?

Yes, Qwen3.8 2.4T A95B can stream responses as they are generated.

Who created Qwen3.8 2.4T A95B?

Qwen3.8 2.4T A95B was built by Alibaba Cloud.

Does Qwen3.8 2.4T A95B handle only text, or other modalities too?

It is a text-only model, accepting text input and producing text output.

What kinds of tasks is Qwen3.8 2.4T A95B suited for?

It is built for reasoning-focused chat with tool use and structured output support, and reasoning is always enabled.

Start building with Qwen3.8 2.4T A95B

Qwen3.8 2.4T A95B API

alibaba/qwen3.8-2.4t-a95b

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
    }
  ]
}'