Qwen4 Max launches on Together AI with a 1M-token context
Together AI announced that Alibaba’s Qwen4 Max is available through its serverless inference service with a 1M-token context window. In a Together AI test, the model processed a bug report and all 344 files of the Tornado repository, totaling 652,519 tokens, then returned a patch in 72 seconds that passed Tornado’s full 1,673-test suite. Requests must use streaming, while thinking is enabled by default and its tokens count as output tokens.
The launch gives developers access to a long-context model, and Together AI documented a concrete repository-scale coding result with a passing test suite.
Summary
- Qwen4 Max on Together AI: Alibaba's flagship Qwen model is available on Together Serverless Inference with a 1M-token context window.
- What we tested: Qwen4 Max took a bug report and all 344 files of the Tornado repository in one request, and its patch passes the maintainers' tests.
- Sale pricing: Through November 22, 2026, it costs \$1.05 per 1M input tokens, \$0.0525 per 1M cached input tokens and \$3.15 per 1M output tokens.
- Before you call it: Requests have to stream, and thinking is on by default, with thinking tokens counted as output tokens.
We gave Qwen4 Max a bug report and an entire codebase in one request. The codebase was Tornado, the Python web framework: all 344 files, 652,519 tokens. The model had no tools, and we didn't select relevant files or run a retrieval step first. Seventy-two seconds later it returned a patch, and the patch passes the tests Tornado's maintainers wrote for that bug. The request cost 69 cents.
It also found a precedent elsewhere in the repository. The bug report never mentions tornado/iostream.py, but the model pointed to code there that already handles errors the way its patch needed to. Tornado's maintainers cite the same code in their own fix.