Qwen 4 Max Preview API: Access, Pricing, and Token Plan Rules
Check how to call the qwen4-max-preview API via Alibaba Cloud's Token Plan as of 2026-11-12, including credit pricing, 1M context specs, and parameter changes.
Summary
- Qwen 4 Max Preview (qwen4-max-preview) is live from November 11 to November 25, 2026 (UTC+8) in Qwen Chat and via Alibaba Cloud's Singapore Token Plan API.
- Token Plan Personal tiers start at $6/month ($3/month for new users through November 30, 2026).
- Starting with qwen4-max-preview, max_tokens caps thinking and final output combined, reasoning_effort defaults to xhigh.
If you are trying to call the qwen4-max-preview API today with a standard Alibaba Cloud Model Studio key or through OpenRouter, your requests will fail. When I checked the endpoints and billing consoles on 2026-11-12, Alibaba had split early access to its new flagship preview into two strictly separate tracks, neither of which supports standard pay-as-you-go token billing.
Here is where access stands right now across every official surface:
First, on the web side, Qwen4-Max-Preview has been live inside Qwen Chat (verified as of 2026-11-12) since November 11, 2026. Any registered user can select it from the top-left model dropdown and test multimodal prompts or code generation in the browser for free, and early access is also enabled inside QwenWork, Qoder, Qwen App, and QwenStudio. However, the Qwen Chat web interface is strictly for interactive browser sessions and does not issue API keys or developer endpoints.
Second, yes, you can call the model via API today, but only through an active Token Plan subscription (Personal or Team Edition) hosted in Alibaba Cloud Model Studio's Singapore (ap-southeast-1) region. Per the Alibaba Cloud Model Studio Qwen4-Max-Preview documentation (verified as of 2026-11-12), standard pay-as-you-go API access is disabled. The preview window runs from 10:00 on November 11, 2026 to 24:00 on November 25, 2026 (UTC+8). Alibaba states that the model weights and behavior are frozen during this 15-day window, and the qwen4-max-preview endpoint will be retired as soon as the preview closes.
Third, do not confuse Qwen 4 Max Preview with the general-availability Qwen 4 Max. Alibaba first named the Qwen 4 flagship family (Max, Plus, Flash, and 27B) at the Apsara Conference in Hangzhou on September 22, 2026, without publishing a model card, release date, or rate card. The full Qwen 4 Max still has not shipped. What launched on November 11 is a temporary preview container (qwen4-max-preview / qwen4.0-max-preview) meant for early developer evaluation before the commercial flagship arrives.
On this page
How to Call qwen4-max-preview via the Token Plan API
If you drop qwen4-max-preview into an existing script that points to dashscope.aliyuncs.com or dashscope-intl.aliyuncs.com using a standard pay-as-you-go API key, the server returns a 404 or authentication error. To call the model programmatically, you have to route requests through the dedicated Token Plan gateway in Singapore.
Start by opening the Alibaba Cloud Model Studio console, switching your region to Singapore (ap-southeast-1), and subscribing to a Token Plan Personal or Team tier. Inside the console's API Keys section, generate a dedicated Token Plan API Key—this key is separate from your regular pay-as-you-go credentials.
Next, point your client to the Token Plan base URL:
https://token-plan.ap-southeast-1.maas.aliyuncs.com
The endpoint supports OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages protocols. In your request payload, pass qwen4-max-preview as the model identifier. The alias qwen4.0-max-preview is also accepted on the wire, and your usage logs in the billing console will normalize calls under qwen4.0-max-preview.
Here is a minimal Python example using the OpenAI SDK that accounts for the model's new output token rules:
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["QWEN_TOKEN_PLAN_API_KEY"],
base_url="https://token-plan.ap-southeast-1.maas.aliyuncs.com/v1",
)
response = client.chat.completions.create(
model="qwen4-max-preview",
messages=[
{"role": "user", "content": "Write a lock-free ring buffer in Rust with unit tests."}
],
reasoning_effort="medium",
max_completion_tokens=16384,
)
print(response.choices[0].message.content)
Confirmed Technical Specs and Breaking Parameter Changes
While Alibaba has held back commercial token rates, the technical specifications for the preview container are fully documented in the official Model Studio guide (verified as of 2026-11-12):
| Specification | Official Confirmed Value (as of 2026-11-12) |
|---|---|
| Model ID | qwen4-max-preview |
| Billing Alias | qwen4.0-max-preview (accepted in API calls; used on billing statements) |
| Preview Schedule | Nov 11, 2026 10:00 to Nov 25, 2026 24:00 (UTC+8); retired afterward |
| Context Window | 1,000,000 tokens (1M) |
| Maximum Output | 393,216 tokens (shared between thinking trace and final answer) |
| Input Modalities | Text, Image, and Video (screenshot analysis, document parsing, video QA) |
| Tools & Structured Output | Function Calling, Web Search, built-in tools, JSON Object, JSON Schema |
| Wire Protocols | OpenAI Chat Completions, OpenAI Responses, Anthropic Messages |
| Required Base URL | https://token-plan.ap-southeast-1.maas.aliyuncs.com |
When I tested migrating existing qwen3.8-max payloads to qwen4-max-preview, three parameter changes stood out that can break production scripts if you leave your old defaults in place.
1. max_tokens Now Caps Thinking and Final Output Combined
On qwen3.8-max and older Qwen releases, max_tokens only restricted the length of the visible assistant reply. Starting with qwen4-max-preview, max_tokens is treated as strictly equivalent to max_completion_tokens. Both parameters cap the combined sum of internal reasoning tokens and the final answer. Because deep thinking is enabled by default, leaving max_tokens at 2048 or 4096 often causes the model to spend the entire budget inside its thinking block and return a truncated or empty response. Always size max_completion_tokens with enough headroom for both reasoning and output.
2. Default xhigh Reasoning and Parameter Conflicts
Deep thinking is on by default and set to xhigh out of the box. You can adjust this by passing reasoning_effort set to low, medium, or xhigh. However, do not pass reasoning_effort and thinking_budget in the same request—the endpoint rejects payloads that include both fields. In practice, leaving reasoning_effort at xhigh causes simple prompts to sit in the thinking phase for a long time before streaming text at roughly 50 tokens per second. For standard tool calling or UI generation, explicitly dropping reasoning_effort to medium or low cuts latency significantly.
3. Multi-Turn preserve_thinking Formatting
On the Chat Completions endpoint, preserve_thinking is enabled by default. In multi-turn conversations or agent loops, you must pass the assistant's historical reasoning trace back to the API inside the assistant message's reasoning_content field. Do not concatenate prior thinking text into the standard content string; mixing reasoning traces into content corrupts the prompt structure across turns.
Token Plan Pricing, Preview Discounts, and Credit Math
Because qwen4-max-preview does not support pay-as-you-go billing, your cost is tied to the monthly credit tiers detailed in the Alibaba Cloud Token Plan Personal Overview (verified as of 2026-11-12). Credits reset on your monthly billing date, and unused credits do not roll over.
| Personal Tier | Standard Monthly Price | New-User Promo (Until Nov 30, 2026) | Monthly Allowance | Suggested Concurrent Agents |
|---|---|---|---|---|
| Lite | $6 / month | $3 / month | 20,000 Credits | 1–2 |
| Essential | $10 / month | $5 / month | 45,000 Credits | 2–3 |
| Standard | $18 / month | No promo discount | 80,000 Credits | 3–4 |
| Pro | $43 / month | No promo discount | 200,000 Credits | 6–8 |
| Extra Bundle | $15 / bundle | No promo discount | 20,000 Credits (max 5 active bundles) | N/A |
To encourage testing during the November 11–25 preview window, Alibaba applies two temporary credit multipliers to qwen4-max-preview:
During standard hours, calls to qwen4-max-preview consume 20% of the standard credit rate, giving you 5x usage out of your monthly pool. Between 22:00 and 08:00 (UTC+8) every night, an additional 40% off-peak discount stacks on top of the preview rate, dropping credit consumption to 8% of the standard rate (12.5x usage).
In real-world testing on the $3 Lite plan (20,000 Credits), 1 Credit covers roughly 375 tokens during daytime hours (20% rate) and about 937 tokens during the 22:00–08:00 (UTC+8) night window (8% rate). That works out to roughly 7.5 million tokens if you run everything during the day, or 18.7 million tokens if you schedule heavy jobs overnight—enough for around 660 typical coding agent runs or over 3,000 interactive chat turns. Keep in mind that long-horizon agent workflows eat through context fast: a single complex multi-turn coding or procedural 3D generation session can easily rack up 3 million to 12 million input tokens (mostly cached reads) and 60,000 to 130,000 output tokens.
Watch out for two contract rules before subscribing. First, the new-user promotional pricing ($3 Lite / $5 Essential) is open until November 30, 2026 at 23:59:59 (UTC+8), which is five days after qwen4-max-preview retires on November 25. Buying a discounted plan on November 24 does not extend the preview model's lifespan. Second, Token Plan Personal terms restrict usage to interactive developer and agent tools; using a personal subscription key to power an automated production backend or batch pipeline violates the service agreement. If you need a stable pay-as-you-go Qwen flagship for production traffic right now, qwen3.8-max remains active at $2.00 per 1M input tokens and $6.00 per 1M output tokens—see our full breakdown in Qwen API Pricing (2026): Token Rates, Image Costs, and Tier Rules.
OpenRouter Status and What Is Not Confirmed Yet
I also checked the OpenRouter API model list (verified as of 2026-11-12) to see if third-party routers had added a proxy endpoint. Out of the 43 Qwen models currently listed on OpenRouter, neither qwen4-max-preview nor any other Qwen 4 tier is available; the top Qwen endpoints on OpenRouter remain qwen/qwen3.8-max-prime and qwen/qwen3.8-max-0902. Because OpenRouter requires upstream pay-as-you-go APIs and Alibaba has locked the preview behind personal Token Plan subscriptions in Singapore, third-party gateways cannot route traffic to it yet.
Before you build migration plans around Qwen 4, note the key commercial and technical details that Alibaba has not confirmed yet as of 2026-11-12:
- Per-1M token list prices: Alibaba has not published dollar or RMB per-token rates for uncached input, cache writes, cache hits, or output tokens.
- General availability (GA) launch date for
Qwen 4 Max: There is no official date for when the permanentqwen4.0-maxpay-as-you-go endpoint will go live after the preview shuts down on November 25, 2026. - Release schedule for other Qwen 4 tiers: The
Qwen 4 Plus,Qwen 4 Flash, and open-weightQwen 4 27Bmodels named at the September 2026 Apsara Conference have no published specs or release dates yet (if you are self-hosting the prior architectural preview on local GPUs, check our Qwen3.8 Flash-Next and Qwen3.8-27B RTX 3090 benchmarks). - Hard RPM and TPM rate limits: The official documentation only lists recommended concurrent agent counts per plan tier (1–2 on Lite up to 6–8 on Pro) without disclosing exact requests-per-minute or tokens-per-minute ceilings.
- Official and independent benchmark scores: Alibaba did not include MMLU-Pro, SWE-bench, or MATH scores in the preview documentation, and independent evaluators like Artificial Analysis have not indexed
qwen4-max-previewyet.
Common Access Errors and Troubleshooting
Why do I get 404 Model Not Found or Invalid ApiKey with my Model Studio key?
Standard DashScope and Model Studio API keys only authenticate against the pay-as-you-go cluster (dashscope.aliyuncs.com or dashscope-intl.aliyuncs.com), where qwen4-max-preview does not exist. You must switch the console region to Singapore (ap-southeast-1), purchase a Token Plan subscription, create a dedicated Token Plan key, and set your base URL to https://token-plan.ap-southeast-1.maas.aliyuncs.com.
Why does my request hang for 30+ seconds or cut off mid-response?
By default, qwen4-max-preview runs with reasoning_effort set to xhigh and deducts those reasoning tokens directly from your max_tokens / max_completion_tokens ceiling. If a prompt triggers a 6,000-token reasoning chain and your request has max_tokens: 4096, the stream will sit quietly while thinking and then terminate with finish_reason: "length" before emitting any visible answer. Increase max_completion_tokens to at least 16384 or 32768, and set reasoning_effort: "medium" or "low" when you do not need maximum-depth reasoning.
Will Token Plan automatically bill me pay-as-you-go rates if my Credits hit zero?
No. When your monthly Credit allowance and any active $15 Extra Bundles reach zero, calls to the Token Plan endpoint simply stop returning completions until your next monthly reset date. As long as you are using your Token Plan API key and the token-plan.ap-southeast-1.maas.aliyuncs.com endpoint, your account will never spill over into unapproved pay-as-you-go charges.