Alibaba

Qwen3.8-Max

the first Qwen Max released with open weights

22 min readLarge Language ModelsLast updated:

Editorial illustration: Qwen3.8-Max, Alibaba's 2.4-trillion-parameter model

Key facts

AlibabaQwen
Lab
2.4T95B active
Parameters
1Mtokens
Context
$2.00per M tokens
Input
$6.00per M tokens
Output
Openpromised for w/c 10 Aug
Weights

The top tier of the Qwen line, and the first one Alibaba will publish the weights for. It is built to be left running: ten days building a working command-line tool from an empty folder, five days reproducing a research paper and then improving on it, 500 turns shrinking a chip design to a twelfth of its size, a simulated year running online shops. It costs $2.00 per million tokens in and $6.00 out.

Qwen3.8-Max is the top model in Alibaba’s Qwen family, released on 3 August 2026. It has 2.4 trillion parameters, of which about 95 billion are active on any given token, a one-million-token context window, and a price of $2.00 per million tokens in and $6.00 per million out. It is natively multimodal, it is available to anyone from launch day, and it is the first Max-tier Qwen whose weights Alibaba will publish.

What it is built for is length. The capability Alibaba leads on is the multi-day project rather than the single reply: ten days alone in an empty folder until a working command-line tool exists, five days reproducing a research paper and then improving on it, 500 turns cutting a chip design down to a twelfth of its original size, a simulated year of running online shops through fraud, typhoons and cash-flow crunches. Each of those runs happened without a person in the loop, and the artefacts they produced are the substance of the launch.

The launch

Qwen's post on X: Meet Qwen3.8-Max, A New Bar for Coding and Cowork, with a forty-three-second launch film
The launch film, forty-three seconds, posted at 2:46am UK time on 3 August 2026. Watch it on X ↗. Card rebuilt by YFarmX from the post's own text, thumbnail and counts, verified against X's syndication data on 3 August 2026.

Half an hour later the same account posted the detail: the parameter count, the four capability claims, the price list and the promise of open weights.

Qwen's full announcement post on X, listing 2.4T parameters, autonomous coding, long-horizon mastery, native multimodal intelligence, and pricing of two dollars input and six dollars output per million tokens
The announcement in full. Note the second line: the open weights of Qwen3.8-Max, and of a 27-billion-parameter Qwen3.8, are both promised for the following week. The post on X ↗, rebuilt by YFarmX from its verified text.
The Qwen website showing the Qwen3.8-Max announcement page, headed A New Bar for Coding and Cowork, dated 3 August 2026
The technical announcement runs to 5,068 words and carries every number quoted on this page. Screenshot of qwen.ai/blog?id=qwen3.8, 3 August 2026.

The open-weights turn

Qwen built its reputation on open-weight models that anyone could download and run, while holding the Max tier back: our page on Qwen3.7-Max recorded it as API-only, with closed weights, a fortnight ago.

Qwen3.8-Max opens that tier. In Alibaba’s own words, this “marks the first time we will open-source the weights of a Qwen-Max-class model”, with publication on Hugging Face and ModelScope set for the week beginning 10 August, alongside a 27-billion-parameter Qwen3.8 small enough to run on ordinary hardware.

Today, we are officially releasing Qwen 3.8-Max, the most capable model in the Qwen family to date. This also marks the first time we will open-source the weights of a Qwen-Max-class model.

Qwen Team, opening the launch announcement, 3 August 2026

Alibaba has named the week and the two platforms but not yet the licence, which is the term that decides what a downloader may build with the weights. At this scale it would be the largest open-weight release to date.

What it is

  • 2.4 trillion parameters, about 95 billion active. A sparse mixture-of-experts design, so only a fraction of the network fires on each token. Alibaba describes it as built on the architectural foundation of Qwen 3.5.
  • One million tokens of context, carried over from the previous Max generation.
  • Natively multimodal. Text, images, documents and video in, and vision used during execution rather than only at the input stage.
  • Served through QwenCloud, with endpoints in Beijing, Singapore and US East (Virginia), and API modes compatible with the OpenAI and Anthropic interfaces. The model identifier is qwen3.8-max.
  • Reasoning depth is a dial. reasoning_effort accepts xhigh (the default), medium and low, so cost can be traded against thoroughness on a per-call basis.
Per million tokens
Input $2.00
Output $6.00
Implicit caching $0.25

