# Qwen 4 Architecture, Closed Qwen4-Max API, and Live Costs (https://reapi.ai/resources/qwen-4)

On November 16, 2026, Alibaba launched **Qwen4-Max**, the first production release of the **Qwen 4** generation, and broke from the open-weight playbook that built its developer base<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-3">\[3]</a></sup>. Rather than publishing day-one Hugging Face checkpoints, Alibaba released a closed-weight, API-only sparse Mixture-of-Experts flagship with **2.4 trillion** total backbone parameters, **71 billion** active per forward pass, a separate **328 billion** parameter N-gram embedding lookup layer, a **1 million** token context window, and native text, image, and video input<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>. That commercial turn arrived under three months after Alibaba open-sourced an August 28 architecture preview (`Qwen3.8-Flash-Next`) and two months after its September 22 Apsara keynote teased a four-tier **Qwen 4** roster<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>.

Below we trace how the **Qwen 4 architecture** scales from `Flash-Next` to `Qwen4-Max`, reconcile launch-week specification conflicts, and audit Alibaba's `Work360`, `Agents' Last Exam`, `DeepSWE v1.1`, and `Code Arena` claims against independent Artificial Analysis and Plotly evaluations plus `$1.50/$4.50` regional API pricing<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-4">\[4]</a></sup>. To be transparent on platform availability, **Qwen4-Max is not yet hosted on reAPI** as of December 3, 2026, while Alibaba's [Qwen Image 3.0](/models/qwen-image-3) is live today<sup><a href="#ref-13">\[13]</a></sup>. We compare `Qwen4-Max` directly against four live chat endpoints on reAPI: [DeepSeek V4.1 Flash](/models/deepseek-v4-1-flash), [Kimi K3.1 Pro](/models/kimi-k3-1-pro), `gpt-6.2-sol:gpt-0.1`, and [Claude Opus 5.5](/models/claude-opus-5-5)<sup><a href="#ref-9">\[9]</a></sup><sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-11">\[11]</a></sup><sup><a href="#ref-12">\[12]</a></sup>.

![Cantilevered modular matrix of matte stoneware and glossy celadon-porcelain louver blocks on warm pale oak illustrating Qwen 4 architecture](https://cdn.reapi.ai/media/blog/qwen-4/hero-v1.png)

## Inside the Qwen 4 architecture and its N-gram lookup split

Alibaba telegraphed the **Qwen 4 architecture** months before opening a commercial endpoint<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>. On August 28, 2026, Alibaba Cloud deployed `Qwen3.8-Flash-Next` on GMI Cloud as an open architectural preview carrying internal identifiers `qwen4_exp` and `Qwen4ExpForConditionalGeneration`, the same day `llama.cpp` merged PR `#27742` supporting its sparse attention blocks, oversized N-gram embedding tables, vision paths, and custom quantization kernels<sup><a href="#ref-6">\[6]</a></sup>.

Teardowns of `Flash-Next` reveal why Alibaba split static recall from active compute<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>. That preview paired a **125B** sparse MoE backbone (`6B` active per token across `512` experts with top-10 routing) with an independent **51B** Parameter-Free Lookup Embedding (PLE) table (`176B` served total)<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>. Its `48` layers split into `36` Gated DeltaNet layers and `12` attention layers, combined with Compressed Sparse Attention (CSA), Gated Residual Streams, Gated HyperConnection routing, Muon optimizer training, and Recursive Self-Improvement (RSI)<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>. Because static N-gram lookups rely on indexed memory reads rather than active tensor contractions, consumer testing on an RTX 4090 offloaded the `51B` table and `512` experts to host DDR4/DDR5 RAM and still hit `21 tok/s` decode at `250K` active context (`364 tok/s` prefill), while unified memory reached `24.1 tok/s` across a `262K` native context<sup><a href="#ref-6">\[6]</a></sup>.

Production **Qwen4-Max** scales that decoupling design to cloud clusters<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-3">\[3]</a></sup>. Upgrading attention, residual connections, and embeddings, Alibaba pairs a **2.4T** sparse MoE backbone (`71B` active per token, a `2.96%` activation ratio) with a standalone **328B** N-gram embedding table<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>. High-frequency short token sequences resolve through the `328B` fast path instead of burning routed `71B` compute on routine phrasing, cutting active parameters by `25%` relative to `Qwen3.8-Max`'s `95B` active count<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-5">\[5]</a></sup>.

