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

Qwen: Qwen3.8 Max Prime

alibaba/qwen3.8-max-prime

Qwen3.8 Max Prime is Alibaba's top-tier Qwen3.8 model, built for the most demanding reasoning, coding, and agentic workloads with vision input and a 1M-token context window.

Input price
$4.00USD / 1M tokens
Output price
$12.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$4.00/MOutput$12.00/MCache read$0.50/MCache write$5.00/M
OutputReady

Your response will appear here

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

Specifications

Pricing

Input
$4 / 1M tokens
Output
$12 / 1M tokens
Billing formula
usage.prompt_tokens * 4 / 1000000 + usage.completion_tokens * 12 / 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-prime
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-prime
# 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-prime",
  "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—$4.00$12.00Sep 23, 2026
Alibaba1M——Sep 3, 2026
Alibaba1M——Aug 14, 2026
Alibaba1M——Aug 12, 2026
Alibaba1M——Aug 3, 2026
Alibaba1M——Jul 27, 2026