For scale, that is a fraction of what the Western frontier tiers charge for output, which is the commercial argument Alibaba is making underneath the technical one.

Qwen Studio open in a browser with Qwen3.8-Max selected in the model picker
Qwen3.8-Max is the default in Qwen Studio from launch day, with no waiting list. Screenshot of chat.qwen.ai, 3 August 2026.

Ten days alone in an empty folder

The headline capability is a piece of software that exists and can be inspected. Alibaba pointed Qwen3.8-Max at an empty repository and asked it to build oh-my-cli, a command-line coding agent, then left it running for more than ten days.

The model did not write code straight from a plan. It first assembled a small engineering process, then worked inside it:

  • A state machine for the work. New requirements land as GitHub issues; an agent claims one and moves it through ready, leased, active; finished work triggers end-to-end tests and CI; the pull request merges only after they pass. A dispatcher hands out tasks, a monitor watches them and a watchdog recovers the ones that stall.
  • Self-testing after every change. Build, unit tests, end-to-end tests and a desktop lifecycle check run on each update, and anything that fails is routed back to the issue or pull request that caused it.
  • Feedback treated as input. Community practice and user reports were converted into executable work, which is how features such as /goal, /resume, session replay and the desktop build arrived.

The loop it built before it built the product

IN THE STATE MACHINE OUT A requirement A GITHUB ISSUE READY LEASED ACTIVE Code, and a PR WRITTEN BY THE MODEL Build, unit tests, end-to-end, desktop lifecycle EVERY CHANGE IS CHECKED BEFORE IT COUNTS AS DONE PASS: MERGED FAIL: BACK TO THE ISSUE Sixteen days unattended, as counted by Alibaba on 30 July 2026 265 COMMITS 127 PULL REQUESTS 151 ISSUES
The claim is not that a model wrote a program. It is that a model set up the machinery that decides what to build next, checks its own work, and recovers when a job dies, then ran inside it without supervision.

The output is public and durable. Alibaba’s own count, taken on 30 July after roughly sixteen days of unattended operation, was 265 commits, 127 pull requests and 151 issues. When we checked the repository on 3 August it stood at 439 commits, 181 stars, 8 forks and 67 open issues, Apache-2.0 licensed and written in TypeScript. The commit history is readable by anyone, so the quality of the work can be judged directly rather than through a score.

The project runs under an autonomy contract with a protected governance plane. The bot proposes changes and executes them, while policy changes go through GitHub workflows and code-owner review. The model runs the project; the rules of the project stay in human hands.

The paper it reproduced, then beat

The second demonstration is closer to research than engineering. Alibaba handed the model a paper, “Unified Data Selection for LLM Reasoning”, along with some GPUs and nothing else. No starter code, no pipeline. The task was to reproduce the experiment, then improve on it.

Working alone for about five days, roughly 125 hours, the model wrote around 7,600 lines of code, took more than 1,100 actions and ran 33 rounds of GPU training. The first 37 hours went on rebuilding the paper’s pipeline from zero and reproducing its six main findings, including the paper’s headline result that its selection method beats picking training data at random by 7.7 points on the AIME24 maths benchmark.

The remaining 88 hours were spent trying to beat it. The model formed hypotheses, wrote the code, ran it, read the results and tried again, inventing and testing 18 ideas of its own across four rounds. The method it ended up with scores 2.7 points above the paper’s own approach on AIME24.

A third case put the model into a live competition on Alibaba Cloud’s Tianchi platform: the WWW2025 multimodal dialogue intent recognition challenge, against 526 human teams, with a 24-hour limit. It read the rules, fine-tuned and ensembled three Chinese language models for the text, fine-tuned a vision-language model for the product screenshots, and fused them into a weighted-voting system whose weights it calibrated by cross-validation, adding extra image voters to break ties. Across 45 submissions its accuracy climbed from 0.60 to 0.853, finishing ahead of 458 of the 526 teams, 87 per cent of the field.

The chip that shrank

The hardware run is the most precisely scored of the three, because a synthesis tool counts the gates and the whole trajectory is recorded.

The target was a GCD/RSA cryptographic accelerator. The model was given a task description, an empty module template and an evaluation script, then had to produce a design that stayed bit-exact across four bit widths under a randomised verification framework while using as few logic gates as possible. It worked in a sandbox wired to the standard open toolchain: Iverilog for simulation, Yosys for synthesis, OpenROAD for physical layout.