| Specification       | `Qwen3.8-Flash-Next` (Preview)                                                                              | `Qwen3.8-Max` (`0902`)                                                                       | `Qwen4-Max` (Production)                                                                          |
| ------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| Release date        | August 28, 2026<sup><a href="#ref-6">\[6]</a></sup>                                                         | September 3, 2026<sup><a href="#ref-3">\[3]</a></sup>                                        | November 16, 2026<sup><a href="#ref-1">\[1]</a></sup>                                             |
| MoE backbone total  | `125B` (`48` layers, `512` experts)<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup> | `2.4T`<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-7">\[7]</a></sup>               | `2.4T`<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup>                    |
| Active per token    | `6B`<sup><a href="#ref-6">\[6]</a></sup>                                                                    | `95B`<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-7">\[7]</a></sup>                | `71B` (`2.96%` of MoE)<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-3">\[3]</a></sup>    |
| N-gram lookup table | `51B` static PLE (`176B` served)<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>    | Not disclosed                                                                                | `328B` separate embedding<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup> |
| Context and output  | `262K` native context<sup><a href="#ref-6">\[6]</a></sup>                                                   | `1M` context<sup><a href="#ref-7">\[7]</a></sup>                                             | `1M` ctx; `131,072` non-thinking / `262,144` thinking cap<sup><a href="#ref-2">\[2]</a></sup>     |
| Native modalities   | Text + vision components<sup><a href="#ref-6">\[6]</a></sup>                                                | Text (separate `Omni Flash` SKU)<sup><a href="#ref-3">\[3]</a></sup>                         | Text, image, and video (returns text)<sup><a href="#ref-2">\[2]</a></sup>                         |
| Availability        | Open-weight preview<sup><a href="#ref-7">\[7]</a></sup>                                                     | Hosted API (`$2/$6`)<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-7">\[7]</a></sup> | Closed API-only (`$1.50/$4.50` Singapore)<sup><a href="#ref-2">\[2]</a></sup>                     |

Source: Alibaba Group<sup><a href="#ref-1">\[1]</a></sup>, Model Studio documentation summary<sup><a href="#ref-2">\[2]</a></sup>, Local AI Zone<sup><a href="#ref-3">\[3]</a></sup>, Shattered<sup><a href="#ref-5">\[5]</a></sup>, and Kie.ai teardowns<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>.

### Reconciling launch-week specification discrepancies

Three spec conflicts surfaced across launch coverage. First, some launch-day posts claimed `Qwen4-Max` doubled total parameters over `Qwen3.8-Max`, whereas Alibaba Group's November 16 press release states `Qwen4-Max` runs `25%` fewer active parameters (`71B` vs `95B`) at the same `2.4T` scale, with the extra capacity coming from the separate `328B` N-gram table<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>.

Second, Alibaba Cloud Model Studio specifies `131,072` max output tokens in non-thinking mode and `262,144` tokens shared across thinking traces and final output, whereas other launch summaries summed those two caps into `393,216` (`393K`) tokens<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>. Budget long-reasoning agents against Model Studio's `262,144`-token shared cap<sup><a href="#ref-2">\[2]</a></sup>.

Third, the `5` to `10` trillion parameter roadmap shown at Apsara alongside Alibaba's T-Head Zhenwu V900 silicon (`500,000`-chip clusters) targets future `Qwen 4.5` and `Qwen 5` models rather than **Qwen 4**<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>.

## Why Alibaba shipped Qwen4-Max closed-weight and API-only

At the September 22, 2026 Apsara Conference in Hangzhou, Qwen LLM head Liu Dayiheng confirmed **Qwen 4** was in training while stage slides displayed a four-tier roster (`Qwen4-Max`, `Qwen4-Plus`, `Qwen4-Flash`, and `Qwen4-27B`), though the published press release confirmed only active training<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-7">\[7]</a></sup>. After arena testers spotted early checkpoints under `"Kalmia"` and Qoder's `"QoDuck"`, Alibaba opened `Qwen4-Max-Preview` on November 11 exclusively to Token Plan subscribers from `$6/month` without benchmarks, a model card, or pay-as-you-go rates, retiring that preview on November 25<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-6">\[6]</a></sup>.

