Computer screens showing code under neon light, a coding setup for testing Qwen4-Max Preview in Claude Code
Photo by Jakub Żerdzicki on Unsplash · source · credits

How to Try Qwen4-Max Preview in Claude Code Before It Retires on 25 November

Also available in Hindi: यह लेख हिंदी में पढ़ें

Alibaba's Qwen team announced on 11 November 2026 that Qwen4 is coming and put Qwen4-Max in preview on its Token Plan. Qwen says the model brings deeper knowledge and stronger coding and agentic skills. It is also in QwenWork, Qoder, the Qwen app and Qwen Studio. Qwen has not published parameter counts, benchmarks or a final release date. The preview is short, so here is how to test it on your own code.

The preview window

Qwen4-Max Preview window, credit discounts and Token Plan prices
From QwenCloud docs. Times converted to IST. Illustration, not a screenshot.

QwenCloud's docs say the preview runs from 10:00 on 11 November to 24:00 on 25 November (UTC+8), which is 07:30 on 11 November to 21:30 on 25 November in India. After that the model is retired. During the promotion, credits are charged at as little as 20% of the standard rate, and an extra 60% off (8% of the standard rate) applies between 22:00 and 08:00 UTC+8 (19:30 to 05:30 IST).

Token Plan Individual starts at $6 a month for Lite (20,000 credits), or $3 for new users until 30 November. Essential is $10 ($5 for new users), Standard $18 and Pro $43.

Set it up in Claude Code

Steps to run Qwen4-Max Preview inside Claude Code with a Token Plan key
From QwenCloud docs. Illustration, not a screenshot.
  1. Buy a Token Plan Individual plan. It is sold only in the Singapore region of the console.
  2. On the API Keys page, copy the Token Plan key that starts with sk-sp-. Regular sk-ws- keys do not work here.
  3. Set ANTHROPIC_BASE_URL to https://token-plan.maas.qwencloudapi.com/apps/anthropic and ANTHROPIC_AUTH_TOKEN to your key.
  4. Set ANTHROPIC_DEFAULT_OPUS_MODEL to qwen4-max-preview, then pick Opus in Claude Code. The alias qwen4.0-max-preview also works.
  5. Run claude -p "Hello" to check. If long answers are cut off, set CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000.

For tools that speak the OpenAI protocol, use https://token-plan.maas.qwencloudapi.com/compatible-mode/v1 instead.

Rules before you rely on it

Related reading: Claude Code tutorial for beginners, OpenRouter guide, track Claude Code spend with Langfuse and the Qwen tool page.

Sources

FAQ

Is Qwen4-Max open weights?

No weights come with this preview, and Qwen has not announced a date for any.

Can I use it free?

PC Watch reports the Qwen Studio free plan can try it. The Token Plan has no free quota.

What happens after 25 November?

The preview model is retired. Switch your Opus mapping back to another model.

Does Token Plan work in Cursor?

Yes. QwenCloud lists Cursor, Codex, Qwen Code and OpenCode among supported tools.

About the author

Suraj Kumar builds and edits AIUseFlow, a directory of AI tools for vibe coders, agent builders and creators. Guides like this one walk through a practical workflow with cited sources — not a news wire rewrite. How we rank tools.

Get the weekly stack

Rank movers and new AI tools for builders, once a week. Free, no spam, unsubscribe anytime.