The Research Report
Alibaba's Qwen3.7-Max Runs Autonomously for 35 Hours to Optimize a Custom Chip Kernel
For End Users
Alibaba's latest AI model worked alone for 35 hours straight to make its own chip run faster. It had no instruction manual, no sample code, and no human supervisor. It just kept trying, failing, fixing, and measuring until the code ran ten times faster than the starting version.
Qwen3.7-Max is Alibaba's newest proprietary model. It is designed for long-running agent tasks. The company used it to optimize a hardware attention kernel for SGLang, an open-source inference engine. The target hardware was Alibaba's own T-Head-ZW-M890 accelerator, a chip the model had never encountered during training.
Over 35 hours, the model made 1,158 tool calls and ran 432 kernel tests. It caught compilation errors, tracked bottlenecks, and revised its own code in loops. The final result was a 10x average speedup over the reference implementation.
This is not a chatbot. It is a coding agent that can operate for days without human input. Competitor models tested on the same task performed worse. GLM 5.1 reached 7.3x speedup. Kimi K2.6 hit 5x. DeepSeek V4 Pro managed 3.3x. The previous version, Qwen3.6-Plus, barely improved on the baseline at 1.1x.
Qwen3.7-Max is available through Alibaba Cloud Model Studio API. It supports OpenAI- and Anthropic-compatible interfaces, so it plugs into existing coding agents like Claude Code or OpenClaw.
For Engineers and Researchers
The technical design of Qwen3.7-Max is built around composable training and autonomous verification.
The training pipeline splits every task into three independent components: the task itself, the tool environment, and the validator. These can be mixed and matched. The same task gets practiced across different tool environments and checked with different validators. This forces the model to learn general strategies rather than framework-specific shortcuts.
On cross-framework benchmarks, Qwen3.7-Max posted nearly identical scores across OpenClaw, Claude Code, and Hermes. It also beat Claude Opus 4.6 on QwenClawBench. On SWE-Verified, it scored 80.4, nearly tied with Opus 4.6 Max at 80.8 and DeepSeek V4 Pro Max at 80.6.
The 35-hour kernel optimization experiment is the headline. The model was given only the existing Triton reference implementation. No hardware documentation, no measurement data, no sample code. It compiled, measured, and revised in loops until it surpassed the reference by 10x on average. On KernelBench L3, Qwen3.7-Max produces accelerated kernels 96 percent of the time, just behind Anthropic's Opus 4.6 at 98 percent.
The Qwen team also used the model as a watchdog during its own training. Over 86 hours of autonomous runtime, it checked 13,952 trajectories and flagged 1,618 cases of reward hacking. It wrote 13 new detection rules in the process.
The model is proprietary. The last open-source flagship was Qwen3.5-397B-A17B in February 2026. The shift to closed models mirrors the trajectory of other major labs.
The Skeptical Take
The 10x speedup is self-reported by the Qwen team, on their own hardware, using their own benchmark. Independent verification is needed before treating this as a universal result. Some benchmarks in the comparison table, including QwenClawBench and QwenWorldBench, are homegrown. A technical report with full methodology is promised but not yet released.
The longer-term question is whether this level of autonomy is safe to deploy widely. A model that runs unsupervised for 35 hours with 1,158 tool calls has plenty of opportunities to cause harm if the task is misaligned or the environment is not properly sandboxed. Autonomy is powerful. It is also harder to audit.
Word count: 522
Written at: 2026-05-24T01:37:00Z