On November 16, production `qwen4-max` launched across six Alibaba Cloud Model Studio regions (Singapore, Beijing, Hong Kong, Frankfurt, Virginia, and Tokyo), Vercel AI Gateway, and OpenRouter, feeding `QwenCloud`, `Qwen Studio`, `QwenWork`, and `Qoder`<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-5">\[5]</a></sup>. Folding native text, image, and video into one SKU removes the fragmented September `Qwen3.8` catalog (`Max 0902`, `Omni Flash`, `Max Prime`) and channels both API usage and seat-based subscriptions into Alibaba's own products<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-5">\[5]</a></sup>.

The closed-weight stance breaks sharply from peers. On November 4, 2026, Moonshot AI shipped Apache 2.0 weights for `Kimi K3.1 Pro` (`2.8T` total, `104B` active), and DeepSeek continues publishing downloadable checkpoints within days of API releases<sup><a href="#ref-3">\[3]</a></sup>. Even U.S. hyperscalers have shipped downloadable weights with commercial caveats, as examined in our [Amazon Ergo open-weight and license audit](/resources/amazon-ergo). `Qwen4-Max` ships with no Hugging Face repo, no model card, and no GGUF path; Qwen's open-source blog index on `qwenlm.github.io` still displays Qwen3-era releases (`Qwen3Guard`, `20B` MMDiT `Qwen-Image`, `92`-language `Qwen-MT`, and `GSPO` RL) with no fourth-generation checkpoint post<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-8">\[8]</a></sup>. Alibaba promised only that smaller open-weight **Qwen 4** models will arrive "soon," with no dates or licenses<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-3">\[3]</a></sup>. Contrary to one launch-day misstatement claiming `Qwen 2.5` is the newest downloadable Qwen, open-weight `Qwen3.8-Flash-Next` and `Qwen 3.8 27B` already run locally on machines such as a `64 GB` Mac mini<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-7">\[7]</a></sup>.

Alibaba emphasized lifecycle governance alongside the closed launch: code-security checks for injection, memory safety, and broken access control; cybersecurity data filtered by intent to keep defensive remediation while removing offensive attack content; and CBRN post-training safeguards<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-5">\[5]</a></sup>. Closing weights blocks outside verification of expert routing and safety, and as of December 3, 2026, neither independent safety audits nor independent `1 million` token recall tests exist<sup><a href="#ref-5">\[5]</a></sup>.

## Auditing official Qwen4-Max benchmarks against independent tests

