{"id":475,"date":"2026-11-17T08:32:10","date_gmt":"2026-11-17T00:32:10","guid":{"rendered":"https:\/\/qoraapi.com\/blog\/qwen4-max-api\/"},"modified":"2026-11-17T08:32:10","modified_gmt":"2026-11-17T00:32:10","slug":"qwen4-max-api","status":"publish","type":"post","link":"https:\/\/qoraapi.com\/blog\/qwen4-max-api\/","title":{"rendered":"Qwen4-Max API: Price, Model ID and vs Qwen3.8-Max (2026)"},"content":{"rendered":"<p><strong>Short answer:<\/strong> Qwen4-Max is Alibaba&#8217;s new flagship model, generally available since November 16, 2026 under the API model ID <code>qwen4-max<\/code>. As of November 17, 2026 its international (Singapore) list price is <strong>$1.50 per 1M input tokens and $4.50 per 1M output tokens<\/strong>, with cached input at $0.075. It has a 1,000,000-token context window, accepts text, image and video, and is 25% cheaper than Qwen3.8-Max ($2 \/ $6).<\/p>\n<p>This guide covers what Qwen4-Max costs once thinking tokens are counted, how it compares with Qwen3.8-Max, what to change when migrating, and how to call it with the OpenAI SDK. Official figures come from Alibaba Cloud&#8217;s <a href=\"https:\/\/www.alibabacloud.com\/help\/en\/model-studio\/qwen4-max\" rel=\"noopener\" target=\"_blank\">Qwen4-Max docs<\/a> and <a href=\"https:\/\/www.alibabacloud.com\/help\/en\/model-studio\/model-pricing\" rel=\"noopener\" target=\"_blank\">Model Studio pricing page<\/a>.<\/p>\n<h2>What is Qwen4-Max?<\/h2>\n<p>Qwen4-Max is a mixture-of-experts model with 2.4 trillion total parameters and 71 billion active per token, according to <a href=\"https:\/\/www.alibabacloud.com\/en\/press-room\/alibaba-unveils-qwen4-max\" rel=\"noopener\" target=\"_blank\">Alibaba&#8217;s announcement<\/a>. A Token Plan-only preview (<code>qwen4-max-preview<\/code>) opened on November 11, 2026; the pay-as-you-go release followed on November 16. The preview model is separate and ends on November 25, 2026. There are no open weights for Qwen4-Max; Alibaba says smaller Qwen4 models will be opened later.<\/p>\n<ul>\n<li><strong>Efficiency claim:<\/strong> Alibaba reports it beats Qwen3.8-Max on its Work360 benchmark with about 35% fewer tokens at High effort, and about 60% lower average cost per task. These are Alibaba&#8217;s own numbers.<\/li>\n<li><strong>Coding:<\/strong> ranked 6th on Code Arena, per Alibaba.<\/li>\n<li><strong>Features:<\/strong> thinking mode, function calling, built-in web search, structured output, and OpenAI- and Anthropic-compatible endpoints.<\/li>\n<\/ul>\n<h2>How much does the Qwen4-Max API cost?<\/h2>\n<table>\n<thead>\n<tr>\n<th>Item<\/th>\n<th>Singapore (international)<\/th>\n<th>Beijing \/ Global<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Input \/ 1M tokens<\/td>\n<td>$1.50<\/td>\n<td>$1.413<\/td>\n<\/tr>\n<tr>\n<td>Output \/ 1M tokens (thinking included)<\/td>\n<td>$4.50<\/td>\n<td>$4.24<\/td>\n<\/tr>\n<tr>\n<td>Cache read \/ 1M<\/td>\n<td>$0.075<\/td>\n<td>$0.071<\/td>\n<\/tr>\n<tr>\n<td>Cache write (5 min \/ 1 hour) \/ 1M<\/td>\n<td>$1.875 \/ $3.00<\/td>\n<td>$1.767 \/ $2.827<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>There is a single price tier for the whole 1M context and the same rate in thinking and non-thinking modes. Thinking tokens are billed as output, so a short answer can still cost thousands of output tokens at high effort.<\/p>\n<h2>Qwen4-Max vs Qwen3.8-Max: which is cheaper?<\/h2>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th>Qwen4-Max<\/th>\n<th>Qwen3.8-Max<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Model ID<\/td>\n<td><code>qwen4-max<\/code><\/td>\n<td><code>qwen3.8-max<\/code><\/td>\n<\/tr>\n<tr>\n<td>Input \/ output per 1M<\/td>\n<td>$1.50 \/ $4.50<\/td>\n<td>$2.00 \/ $6.00<\/td>\n<\/tr>\n<tr>\n<td>Context<\/td>\n<td>1M<\/td>\n<td>1M<\/td>\n<\/tr>\n<tr>\n<td>Active parameters<\/td>\n<td>71B<\/td>\n<td>25% more<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Qwen4-Max is 25% cheaper on both input and output. Alibaba also says cache reads are 70% cheaper. See the <a href=\"https:\/\/qoraapi.com\/models\/qwen3-8-max-api\">Qwen3.8 Max price page<\/a> for the older model.<\/p>\n<h2>What does a month of Qwen4-Max cost?<\/h2>\n<p>A coding agent that sends 30M input tokens and 6M output tokens a month costs $45 + $27 = <strong>$72<\/strong> at list price. The same volume on Qwen3.8-Max is $60 + $36 = $96. If 70% of the input hits the implicit cache (21M tokens at $0.075, 9M at $1.50), the input part falls from $45 to about $15, so the total lands near $42.<\/p>\n<h2>How do I call Qwen4-Max with the OpenAI SDK?<\/h2>\n<p>Qwen4-Max works with the OpenAI Chat Completions format. Check <a href=\"https:\/\/qoraapi.com\/pricing\">qoraapi.com\/pricing<\/a> to see whether <code>qwen4-max<\/code> is listed on Qora API yet; the pattern below is the same for any listed model.<\/p>\n<pre><code>from openai import OpenAI\n\nclient = OpenAI(base_url=\"https:\/\/qoraapi.com\/v1\", api_key=\"YOUR_QORA_KEY\", timeout=600)\nresp = client.chat.completions.create(\n    model=\"qwen4-max\",\n    messages=[{\"role\": \"user\", \"content\": \"Plan and write a FastAPI todo service.\"}],\n)\nprint(resp.choices[0].message.content)<\/code><\/pre>\n<p>Use a generous timeout and avoid low <code>max_tokens<\/code> caps: Alibaba allows up to 131,072 output tokens without thinking and 262,144 for thinking plus answer.<\/p>\n<h2>How do I migrate from Qwen3.8-Max?<\/h2>\n<ul>\n<li>Change the model string from <code>qwen3.8-max<\/code> to <code>qwen4-max<\/code>.<\/li>\n<li>Do not use <code>qwen4-max-preview<\/code>; it is Token Plan only and shuts down November 25, 2026.<\/li>\n<li>Check which region you call: Singapore and Beijing\/Global have different prices and data scope.<\/li>\n<li>Re-test prompts that relied on a fixed token budget; Qwen4-Max is meant to use fewer tokens per task.<\/li>\n<\/ul>\n<h2>Qwen4-Max API FAQ<\/h2>\n<h3>What is the Qwen4-Max model ID?<\/h3>\n<p>The ID is <code>qwen4-max<\/code>. The preview ID <code>qwen4-max-preview<\/code> is a different, temporary model.<\/p>\n<h3>Does Qwen4-Max have open weights?<\/h3>\n<p>No. It is API-only. Alibaba has said smaller Qwen4 models will get open weights, without names or dates.<\/p>\n<h3>How big is the Qwen4-Max context window?<\/h3>\n<p>1,000,000 tokens, with up to 131,072 output tokens without thinking and 262,144 for thinking plus answer.<\/p>\n<h3>Is Qwen4-Max available on Qora API?<\/h3>\n<p>Check the live <a href=\"https:\/\/qoraapi.com\/pricing\">pricing page<\/a>. The full spec sheet is on the <a href=\"https:\/\/qoraapi.com\/models\/qwen4-max-api\">Qwen4-Max model page<\/a>, and you can <a href=\"https:\/\/qoraapi.com\/register\">create a Qora API key<\/a> to use the other listed models today.<\/p>\n<h3>Is Qwen4-Max cheaper than GPT or Claude flagships?<\/h3>\n<p>At $1.50 \/ $4.50 per 1M tokens it is well below Claude Fable 5.2 ($8 \/ $40 official), and similar in range to GPT-6.1 Terra ($1 \/ $5 official). Compare current prices on the <a href=\"https:\/\/qoraapi.com\/models\">model prices hub<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Short answer: Qwen4-Max is Alibaba&#8217;s new flagship model, generally available since November 16, 2026 under the API model ID qwen4-max. As of November 17, 2026 its international (Singapore) list price is $1.50 per 1M input tokens and $4.50 per 1M output tokens, with cached input at $0.075. It has a 1,000,000-token context window, accepts text, [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-475","post","type-post","status-publish","format-standard","hentry","category-ai-api"],"_links":{"self":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts\/475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/comments?post=475"}],"version-history":[{"count":0,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts\/475\/revisions"}],"wp:attachment":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/media?parent=475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/categories?post=475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/tags?post=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}