Over roughly 500 turns and 71 evaluations it took its first working design from 8,298 gates down to 678.

Qwen's interactive figure: a log-scale chart of gate count against tool calls for six models, with Qwen3.8-Max reaching 678 gates, beside a rendered three-dimensional view of the routed silicon die
The optimisation trace, best-so-far gate count against tool calls, with the routed die alongside. The competing lines are GPT 5.5 at 749, Opus 4.8 at 870, GLM 5.2 at 1,107 and DeepSeek V4 Pro at 1,450. Screenshot of Alibaba's interactive figure from the launch announcement, 3 August 2026.

The shape of the descent is what the run demonstrates. The gains keep arriving deep into the session: a structural rewrite lands at turn 22, module fusion at turn 252, and the last 87 gates come out between turns 443 and 500.

Where the gates went, and when

YOSYS CELL COUNT, 16-BIT CONFIGURATION 8,298 FIRST WORKING DESIGN 2,010 TURN 22 REWRITE 1,304 TURNS 35-48 REDUNDANCY 907 TURNS 60-113 FSM PRUNING 765 TURNS 170-252 MODULE FUSION 678 TURN 500 GATE-LEVEL One move did four fifths of the work SWAPPING A HARDWARE MODULO DIVIDER FOR AN ITERATIVE SHIFT-SUBTRACT ARCHITECTURE CUT 6,288 GATES AT TURN 22. THE REMAINING 248 TOOK ANOTHER 478 TURNS. ON SILICON: A 106 BY 106 MICRON DIE FELL TO 46 BY 46, AN 81 PER CENT AREA REDUCTION.
Figures from Alibaba's published milestone list. The last 87 gates came out between turns 443 and 500, through local tricks such as a shared NOR-gate tree, which is a long way past the point at which most optimisation runs stop paying.

Alibaba then pushed the design through place-and-route to check that the savings survived contact with physical layout. They did: the die went from 106 by 106 microns to 46 by 46, wire length from 33,369 microns to 4,187, and a design that started with a 4.46-nanosecond timing violation closed timing at 500 MHz with 0.66 nanoseconds to spare.

The shop it ran for a year

The commercial equivalent is E-Commerce Bench, a 365-day simulation built on desensitised Taobao and Tmall data: twelve store types, sixty product categories, roughly 600 suppliers, 7,000 products and ¥100,000 of starting capital. Suppliers negotiate in natural language with their own personalities and concession strategies. Seasonal swings, promotion peaks and supply-chain shocks arrive on their own schedule. And 152 of the suppliers are frauds, running membership-fee traps, low-price bait and goods that are not as described.

Qwen3.8-Max finished the year on ¥416,252, a 4.16-times return, 38 per cent ahead of second-placed GLM 5.2 and 152 per cent above its own predecessor. Alibaba’s reading is that the model kept learning inside the run: it probed the same suppliers repeatedly, got their prices down round by round, and generalised what worked to similar products, while rival models’ negotiating gains flattened out mid-year. During the year-end promotion alone it cleared more than ¥100,000 of net profit, about 2.4 times what GLM 5.2 managed over the same peak.

A simulated trading year, on the published figures

365 SIMULATED DAYS · TOTAL BALANCE IN YUAN START Y100,000 FINAL BALANCE Y416,252 A 4.16x RETURN BOTH BARS TO SCALE. NO OTHER MODEL'S ABSOLUTE BALANCE WAS PUBLISHED. The market it traded in 12 STORE TYPES · 60 CATEGORIES 7,000 PRODUCTS · ~600 SUPPLIERS 2,000+ ROUNDS OF INTERACTION 152 SUPPLIERS WERE PLANTED FRAUDS The margins Alibaba reports +38% ON SECOND-PLACED GLM 5.2 +152% ON QWEN3.7-MAX PEAK-SEASON PROFIT: OVER Y100,000
Only two absolute balances were published, the ¥100,000 opening and the ¥416,252 close, so those are the only two drawn to scale. The rival positions are shown as the percentage margins Alibaba gave rather than as invented balances.

Vision that watches the work

The multimodal claim is framed as a change of role rather than a change of capability. Vision is used during execution, not only at the point of input.