Alibaba's November 16 announcement positions **Qwen4-Max** as an enterprise agent workhorse: ranked `6th` on `Code Arena` (`1750` Elo), strong across `Agents' Last Exam`, `Vals Index`, `JobBench`, and `Chartography`, and leading `Claude Opus 5.5` (`74.2`) and `Kimi K3.1` (`75.5`) at `75.7` on `DeepSWE v1.1`<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup>. On its proprietary `Work360` benchmark covering `721` specialized fields, Alibaba reports a jump from `47.74` (`Qwen3.8-Max`) to `52.69` using `24%` to `35%` fewer High-effort output tokens, cutting average task cost by `62%` (`$4.43` to `$1.67`, rounded to around `60%` in the press release) and trimming `Terminal-Bench 4.0` tokens by `48%` to `49%`<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup>.

| Benchmark or Metric                          |                                                                           `Qwen4-Max` |                                            `Qwen3.8-Max` |                                         `Claude Opus 5.5` |                                           `GPT-6 Astra` |                                `Kimi K3.1` |
| -------------------------------------------- | ------------------------------------------------------------------------------------: | -------------------------------------------------------: | --------------------------------------------------------: | ------------------------------------------------------: | -----------------------------------------: |
| `DeepSWE v1.1` (official `qwen.ai`)          |                                            `75.7`<sup><a href="#ref-2">\[2]</a></sup> |               `69.3`<sup><a href="#ref-2">\[2]</a></sup> |                `74.2`<sup><a href="#ref-2">\[2]</a></sup> |              `74.1`<sup><a href="#ref-2">\[2]</a></sup> | `75.5`<sup><a href="#ref-2">\[2]</a></sup> |
| `CodeArena` Elo (official `qwen.ai`)         | `1750` (`#6`)<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup> |               `1676`<sup><a href="#ref-2">\[2]</a></sup> |                `1816`<sup><a href="#ref-2">\[2]</a></sup> |              `1763`<sup><a href="#ref-2">\[2]</a></sup> | `1686`<sup><a href="#ref-2">\[2]</a></sup> |
| `Terminal-Bench 4.0` (official `qwen.ai`)    |                                            `48.5`<sup><a href="#ref-2">\[2]</a></sup> |               `38.9`<sup><a href="#ref-2">\[2]</a></sup> |                `59.6`<sup><a href="#ref-2">\[2]</a></sup> |              `59.1`<sup><a href="#ref-2">\[2]</a></sup> | `67.2`<sup><a href="#ref-2">\[2]</a></sup> |
| `AA-Briefcase v1.1` Elo (official `qwen.ai`) |                                            `1686`<sup><a href="#ref-2">\[2]</a></sup> |               `1605`<sup><a href="#ref-2">\[2]</a></sup> |                `1801`<sup><a href="#ref-2">\[2]</a></sup> |              `1569`<sup><a href="#ref-2">\[2]</a></sup> | `1674`<sup><a href="#ref-2">\[2]</a></sup> |
| `HLAB-Vals-1.1` legal (official `qwen.ai`)   |                                            `21.3`<sup><a href="#ref-2">\[2]</a></sup> |               `15.4`<sup><a href="#ref-2">\[2]</a></sup> |                 `9.2`<sup><a href="#ref-2">\[2]</a></sup> |               `7.1`<sup><a href="#ref-2">\[2]</a></sup> | `11.7`<sup><a href="#ref-2">\[2]</a></sup> |
| `Automationbench-AA` (official `qwen.ai`)    |                                            `72.5`<sup><a href="#ref-2">\[2]</a></sup> |               `56.2`<sup><a href="#ref-2">\[2]</a></sup> |                `69.5`<sup><a href="#ref-2">\[2]</a></sup> |              `68.5`<sup><a href="#ref-2">\[2]</a></sup> | `73.3`<sup><a href="#ref-2">\[2]</a></sup> |
| `BioMysteryBench` (official `qwen.ai`)       |                                            `85.0`<sup><a href="#ref-2">\[2]</a></sup> |               `84.1`<sup><a href="#ref-2">\[2]</a></sup> |                `81.9`<sup><a href="#ref-2">\[2]</a></sup> |              `78.9`<sup><a href="#ref-2">\[2]</a></sup> | `80.6`<sup><a href="#ref-2">\[2]</a></sup> |
| `Humanity's Last Exam` (official `qwen.ai`)  |                                            `51.7`<sup><a href="#ref-2">\[2]</a></sup> |               `43.9`<sup><a href="#ref-2">\[2]</a></sup> |                `59.8`<sup><a href="#ref-2">\[2]</a></sup> |              `53.6`<sup><a href="#ref-2">\[2]</a></sup> | `51.1`<sup><a href="#ref-2">\[2]</a></sup> |
| `AgentArena` net gain (official `qwen.ai`)   |                                             `7.5`<sup><a href="#ref-2">\[2]</a></sup> |                                               Not listed |                `18.2`<sup><a href="#ref-2">\[2]</a></sup> |              `13.9`<sup><a href="#ref-2">\[2]</a></sup> |  `3.9`<sup><a href="#ref-2">\[2]</a></sup> |
| Artificial Analysis Index (independent)      |                              `43` (`#38` of `81`)<sup><a href="#ref-2">\[2]</a></sup> |       `34` (v5 card)<sup><a href="#ref-7">\[7]</a></sup> |           `59` (`#5`)<sup><a href="#ref-2">\[2]</a></sup> |         `57` (`#8`)<sup><a href="#ref-2">\[2]</a></sup> |                               Not in table |
| AA Avg Cost / Task and Speed                 |                               `$3.27`, `53 tok/s`<sup><a href="#ref-2">\[2]</a></sup> | `$1.13` (older card)<sup><a href="#ref-7">\[7]</a></sup> | `$10.04`, `117 tok/s`<sup><a href="#ref-2">\[2]</a></sup> | `$6.24`, `42 tok/s`<sup><a href="#ref-2">\[2]</a></sup> |                               Not in table |

Source: Alibaba Group<sup><a href="#ref-1">\[1]</a></sup>, `qwen.ai` and Artificial Analysis tables via Online Tech Tips<sup><a href="#ref-2">\[2]</a></sup>, and `Qwen3.8-Max` v5 baseline via Kie.ai<sup><a href="#ref-7">\[7]</a></sup>.

