// Yapay Zeka

Z.ai has put GLM-5.3-Flash inference into production on more than 100,000 Chinese chips

Z.ai set up production inference for the GLM-5.3-Flash model on over 100,000 Chinese-made accelerators. A significant part of the work was undertaken by an infrastructure agent powered by the model itself.

In a technical post published on September 17, 2026, Chinese AI company Z.ai described how it built a production-grade inference service for the GLM-5.3-Flash model from scratch. The system runs on a cluster of more than 100,000 China-made AI accelerators, and according to the company, all production inference for the model goes through this infrastructure. Z.ai notes that a cluster operated with China-made accelerators at this scale had not been attempted before.

The most striking aspect of the post is that a significant part of the work was handled by an “Infra Agent” running on GLM-5.3 alongside infrastructure engineers. The company nevertheless emphasizes that the responsibility for setting goals, defining boundaries, and assessing risk remained with humans.

What challenges were encountered

According to Z.ai, the main problems were the chips’ relatively limited on-chip memory capacity and bandwidth. Added to this were a new model architecture, a 1 million token context window, and multimodal requests. The ecosystem was not mature either: kernel support was lacking, and engineers had to guess at behaviors that needed documentation.

GLM-5.3-Flash launched on August 26, 2026, as the first native multimodal model in the GLM-5 series. The model has 320 billion total and 18 billion active parameters in a hybrid architecture that combines sparse and linear attention mechanisms. Z.ai tested the model anonymously under the name ox-alpha on OpenCode and OpenRouter before release; according to the company, within a week the model became the most used model on both platforms and processed more than 62 trillion tokens in six days.

The dense feedback method

At the center of the post is a system problem: end-to-end metrics let an agent see that results are getting worse, but they do not say why. A failed numerical accuracy test or a 30% increase in time to first token does not show which layer is responsible. Z.ai’s approach, which it calls “dense feedback,” combines accuracy tests, runtime logs, execution traces, events, microbenchmarks, and end-to-end metrics into reproducible workflows. This allows the agent to verify each hypothesis locally without waiting for a full setup and load test. According to the company, this feedback should have three properties: it should be local, fast and cheap to obtain, and objectively verifiable through reference implementations and controlled experiments.

In the loop, engineers defined the goals and system boundaries; the agent carried out analysis, hypothesis formation, and code changes.

Three engineering cases

The first case concerns numerical accuracy. An audit comparing split and unsplit kernel execution paths revealed an accuracy bug in the KDA kernel’s Context Parallelism path: the tl.dot operation performed TF32 computation by default even when the inputs were FP32, and the error accumulated as context length increased during state merging. The fix explicitly sets input precision to tf32x3. According to the company, these changes were accepted into the Flash Linear Attention project.

The second case is a concurrency bottleneck in KV transfer. The team set an acceptance criterion that, under the same workload, Prefill plus KV Transfer time should stay within only 5% of the Prefill baseline. The agent found differences exceeding 20% in some scenarios and traced the problem back to DeepEP v1.2.1: intranode dispatch and combine calls were not releasing the Python GIL, so the Mooncake Transfer thread in the same process could not acquire the GIL in time, and scheduling of transfer tasks slipped. After the fix, the difference dropped below 1% under the same test conditions.

The third case is kernel performance. Z.ai says the agent extracted techniques from hand-written kernels in projects such as SGLang, Flash Linear Attention, and DeepGEMM and turned them into reusable optimization skeletons. In an example KDA Decode kernel, a split optimization reduced execution time by 9.6%. Then the tiles in the V dimension were merged into a single work block because they repeated the same FP32 normalization and gate computation four times; the company reports that this change provided a 1.71x speedup over the previous version.

Results and limitations

According to Z.ai, GLM-5.3-Flash went from initial model adaptation to production readiness in less than two weeks, and end-to-end throughput eventually tripled compared with the initial baseline. The company states that hardware utilization efficiency and cost per token reached levels comparable to mainstream NVIDIA GPUs.

Z.ai frames this work as an early example of recursive self-improvement: the model contributed to improving the inference system it runs on. The company nevertheless says that recursive self-improvement has not yet been achieved, and that choosing goals, setting boundaries, and assessing risk should remain the responsibility of humans.

Source: Unite.AI

// JOIN THE CONVERSATION

Share your experience

Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.

// KEEP READING

One more note.

All posts ↗︎