Qwen3.8 Max
Alibaba's flagship MoE, built for coding and long-horizon agents.
Qwen3.8 Max is the flagship 2.4-trillion-parameter model in Alibaba's Qwen3.8 series, with native visual understanding and strength at coding, professional work, and long-horizon autonomous agent tasks.
- Agentic coding
- Professional work
- Vision
Model details
- Context window
- 984K tokens
- Max output
- 131K tokens
- Input
- Text, images
- Output
- Text
- Capabilities
- Reasoning, Vision, Tool calling, Streaming, JSON output
- Interfaces
- OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses
Pricing
Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.
| Metric | Price |
|---|---|
| / 1M input tokens | $2 |
| / 1M output tokens | $6 |
| / 1M cached input tokens | $0.25 |
| / 1M cache write tokens (5 min) | $2.5 |
| / web search | $0.01 |
Why teams pick it
- Flagship 2.4T-parameter mixture of experts
- Native visual understanding
- Built for long-horizon autonomous agents
Call Qwen3.8 Max
Qwen3.8 Max answers on any of the APIs below — pick the one your code already speaks and just swap in your Cloakray key.
/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/chat/completions \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-max",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.cloakray.com/v1/messages \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-max",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.cloakray.com/v1/responses \
-H "Authorization: Bearer ckr_..." \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-max",
"input": "Hello"
}'Conversation compaction is also available at POST /v1/responses/compact.
More from Alibaba
Qwen-Audio-3.0-TTS FlashQwen-Audio-3.0-TTS Flash for Speech generation.$15 / 1M charactersQwen-Audio-3.0-TTS PlusQwen-Audio-3.0-TTS Plus for Speech generation.$20 / 1M charactersQwen FlashQwen Flash for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.$0.05 / 1M input tokens · $0.4 / 1M output tokens · See all rates on the model page