Alibaba also cited four internal showcases: cloud scheduling trimming annotation call spend by `9%` and accelerating offline CPU rescheduling more than `14` times; automotive workpiece programming falling `95%` (`475` minutes to `24` minutes); a `48`-hour, `4`-iteration chip-coolant run; and an Alzheimer's agent executing `454` tool calls and `3,239` evaluations across `24` candidate molecules<sup><a href="#ref-1">\[1]</a></sup>. Treat those as company showcases rather than reproducible public evals<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-5">\[5]</a></sup>.

Independent benchmarks expose sharper limits. On the `81`-model Artificial Analysis Intelligence Index, `Qwen4-Max` clears the `41`-point median at `43` (`#38`, `127M` output tokens, `$3.27`/task, `53 tok/s`), trailing `Claude Fable 5.2 (Max)` (`65`, `#1`, `$26.54`/task, `110 tok/s`), `Gemini 4 Carbon (High)` (`60`, `#4`, `$5.48`/task, `62 tok/s`), `Claude Opus 5.5 (Max)` (`59`, `#5`, `$10.04`/task, `117 tok/s`), and `GPT-6 Astra (Max)` (`57`, `#8`, `$6.24`/task, `42 tok/s`) by `14` to `22` points<sup><a href="#ref-2">\[2]</a></sup>. On coding, it trails `Claude Opus 5.5` by `11.1` points and `Kimi K3.1` by `18.7` points on `Terminal-Bench 4.0`, and sits `33.5` points behind `Claude Opus 5.5` on `ProgramBench`<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>.

Plotly's private `43`-question `DataAnalyticsBench` (run November 16 via OpenRouter on a synthetic wind-energy fleet warehouse) adds empirical nuance<sup><a href="#ref-4">\[4]</a></sup>. `Qwen4-Max` scored `35/43` (`81%`, grade B) for `$2.29` per full exam (`$133`/person/year at `1,000` staff asking `10` questions daily over `250` workdays) at a `40`-second median (`47` minutes total)<sup><a href="#ref-4">\[4]</a></sup>. It scored `5/5` on ambiguous prompts, `5/5` on impossible requests, `19/20` on direct analytics, and achieved a `92%` provider cache hit rate (`6` calls and `3,200` output tokens per question)<sup><a href="#ref-4">\[4]</a></sup>. Still, `31` of `50` models scored higher, `31` of `50` ran faster, and `10` were both cheaper and more accurate<sup><a href="#ref-4">\[4]</a></sup>. It missed `2/3` planted data-quality bugs, `2/5` statistics traps, and `3/5` hidden patterns (averaging `19` queries vs the `26`-query board median), finishing behind open-weight `Qwen 3.8 27B` (`38/43`, `$1.71`, `53 s`), `DeepSeek V4.1 Flash` (`36/43`, `$0.46`, `21 s`), and `Kimi K3.1 Pro` (`42/43`, tied with Tencent `Hy4` at `$2.11`)<sup><a href="#ref-4">\[4]</a></sup>. Even allowing for Plotly's `3`-point single-run variance, the nearly `5x` run-cost gap against `DeepSeek V4.1 Flash` (`$2.29` vs `$0.46`) is decisive<sup><a href="#ref-4">\[4]</a></sup>.

## Regional API pricing and live reAPI alternatives

Alibaba Cloud Model Studio sets two regional rates for `Qwen4-Max`: **`$1.50` input and `$4.50` output per million tokens** in Singapore (international) and on OpenRouter, and **`$1.413` input and `$4.24` output** across Beijing, Hong Kong, Frankfurt, Virginia, and Tokyo, alongside **`$0.075` per million tokens** for implicit cache hits<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-4">\[4]</a></sup>. Singapore list pricing cuts `25%` off `Qwen3.8-Max` (`$2.00/$6.00`) and undercuts Anthropic's official `$4.00/$20.00` rate for `Claude Opus 5.5` by `62.5%` on input and `77.5%` on output<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-12">\[12]</a></sup>.

