Oscar Crowe AI Monetization Qwen4 Max Lands on Together AI With a 1M-Token Context and a 69-Cent Repository Fix

Qwen4 Max Lands on Together AI With a 1M-Token Context and a 69-Cent Repository Fix

Alibaba's Qwen4 Max went live on Together AI on November 21, bringing a 1-million-token context window and a sale price to a model that had launched five days earlier as the flagship of the Qwen family. Together AI, a US inference platform, marked the arrival with a demonstration that reads like a stress test: it sent the entire Tornado web framework repository and a bug report in one request, and the model returned a patch that passes the maintainers' own tests. The episode matters because it shows what long context and aggressive pricing now buy a developer, and where the catch lies.

The Model

Alibaba released Qwen4 Max on November 16, 2026, and described it as the most capable model in the Qwen family to date. It is a sparse mixture-of-experts model with 2.4 trillion parameters, of which 71 billion are active for each token. On Work360, Alibaba's own benchmark of industry tasks across 721 specialized fields, the company reports that Qwen4 Max outperforms its predecessor, Qwen3.8 Max, overall while using 35 percent fewer tokens at high reasoning effort and cutting the average cost per task by about 60 percent. Those are Alibaba's figures, and the company's announcement has the details.

Together AI listed the model under the string Qwen/Qwen4-Max on its serverless inference platform, with text and image input, automatic prompt caching and a 1-million-token context window. The platform hosts a model page and a playground, so a developer can test the model before committing to an integration. For a buyer, the arrival matters because it adds another flagship-class option to the menu of API models, alongside the OpenAI, Anthropic and Google families, and because a 1-million-token window changes what a single request can contain.

The Repository Test

Together AI picked a fix that Tornado's maintainers committed on November 18, two days after Qwen4 Max was released, and tested against the repository as it stood just before that commit. The bug sits in the websocket code: when a connection closes with messages still unsent, every write_message call that was not awaited logs an error, even though awaiting it is optional. Together sent every text file in that checkout as one prompt, 344 files and 652,519 tokens, with a bug report that described only the symptom. The model had no tools, and Together did not select relevant files or run a retrieval step first.

The first token arrived after 54 seconds and the reply was complete at 72. Qwen4 Max traced the error to WebSocketProtocol13.write_message in tornado/websocket.py, where each write is wrapped in a task whose failure nobody is required to collect, and proposed a patch that marks the exception as retrieved. Together then ran Tornado's full suite of 1,673 tests with the patch in place, and none failed. The patch itself is small and idiomatic: it creates the future, registers a done callback that retrieves the exception, and returns the task, so a caller that does await the write still gets WebSocketClosedError while an unawaited call stays quiet. Together verified the fix two ways. The maintainers' two regression tests, one for an unawaited write and one for an awaited write, fail on the pre-fix code and pass with the patch. The detail that makes the result convincing is precedent: the bug report never mentions tornado/iostream.py, yet the model pointed to code there that already handles the same problem the same way, and Tornado's maintainers cite the same code in their own fix.

Pricing and the Cache Effect

At the sale price, the request worked out to about 69 cents, nearly all of it for the 652,519 input tokens. At list price it would have been 98 cents. Together AI listed Qwen4 Max at $1.05 per million input tokens, $0.0525 per million cached input tokens and $3.15 per million output tokens, with 30 percent off through November 22, which implies list pricing of $1.50 per million input tokens and $4.50 per million output tokens. The cache changes the economics on repeat work. When Together repeated a request of about 630,000 tokens, nearly all of it came back cached, the first token arrived in 8 seconds instead of 54, and the input cost fell to about 3 cents from 66. For agent workloads that re-send a large prompt on every turn, that cached rate is the number that determines whether a long-context model is affordable, and it is the reason prompt caching has become a standard feature across inference platforms.

Caveats

Two details are specific to this model on Together AI. Requests have to set stream to true, because Qwen4 Max accepts streaming requests only on the platform. And thinking is on by default, so the model's reasoning streams first and there is a pause before the answer starts; thinking tokens count as output tokens, which matters for budgeting. Passing a reasoning flag set to disabled skips the thinking on a simple request.

The broader lesson is about evaluating long-context models on real work rather than on retrieval quizzes. A 1-million-token window is only useful if the model can find the two files that matter among hundreds, and the Tornado test is a small but genuine example of that. The result is one bug in one repository, not a claim that the model can maintain a codebase, and the maintainers' fix is the ground truth that makes the test meaningful. The pricing also deserves a second look. A 69 cent request is cheap for a one-off demonstration, but a production agent that sends a 600,000 token prompt on every turn would spend real money fast unless caching kicks in, which is why the cached rate of $0.0525 per million tokens matters more than the headline input price.

If you want practical guidance on picking models, controlling inference costs and building AI products that hold up, crowe-endeavors.com publishes breakdowns and monetization playbooks.

Sources

"Qwen4-Max — Alibaba's New Flagship AI Costs 5x Less Than Claude (Code Arena #6)" (AI Tool Lab, 2026-11-20) — https://www.youtube.com/watch?v=hIivWzMSTwc

"Qwen4 Max is live on Together AI" (Together AI, 2026-11-21) — https://www.together.ai/blog/qwen4-max

"Alibaba unveils Qwen4-Max" (Alibaba Cloud, 2026-11-16) — https://www.alibabacloud.com/en/press-room/alibaba-unveils-qwen4-max

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post