Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Alibaba Cloud (Qwen) - Closed weights

Qwen3.8-Max pricing and specs

Qwen3.8-Max is a closed-weights model from Alibaba Cloud (Qwen) that costs $2 per 1M input tokens and $6 per 1M output tokens on the first-party API, with a 1M-token context window.

Last verified from alibabacloud.com. All sources

Input / 1M
$2
Output / 1M
$6
Context
1M tokens
Weights
Closed

Pricing per 1M tokens

ItemPrice / 1M tokens
Input$2
Output$6
Cache read$0.17
Cache write (5 minutes)$2.50

Note: Prices are the International (Singapore) deployment list prices; Global, Chinese mainland, US, EU and other deployment scopes are priced differently on the same page. Thinking and non-thinking modes cost the same. cache read/cache write are explicit-cache read and creation (an explicit cache lasts 5 minutes and resets on a hit); implicit cache hits are $0.25 per 1M. The context-cache doc says explicit-cache hits on qwen3.8-max are not the usual 10% of input. The batch doc does not list batch for the Singapore region, so batch prices are blank. qwen3.8-max-prime (fast mode, $3.301/$9.902) is priced only for the Chinese mainland deployment, so fast mode pricing is not stated. Snapshot qwen3.8-max-0902 costs the same. The console states context as 1M and max output as 128K; recorded as 1,000,000 (the pricing page defines 1M = 1,000,000 tokens) and 131,072 (the QwenCloud model page states 131K).

Specs

Context window
1,000,000 tokens
Max output
131,072 tokens
Release date
Provider
Alibaba Cloud (Qwen)
API model id
qwen3.8-max
Vercel AI Gateway id
alibaba/qwen3.8-max
Weights
Closed weights

What Qwen3.8-Max costs in practice

Worked from the standard list rates above, with the math shown so you can swap in your own token counts.

One agent session

1M input tokens and 100K output tokens, no caching.

  • Input1M x $2 = $2.00
  • Output0.1M x $6 = $0.60

$2.60per session

A chat app

10,000 requests a day at 2K input and 500 output tokens each.

  • Input20M x $2 = $40.00
  • Output5M x $6 = $30.00

$70.00per day

$2,100.00 per 30-day month

The same session at a 90% cache hit

90% of the input is read from the prompt cache. The one-time cache write premium is not included.

  • Cached input0.9M x $0.17 = $0.153
  • Uncached input0.1M x $2 = $0.20
  • Output0.1M x $6 = $0.60

$0.953per session

Compare with

ModelInput / 1MOutput / 1M
Qwen3.8-Max (this page)$2$6
Grok 4.5xAI$2$6
Grok 4.6xAI$2$6
Grok 4.7xAI$2$6
Qwen3.8-2.4T-A95BAlibaba Cloud (Qwen)$2$6
Qwen-MaxAlibaba Cloud (Qwen)$1.60$6.40
Qwen3.7-MaxAlibaba Cloud (Qwen)$2.50$7.50
Qwen3.5-Omni-PlusAlibaba Cloud (Qwen)$1.40$8.30
Qwen3.5-397B-A17BAlibaba Cloud (Qwen)$0.60$3.60
Qwen3.6-27BAlibaba Cloud (Qwen)$0.60$3.60

Compare

Side-by-side pages with both models' prices, specs, cost examples and like-for-like benchmark rows.

FAQ

How much does Qwen3.8-Max cost per million tokens?

Qwen3.8-Max costs $2 per 1M input tokens and $6 per 1M output tokens on Alibaba Cloud (Qwen)'s first-party API, per alibabacloud.com on October 17, 2026. Per 1M tokens, cache reads cost $0.17.

What is Qwen3.8-Max's context window?

Qwen3.8-Max has a 1,000,000-token context window and returns up to 131,072 output tokens per response.

Are Qwen3.8-Max's weights open?

No. Qwen3.8-Max is a closed-weights model. You call it through Alibaba Cloud (Qwen)'s API as qwen3.8-max or through Vercel AI Gateway as alibaba/qwen3.8-max.

When was Qwen3.8-Max released?

Alibaba Cloud (Qwen) released Qwen3.8-Max on August 2, 2026.

Sources

Last verified from alibabacloud.com.

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.