As of December 3, 2026, **`Qwen4-Max` is not hosted on reAPI**, whereas Alibaba's [Qwen Image 3.0](/models/qwen-image-3) is live on `POST https://api.reapi.ai/v1/images/generations` (`qwen-image-3.0` at `$0.024`/image, `qwen-image-3.0-pro` at `$0.035` for `1K` and `$0.069` for `2K`, plus `$0.003`/reference across up to `3` references, supporting `4.5k`-token layouts with `10px` text legibility)<sup><a href="#ref-13">\[13]</a></sup>. Comparing `Qwen4-Max` against live December 3 chat models on reAPI shows why discounted multi-model routing changes the economics<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-9">\[9]</a></sup><sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-11">\[11]</a></sup><sup><a href="#ref-12">\[12]</a></sup>:

| Model and Endpoint (Verified Dec 3, 2026)                                                                            | Availability                                             |                                                                               Input / Output (per 1M) |                                          Cache Read (per 1M) | Context and Verified Fit                                                                                                                                                                                                                   |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- | ----------------------------------------------------------------------------------------------------: | -----------------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Qwen4-Max` (`qwen4-max`)<sup><a href="#ref-2">\[2]</a></sup>                                                        | Model Studio / OpenRouter (not on reAPI)                 |                     `$1.50` / `$4.50` (`$1.413`/`$4.24` regional)<sup><a href="#ref-2">\[2]</a></sup> |      `$0.075` (implicit)<sup><a href="#ref-1">\[1]</a></sup> | `1M` ctx, `262K` thinking cap, native video; strong legal (`21.3`) and bio (`85.0`)<sup><a href="#ref-2">\[2]</a></sup>                                                                                                                    |
| [DeepSeek V4.1 Flash](/models/deepseek-v4-1-flash) (`deepseek-v4.1-flash`)<sup><a href="#ref-9">\[9]</a></sup>       | Live on reAPI (`/v1/chat/completions`)                   |                                                 `$0.18` / `$0.72`<sup><a href="#ref-9">\[9]</a></sup> |                `$0.0036`<sup><a href="#ref-9">\[9]</a></sup> | `1M` ctx, `384K` max output, vision, default thinking; `36/43` (`$0.46`, `21 s`) on Plotly<sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-9">\[9]</a></sup>                                                                         |
| `gpt-6.2-sol:gpt-0.1` (default `gpt`: `$1.50`/`$7.50`)<sup><a href="#ref-11">\[11]</a></sup>                         | Live on reAPI (`/v1/chat/completions`)                   |               `$0.20` / `$1.00` (above `272K`: `$0.40`/`$1.50`)<sup><a href="#ref-11">\[11]</a></sup> | `$0.01` (`$0.02` long)<sup><a href="#ref-11">\[11]</a></sup> | Text or image input, structured output, streaming; everyday coding<sup><a href="#ref-11">\[11]</a></sup>                                                                                                                                   |
| [Kimi K3.1 Pro](/models/kimi-k3-1-pro) (`kimi-k3.1-pro` / `:kimi3-0.8`)<sup><a href="#ref-10">\[10]</a></sup>        | Live on reAPI (`/v1/chat/completions`)                   |     `$2.00`/`$10.00` (`kimi3`) or `$1.60`/`$8.00` (`kimi3-0.8`)<sup><a href="#ref-10">\[10]</a></sup> |     `$0.20` or `$0.16`<sup><a href="#ref-10">\[10]</a></sup> | `2.8T/104B` open weights, up to `1M` output range; `67.2` Terminal-Bench, `42/43` Plotly<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-10">\[10]</a></sup> |
| [Claude Opus 5.5](/models/claude-opus-5-5) (`claude-opus-5-5` / `:claude-0.5`)<sup><a href="#ref-12">\[12]</a></sup> | Live on reAPI (`/v1/messages` or `/v1/chat/completions`) | `$2.80`/`$14.00` (`30%` off) or `$2.00`/`$10.00` (`claude-0.5`)<sup><a href="#ref-12">\[12]</a></sup> |     `$0.14` or `$0.10`<sup><a href="#ref-12">\[12]</a></sup> | `59` AA Index, `59.6` Terminal-Bench, `1816` CodeArena; native Messages or OpenAI SDK<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-12">\[12]</a></sup>                                                                            |

Source: Alibaba Group<sup><a href="#ref-1">\[1]</a></sup>, Model Studio regional pricing<sup><a href="#ref-2">\[2]</a></sup>, Plotly<sup><a href="#ref-4">\[4]</a></sup>, and live reAPI quotes fetched December 3, 2026<sup><a href="#ref-9">\[9]</a></sup><sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-11">\[11]</a></sup><sup><a href="#ref-12">\[12]</a></sup>.

Three price spreads stand out. [DeepSeek V4.1 Flash](/models/deepseek-v4-1-flash) (`$0.18/$0.72`, `$0.0036` cache read) undercuts `Qwen4-Max`'s Singapore rates by `88%` on input and `84%` on output while keeping a `1M` context and `384K` max output<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-9">\[9]</a></sup>. `gpt-6.2-sol:gpt-0.1` (`$0.20/$1.00` up to `272,000` input tokens, `$0.01` cache read) costs under one-quarter of `Qwen4-Max` on output<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-11">\[11]</a></sup>. And [Claude Opus 5.5](/models/claude-opus-5-5) on reAPI's `claude-0.5` group (`$2.00/$10.00`, `$0.10` cache read) cuts Anthropic's `$4.00/$20.00` official rate in half, narrowing the input spread over `Qwen4-Max` to `$0.50` per million tokens for a `16`-point lead on Artificial Analysis (`59` vs `43`)<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-12">\[12]</a></sup>.

Because reAPI serves `deepseek-v4.1-flash`, `gpt-6.2-sol:gpt-0.1`, and `kimi-k3.1-pro:kimi3-0.8` synchronously behind one OpenAI-compatible base URL (`https://api.reapi.ai/v1`), teams can benchmark those endpoints immediately with a key from [reAPI API keys](/settings/apikeys)<sup><a href="#ref-9">\[9]</a></sup><sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-11">\[11]</a></sup>:

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.reapi.ai/v1",
    api_key="YOUR_REAPI_API_KEY",
)

