API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Qwen: Qwen3.8 Max (0902)

alibaba/qwen3.8-max-0902

Qwen3.8 Max 0902 is an updated snapshot of Qwen3.8 Max from Alibaba's Qwen team, a 2.4-trillion-parameter Mixture-of-Experts model that accepts text, image, and video input and returns text, with a 1M-token context window.

Input price
$2.00USD / 1M tokens
Output price
$6.00USD / 1M tokens
Context window
N/A
Max output
131.1K

Try the model

Playground

Open playground
Input⌘ / Ctrl + Enter

Try a prompt

1M context131.1K max outputVision
Input$2.00/MOutput$6.00/MCache read$0.25/MCache write$2.50/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

Specifications

Pricing

Input
$2 / 1M tokens
Output
$6 / 1M tokens
Billing formula
usage.prompt_tokens * 2 / 1000000 + usage.completion_tokens * 6 / 1000000

Context & modalities

Max output
131,072 tokens
Input
Text, image
Output
Text

Capabilities

Chat
Supported
Vision
Supported
Reasoning
Supported
Structured output
Supported
Function calling
Supported
Audio input
Not supported

Access

Provider
Alibaba
Model ID
alibaba/qwen3.8-max-0902
Execution
sync
API
Chat Completions API
Endpoint
/v1/chat/completions

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Chat Completions API endpoint
https://api.sandbase.ai/v1/chat/completions
Model ID
alibaba/qwen3.8-max-0902
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/chat/completions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "alibaba/qwen3.8-max-0902",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
Alibaba—$2.00$6.00Sep 3, 2026
Alibaba1M——Sep 23, 2026
Alibaba1M——Aug 14, 2026
Alibaba1M——Aug 12, 2026
Alibaba1M——Aug 3, 2026
Alibaba1M——Jul 27, 2026