# Qwen 3.8 Max

Qwen 3.8 Max costs $1.7 per 1M input tokens and $5.1 per 1M output tokens on LLM API, with a 1M-token context window.

Model ID: `qwen3.8-max` · Alibaba · Text generation · Released August 3, 2026
Updated: 2026-10-13
Canonical: https://llmapi.ai/models/alibaba-qwen3-8-max/

- Input: $1.7 (list $2) per 1M tokens
- Output: $5.1 (list $6) per 1M tokens
- Cache read: $0.1445 (list $0.17) per 1M tokens
- Context: 1M tokens
- Max output: 131K tokens

## Pricing

Lowest price among 2 providers, after discounts.

| Price | Amount | Per |
| --- | --- | --- |
| Input | $1.7 (list $2) | per 1M tokens |
| Output | $5.1 (list $6) | per 1M tokens |
| Cache read | $0.1445 (list $0.17) | per 1M tokens |

**Volume pricing.** At higher monthly volume, Qwen 3.8 Max may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Providers

Prices after each provider’s discount; the lowest in bold.

| Provider | Input / 1M | Output / 1M | Cache read / 1M | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| [Novita AI](https://llmapi.ai/providers/novita/) | $2 | $6 | $0.17 | 1M | 131K |
| [Alibaba Cloud](https://llmapi.ai/providers/alibaba-cloud/) (−15%) | **$1.7** | **$5.1** | **$0.1445** | 1M | 131K |

## Features

- Tools: Yes
- Parallel tool calls: No
- Image input: Yes
- Reasoning: Yes (Levels: low, medium, xhigh · default medium)
- Prompt caching: Yes
- Structured outputs: Yes
- JSON mode: Yes
- Streaming: Yes
- Web search: Yes

## Call Qwen 3.8 Max

### Chat Completions (`POST /v1/chat/completions`)

Set LLMAPI_KEY to your LLM API key.

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="qwen3.8-max",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
```

Docs: [Chat Completions docs](https://docs.llmapi.ai/api/v1/chat/completions)

## More from Alibaba

- [Qwen3.8 Flash Next](https://llmapi.ai/models/alibaba-qwen3-8-flash-next/): $0.201 / $0.5 per 1M input / output
- [Qwen3.8 27B](https://llmapi.ai/models/qwen-qwen3-8-27b/): $0.35 / $2.1 per 1M input / output
- [Qwen3.7 Max](https://llmapi.ai/models/qwen-qwen3-7-max/): $0.3 / $1.8 per 1M input / output

Prices synced 2026-11-09.

Next step: [Get API key](https://app.llmapi.ai/signup)