# Swap live wire IDs without changing client code:
# "deepseek-v4.1-flash" | "gpt-6.2-sol:gpt-0.1" | "kimi-k3.1-pro:kimi3-0.8"
response = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Audit this migration diff for race conditions."}],
    reasoning_effort="high",
    max_tokens=8192,
)
print(response.choices[0].message.content)
```

For `kimi-k3.1-pro:kimi3-0.8`, use `max_completion_tokens` (default `131072`) instead of deprecated `max_tokens` and set `reasoning_effort` to `low`, `high`, or `max`<sup><a href="#ref-10">\[10]</a></sup>. For `gpt-6.2-sol:gpt-0.1`, keep prompts at or under `272,000` input tokens to stay on `$0.20/$1.00` before `$0.40/$1.50` long-context billing applies<sup><a href="#ref-11">\[11]</a></sup>.

## Engineering routing rules for teams evaluating Qwen 4

Four operational rules settle where each workload belongs today:

1. Call `qwen4-max` on Alibaba Cloud Model Studio when your evals match its clear domain leads (`21.3` on `HLAB-Vals-1.1`, `85.0` on `BioMysteryBench`, or unified text-plus-video `1M` ingestion) and repeated prefixes hit `$0.075/M` implicit caching on `$1.413/$4.24` regional rates<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup>.
2. Route high-concurrency triage, SQL analytics, and budget agent loops to [DeepSeek V4.1 Flash](/models/deepseek-v4-1-flash) (`$0.18/$0.72`, `21 s` Plotly median) or `gpt-6.2-sol:gpt-0.1` (`$0.20/$1.00`) on reAPI rather than paying `$1.50/$4.50` for mid-pack analytics accuracy<sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-9">\[9]</a></sup><sup><a href="#ref-11">\[11]</a></sup>.
3. Escalate terminal automation and repo-level refactoring to [Kimi K3.1 Pro](/models/kimi-k3-1-pro) (`67.2` Terminal-Bench 4.0, `$1.60/$8.00` on `kimi3-0.8`) or [Claude Opus 5.5](/models/claude-opus-5-5) (`59.6` Terminal-Bench 4.0, `$2.00/$10.00` on `claude-0.5`), and pair typography-dense image tasks with live [Qwen Image 3.0](/models/qwen-image-3) (`$0.024` standard, `$0.035`/`$0.069` Pro)<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-12">\[12]</a></sup><sup><a href="#ref-13">\[13]</a></sup>.
4. Keep air-gapped or local-GPU stacks on open-weight `Qwen 3.8 27B`, Apache 2.0 `Kimi K3.1 Pro`, or U.S.-origin [Amazon Ergo](/resources/amazon-ergo) until Alibaba publishes weights, sizes, and licenses for the smaller open-weight **Qwen 4** checkpoints promised on November 16<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-4">\[4]</a></sup>.

Taken together, the **Qwen 4** launch proves Alibaba can cut active inference compute by `25%` (`71B` vs `95B`) and shrink `Work360` task spend by `62%` by pairing a `2.4T` sparse MoE backbone with a `328B` N-gram lookup table<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>. Closing the weights, however, drops the flagship directly into managed API competition where live December 3 endpoints on reAPI already beat it on token price (`deepseek-v4.1-flash`, `gpt-6.2-sol:gpt-0.1`) or terminal and coding accuracy (`kimi-k3.1-pro`, `claude-opus-5-5`)<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-9">\[9]</a></sup><sup><a href="#ref-10">\[10]</a></sup><sup><a href="#ref-11">\[11]</a></sup><sup><a href="#ref-12">\[12]</a></sup>. Until smaller open-weight checkpoints actually ship, let your own regression suite and measured per-task invoice decide whether `Qwen4-Max` earns a dedicated Model Studio integration.

## References

1. <span id="ref-1" />Alibaba Group. *Alibaba Unveils Qwen4-Max: New AI Teammate for Work, Creativity, and Discovery.* Checked December 3, 2026 from [Alibaba Group Newsroom](https://www.alibabagroup.com/en-US/document-2060139246777270272)
2. <span id="ref-2" />Online Tech Tips Staff (ed. Aseem Kishore). *Alibaba unveils Qwen4-Max for complex professional tasks.* Checked December 3, 2026 from [Online Tech Tips](https://www.online-tech-tips.com/alibaba-qwen4-max-complex-professional-tasks/)
3. <span id="ref-3" />Hussain Nazary (Local AI Zone). *Qwen4-Max: The Complete Deep Dive.* Checked December 3, 2026 from [Local AI Zone](https://local-ai-zone.github.io/blog/qwen-4-deep-dive.html)
4. <span id="ref-4" />Plotly. *Qwen4 Max Benchmark Results for Data Analysis.* Checked December 3, 2026 from [Plotly Blog](https://plotly.com/blog/qwen4-max-plotly-data-analytics-bench/)
5. <span id="ref-5" />Laura Bennett (Shattered). *Alibaba Qwen4-Max: 2.4T Parameters, 60% Lower Task Cost.* Checked December 3, 2026 from [Shattered](https://shattered.io/alibaba-qwen4-max-2-4-trillion-parameters-60-percent-lower-task-cost/)
6. <span id="ref-6" />Kenji Tanaka (Kie.ai). *Qwen 4 Deep Dive: Architecture and Benchmarks.* Checked December 3, 2026 from [Kie.ai Blog](https://kie.ai/blog/qwen-4-architecture-shift-open-weight-engineering)
7. <span id="ref-7" />Daniel Okonkwo (Kie.ai). *Qwen4-Max: Deep Dive Into Alibaba's Flagship.* Checked December 3, 2026 from [Kie.ai Blog](https://kie.ai/blog/qwen4-max-alibaba-flagship-deep-dive)
8. <span id="ref-8" />Qwen Team. *Blog | Qwen.* Checked December 3, 2026 from [Qwen GitHub Pages Blog](https://qwenlm.github.io/blog/)
9. <span id="ref-9" />reAPI. *DeepSeek V4.1 Flash API Pricing and Input Schema.* Checked December 3, 2026 from [reAPI DeepSeek V4.1 Flash](https://reapi.ai/models/deepseek-v4-1-flash)
10. <span id="ref-10" />reAPI. *Kimi K3.1 Pro API Pricing and Input Schema.* Checked December 3, 2026 from [reAPI Kimi K3.1 Pro](https://reapi.ai/models/kimi-k3-1-pro)
11. <span id="ref-11" />reAPI. *GPT-6.2 Sol API Pricing and Input Schema.* Checked December 3, 2026 from [reAPI GPT-6.2 Sol](https://reapi.ai/models/gpt-6-2-sol)
12. <span id="ref-12" />reAPI. *Claude Opus 5.5 API Pricing and Input Schema.* Checked December 3, 2026 from [reAPI Claude Opus 5.5](https://reapi.ai/models/claude-opus-5-5)
13. <span id="ref-13" />reAPI. *Qwen Image 3.0 API Pricing and Input Schema.* Checked December 3, 2026 from [reAPI Qwen Image 3.0](https://reapi.ai/models/qwen-image-3)