In practice that means the model checks its own output by looking at it: inspecting page layouts, object orientations, spatial relationships and animation quality, spotting that a television in a generated 3D room is facing the wrong way or that an interface is misaligned, and correcting without being told. Alibaba has built a benchmark around the idea, RecreationBench, in which the model may only observe a running application as a black box across five platforms, with no source code and no internet access, and must rebuild it from what it can see and click.

On the input side the numbers are large: financial documents over 200 pages, video over 100 hours organised into what Alibaba calls a video memory graph of people, events, timestamps and scenes.

The professions test

The launch film leads on breadth. Alibaba tested the model across several hundred high-value professions and published six worked examples, each with its own timing and the conventional workflow it was measured against. All figures in this table are Alibaba’s.

Profession What it produced Alibaba’s claimed time Its stated baseline
Compliance counsel 1,284 relevant clauses surfaced across hundreds of documents in one pass Under an hour A paralegal team, about a week
UI/UX designer An eight-screen banking app prototype on a consistent design system One shot, no revisions Three to five revision rounds
Restaurant founder A 26-dish menu from 100-plus supply briefs, calories and provenance annotated, food cost held at 33.8% One pass Weeks of recipe testing and costing
Structural engineer A 30-storey tower’s seismic model in the browser, period, base shear and drift inspectable on hover Not stated Over a week in specialist software
Rehabilitation therapist A 2D assessment form turned into a rotatable 3D demo with anatomical overlays Not stated A studio, two to four weeks
Sports analyst Around 8,400 possessions per player parsed into a coaching report Tens of minutes Several working days

The common thread is delivery in one pass: a finished menu, a finished prototype, a finished model, rather than a draft for someone to complete.

The benchmarks

Alibaba published its full table, covering more than seventy benchmarks across coding, general agent work, reasoning and every multimodal category, with the rows where Qwen3.8-Max comes second printed alongside the rows where it leads.

Qwen's official benchmark chart: sixteen panels comparing Qwen3.8-Max against Qwen3.7 Max, Qwen3.7 Plus, Opus 4.8, Fable 5, Gemini 3.1 Pro and GPT-5.6 Sol across software engineering, cowork, visual reasoning and agentic benchmarks
Alibaba's own launch chart, sixteen benchmarks, seven models. Qwen3.8-Max is the solid blue bar throughout. Published by Qwen on X, 3 August 2026.

The coding and cowork rows, which are the ones the launch is named after:

Benchmark Qwen3.8-Max Fable 5 GPT-5.6 Sol Opus 4.8 Qwen3.7-Max
Terminal Bench 2.1 86.6 84.6 88.8 84.6 74.5
SWE-bench Pro 67.7 80.0 64.6 69.2 60.6
FrontierSWE 73.5 88.8 70.0 40.7
DeepSWE 1.1 56.6 70.0 73.0 59.0 21.6
PaperBench 93.0 88.8 90.5 80.3 64.8
AndroidBench 75.1 84.5 74.0 69.8 56.5
CoWorkBench 74.8 75.9 71.5 72.3 64.6
JobBench 53.4 57.4 45.4 48.4 31.3
WideSearch 81.9 81.2 72.9 75.2
IFBench 82.8 63.5 72.7 62.2 79.1
Humanity’s Last Exam 43.6 53.3 47.2 45.7 41.4
GPQA Diamond 92.6 92.6 94.1 92.0 92.4

Read across the row, not down the column

It leads PAPERBENCH 93.0 IFBENCH 82.8 WIDESEARCH 81.9 RESEARCH REPRODUCTION, INSTRUCTIONS, WIDE SEARCH Within two points TERMINAL BENCH 86.6 COWORKBENCH 74.8 GPQA DIAMOND 92.6 THE FRONTIER TIER IS CROWDED AT THE TOP It trails SWE-BENCH PRO 67.7 FRONTIERSWE 73.5 HUMANITY'S LAST EXAM 43.6 FABLE 5 LEADS ALL THREE, BY 12, 15 AND 10 POINTS How the scores were produced ALL FIGURES PUBLISHED BY ALIBABA. NINE OF THE BENCHMARKS ARE ALIBABA'S OWN. QWEN RAN ITS MODEL ON ONE HARNESS AND TOOK RIVALS' BEST PUBLISHED SCORES FROM OTHERS.
The pattern is consistent: strongest on long, structured, tool-heavy work, level with the field on general capability, and behind Claude Fable 5 on the hard software-engineering suites and on raw reasoning.

