# Qwen 3.8 Max Prime

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.

- **Model ID:** `alibaba/qwen3.8-max-prime`
- **Type:** chat
- **Providers:** alibaba
- **Context window:** 1,000,000
- **Maximum output tokens:** 131,072
- **Pricing:** $4/1M input tokens, $12/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/qwen3.8-max-prime

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'alibaba/qwen3.8-max-prime',
  prompt: 'Why is the sky blue?'
})
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/qwen3.8-max-prime)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider pricing](https://www.alibabacloud.com/help/en/model-studio/models)
