A 35-hour Qwen3.7-Max test pushes autonomous coding agents
Terminator AI models By What The Future Newsroom · May 27, 2026 · 4 min read

A 35-hour Qwen3.7-Max test pushes autonomous coding agents

Alibaba's Qwen team released Qwen3.7-Max, a proprietary model built for agent-based work through the Alibaba Cloud Model Studio API. In one test, it spent about 35 hours autonomously optimizing a kernel for T-Head-ZW-M890 accelerators and reported an average 10x speedup.

Alibaba's Qwen team is positioning Qwen3.7-Max as a model built less for one-off answers and more for sustained agent work. The headline result is a long autonomous coding run: about 35 hours spent optimizing low-level code for Alibaba's own AI chip platform.

“A long autonomous coding run points mildly toward more capable and independent AI agents, but the story is mostly a controlled product benchmark rather than a clear danger case.”Why it scores Terminator

The release also signals a broader shift in how the Qwen line is being distributed and evaluated. Qwen3.7-Max is proprietary, available only through the Alibaba Cloud Model Studio API, and its strongest claims come from self-reported tests that mix coding, tool use, benchmark performance, training oversight, and long-horizon simulation.

What Qwen3.7-Max is built to do

Qwen3.7-Max follows Qwen3-Max and Qwen3.6-Plus as a Max-series model available through the Alibaba Cloud Model Studio API. The source notes that Alibaba previously released Qwen models as open source, but that pattern has changed. The last open flagship named in the source was Qwen3.5-397B-A17B from February 2026.

The new model supports OpenAI- and Anthropic-compatible interfaces. That matters for agent workflows because it can plug into tools such as Claude Code, OpenClaw, or Qwen Code without requiring a completely separate integration path.

The Qwen team describes four main targets for the model:

  • Acting as a coding agent, from front-end prototypes to complex multi-file software projects.
  • Automating office tasks with external tools.
  • Running autonomously for long stretches.
  • Working consistently across different agent frameworks.

Those goals put Qwen3.7-Max in the center of a fast-moving category: models that do not just generate code, but keep using tools, checking results, and making changes over many rounds.

The 35-hour kernel optimization run

The most concrete demonstration described in the source was a kernel optimization task for SGLang, the open-source inference software. Qwen3.7-Max was asked to improve a hardware-based attention kernel on a cloud instance using T-Head-ZW-M890 accelerators, an AI chip platform from Alibaba's semiconductor arm.

The conditions were intentionally difficult. According to the Qwen team, the model had not seen this chip architecture during training. It also began without measurement data, hardware documentation, or sample code. Its starting point was only the existing reference implementation in the Triton programming language.

From there, the model worked in a loop. It compiled code, measured results, revised the implementation, handled compilation errors, and looked for performance bottlenecks. Over about 35 hours, it ran 432 kernel tests and made 1,158 total tool calls.

The reported outcome was an average 10x speedup over the reference implementation. In the same setup, GLM 5.1 reached a 7.3x speedup, Kimi K2.6 reached 5x, DeepSeek V4 Pro reached 3.3x, and Qwen3.6-Plus reached 1.1x. The source says models that stopped early ended after five straight rounds with no tool calls.

On KernelBench L3, Qwen3.7-Max is reported to generate accelerated kernels 96 percent of the time. That result sits just behind Anthropic's Opus 4.6 at 98 percent, according to the source.

Why the training setup matters

The model builds on a training method first used with Qwen3.5. Instead of treating a training item as one fixed package, the Qwen team separates it into three pieces: the task, the tool environment, and the validator that checks the answer.

That separation lets the same task be practiced across different environments and checked in different ways. The logic is straightforward: if a model can only succeed in one familiar setup, it may be learning brittle shortcuts. If it can keep performing when the tools and validators change, the behavior is more likely to generalize.

The Qwen team says Qwen3.7-Max remains steady on QwenClawBench and CoWorkBench when moved across test environments. That claim fits the model's stated purpose: agent work where the surrounding tooling can vary, and where the model has to keep making useful decisions under changing conditions.

Watching for reward hacking

The Qwen team also used Qwen3.7-Max as a monitor during training runs for software engineering tasks. In that role, the model watched for reward hacking, including cases where the model being trained might pull correct answers directly from GitHub.

The monitoring run lasted over 80 hours and included more than 10,000 checks. Qwen3.7-Max wrote 13 new detection rules and flagged 1,618 cases.

This is a notable use case because it turns the model into part of the quality-control process around other model training. The source does not provide an outside audit of those results, but the reported workflow shows how agent models may be used not only to write code, but also to inspect the systems that train coding agents.

Long-horizon tests and open questions

For long-term planning, the team tested Qwen3.7-Max on YC-Bench, a benchmark that simulates a startup's full one-year life cycle. The model has to make staffing decisions across hundreds of rounds, review contracts, identify bad-faith customers, and protect profit margins while labor costs rise.

In that simulation, Qwen3.7-Max produced $2.08 million in total revenue and completed 237 tasks. Qwen3.6-Plus produced $1.05 million, while Qwen3.5-Plus produced $352,000.

Across broader benchmarks, the source says Qwen3.7-Max competes with Claude Opus 4.6 Max, Kimi K2.6 Thinking, GLM-5.1 Thinking, and DeepSeek V4 Pro Max. On SWE-Verified, it scored 80.4, close to Opus 4.6 Max at 80.8 and DeepSeek V4 Pro Max at 80.6. On GPQA Diamond, HMMT 2026 February, and Apex, Qwen3.7-Max tops the provider's own comparison table with scores of 92.4, 97.1, and 44.5.

There is an important caution. Several benchmarks named in the source are homegrown: QwenWebDev, QwenClawBench, CoWorkBench, and QwenWorldBench. The results are self-reported, and the source says a technical report with more detail on scaling dynamics and methodology is still upcoming.

The team also demonstrated Qwen3.7-Max controlling a four-legged robot with its own robotics framework and a paired navigation model. Taken together, the claims describe a model aimed at longer tool-using workflows across code, training oversight, simulated management, and physical navigation. The strongest immediate evidence, however, remains the reported 35-hour kernel optimization run.

← Back to the wire

Read next