The Pulse
Together AI offers Alibaba’s Qwen4 Max with a 1M-token context
Alibaba’s Qwen4 Max is available through Together AI’s serverless inference service, with a 30% discount through November 22. Together AI says a patch the model produced for a Python web framework passed the project’s tests.

Alibaba’s Qwen4 Max is available on Together AI’s serverless inference service with a 1 million-token context window. Together AI’s November 21 post also describes a coding test in which the model produced a patch for the Tornado Python web framework.
The model is offered at a 30% discount through November 22, 2026. The service accepts text and image input and returns text.
Prices and access
During the sale, input costs $1.05 per 1 million tokens, cached input costs $0.0525 per 1 million tokens, and output costs $3.15 per 1 million tokens. List prices are $1.50, $0.075 and $4.50 per 1 million tokens, respectively.
Requests must use streaming, and the model’s thinking mode is enabled by default. Thinking tokens count as output tokens, and the reasoning is returned before the answer. A request without streaming returns a 400 error with the code streaming_required.
Thinking can be turned off using the reasoning setting. Qwen4 Max also supports tool calling and can return more than one tool call in a turn. It is serverless only on Together AI and is not available for fine-tuning there.
Model and coding test
Alibaba released Qwen4 Max on November 16, 2026. The sparse mixture-of-experts model has 2.4 trillion parameters, of which 71 billion are active for each token.
Together AI tested the model by sending it a bug report and all 344 files of a Tornado repository checkout in one request, totaling 652,519 tokens. The company chose a fix the framework’s maintainers had committed on November 18 and tested against the repository as it stood just before that commit.
The bug concerned optional, unawaited calls to write_message() logging errors when a websocket connection closed with messages still unsent. The prompt asked the model to explain the cause and produce a patch; Together AI did not select relevant files or run a retrieval step first.
Together AI says the model returned a patch after 72 seconds and identified an existing approach elsewhere in the repository that the maintainers also referenced in their fix. Its patch passed both regression tests the maintainers added for the bug and, with the patch applied, none of the 1,673 tests in Tornado’s full suite failed, the company reports.
Timing and caching
Together AI says the request cost about 69 cents at the sale price, almost entirely for input tokens; at list price, it would have cost 98 cents. The first token arrived after 54 seconds.
The company also repeated a request of about 630,000 tokens, nearly all of which it says came back cached. In that repeat, Together AI says the first token arrived in 8 seconds rather than 54, and input cost about 3 cents rather than 66 cents. Caching is automatic but best effort, so not every repeat is cached.
Sources
- Original source · Blog post Together AI together.ai
Companies in this story
In the tracker
Related stories
- Alibaba releases Qwen4-Max with a million-token context window
- Alibaba's QwenCloud opens Qwen4-Max-Preview through November 25
- Alibaba Releases Qwen-Image-2.1-Turbo With Eight-Step Sampling
- Three Qwen3.8 Models Sent Web Requests to Alibaba Cloud
- Together AI adds Qwen3 TTS, citing first audio in as little as 97ms