Qwen 3.8 Max Prime

alibaba/qwen3.8-max-prime

A chat model with a 1M-token context window, at $4.20 per million input tokens and $12.60 per million output tokens.

Details

Maker
alibaba
Kind
Chat
Context window
1,000,000 tokens
Max output
131,072 tokens
Input
$4.20 per million tokens
Cached input
$0.525 per million tokens, 88% off
Cache write
$5.25 per million tokens
Output
$12.60 per million tokens
Capabilities
Reasoning, tool use, vision
Takes
Text, image
Returns
Text
Zero data retention
Yes, on every provider
No training on requests
Yes, on every provider
Released
2026-09-23

Description

Qwen 3.8 Max Prime is the high-speed edition of Qwen 3.8 Max, retaining its 2.4-trillion-parameter MoE architecture and full capabilities while delivering 1.5–2× higher output throughput. Built for coding, office automation, and long-running agent workflows, it supports autonomous multi-day development, professional knowledge work, and visual understanding with a 1M-token context window.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "alibaba/qwen3.8-max-prime",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.