Where the figures come from

Every number on this page is Alibaba’s own, published on launch day. No independent evaluation existed as of 3 August 2026, so the methodology below is worth knowing when comparing these scores against another lab’s.

  • Nine benchmarks are in-house. QwenSWEBench, QwenQoderBench, QwenReactBench, QwenSVGBench, CoWorkBench, QwenBlenderBench, QwenVisualOffice, RecreationBench and E-Commerce Bench are described in the announcement as Alibaba’s own, built to measure sustained tool-heavy work that existing public suites do not cover.
  • Harnesses differ between columns. Qwen ran its own Terminal Bench figure through Claude Code, averaged over ten runs with a five-hour timeout, and took rival figures from the best published score across harnesses on other people’s leaderboards. Alibaba documents each of these choices in its footnotes, along with a note that the Fable 5 results may involve fallbacks.
  • The profession timings are Alibaba’s estimates on both sides, for its own run and for the conventional workflow it is compared against.
  • The chip run and the code repository leave artefacts. The gate count came out of a synthesis tool, and the commit history is public, so both can be checked independently of the announcement.
  • The open weights are dated but not licensed. Alibaba has named the week and the platforms; the licence terms follow.

Using it

Getting a call out the door

  • qwen3.8-maxThe model identifier on QwenCloud.
  • reasoning_effort: “xhigh”The default. medium balances accuracy against speed, low optimises for cost.
  • DASHSCOPE_API_KEYThe environment variable the official examples read the key from.
  • …/compatible-mode/v1OpenAI-compatible base URL. There is an Anthropic-compatible interface too.
  • dashscope-intl.aliyuncs.comThe Singapore endpoint. Beijing and US East (Virginia) are the other two.

Alibaba's own code sample uses the openai Python client unchanged, with the base URL pointed at QwenCloud, so an existing integration usually needs a key, a URL and a model name rather than a rewrite. Full detail in the launch announcement ↗.

How it compares

Qwen3.8-Max Claude Fable 5 GPT-5.6 Sol Kimi K3
Maker Alibaba Anthropic OpenAI Moonshot AI
Weights Open, promised Closed Closed Open
Scale 2.4T, 95B active Not published Not published Published
Context 1M tokens 1M tokens Not published Long
Input price $2.00 / M Higher tier Higher tier Low
Strongest at Long autonomous runs Software engineering, reasoning Terminal work, general capability Open-weight scale

The position Qwen3.8-Max takes against Claude Fable 5 and GPT-5.6 is duration and cost: a model priced to be left running for days, at a fifth or less of the output price, with the weights arriving shortly after. Against Kimi K3 it is the second Chinese lab in a month to put a very large open-weight model into the field.

What to watch

The licence. Permissive terms would make this the largest set of downloadable weights anyone can build on commercially. Alibaba has the release week; the terms follow.

Whether the long runs reproduce. The oh-my-cli repository is the most testable part of the launch: the commit history is public and other teams can now run the same model at the same task and compare.

Whether the in-house benchmarks get adopted. CoWorkBench, RecreationBench and E-Commerce Bench measure sustained, tool-heavy, multi-day work that existing public suites do not cover. Their value as a yardstick grows if labs other than Alibaba start running them.

The Max tier from here. Our Qwen3.7-Max page recorded that tier closed. One release later it is opening, and the next two releases will show whether that is the new policy. For the wider field, see our large language models hub and the AI desk.

Sources

  • Qwen3.8-Max: A New Bar for Coding and Cowork, Qwen Team, 3 August 2026. The launch announcement, 5,068 words, and the source of every benchmark figure, run length, gate count and simulation result on this page.
  • Qwen on X, the launch film and the announcement post, both 3 August 2026, for the pricing and the open-weights promise. Post text and engagement figures verified against X’s own syndication data on 3 August 2026.
  • qwen-code-dev-bot/oh-my-cli, the repository built during the autonomous coding run, checked on 3 August 2026 for commit, star, fork and issue counts, the Apache-2.0 licence and the autonomy contract.
  • Qwen Studio, checked 3 August 2026 for availability of the model to the public.
  • Screenshots on this page were taken on 3 August 2026 and are reproduced for review. The two X cards were rebuilt by YFarmX from the posts’ verified text, official avatar and official thumbnail.