GLM's Infra Agent built the stack that serves GLM

Share
GLM's Infra Agent built the stack that serves GLM

Z.ai published the engineering log behind GLM-5.3-Flash today, and the news is not the cluster — it is who did the systems work. The lab says a GLM-5.3-powered "Infra Agent" wrote much of the inference stack that now serves that model, and it frames the result as an early, limited form of recursive self-improvement.

Z.ai says all production inference for GLM-5.3-Flash runs on a cluster of more than 100,000 Chinese-made accelerators, and that much of the work of getting it there was done by a GLM-5.3-powered Infra Agent rather than by a team of infrastructure engineers. The stack was built from scratch to support a new architecture, a 1-million-token context window and multimodal requests on hardware with limited memory capacity and bandwidth, an immature kernel ecosystem and almost no documentation.

The payoff was roughly three times the end-to-end serving performance of the initial baseline, with hardware utilization and per-token cost reaching levels Z.ai describes as comparable to mainstream Nvidia GPUs. That traffic is real and public: the same engine ran anonymously as Ox-Alpha on OpenCode and OpenRouter, became the most-used model on both platforms within a week, and processed more than 62 trillion tokens in six days. We covered what that chip economics meant for the market in August — GLM-5.3-Flash proves frontier intelligence is now a Chinese-chip economics story — and this post is the missing half: how the serving stack got built, and by what.

The mechanism is the part worth stealing. Z.ai's argument is that code generation was never the bottleneck; the bottleneck was feedback. An agent that understands an entire codebase still cannot act on "numerical accuracy test failed" or "time to first token rose 30 percent," because those signals do not say which layer — kernel, parallelism strategy, communication, memory, serving orchestration — is responsible. So the lab rebuilt the loop around what it calls dense feedback: results that are local (tied to a specific kernel, input shape, thread or code path), cheap enough to get on every hypothesis rather than only after a full deployment, and objectively verifiable through reference implementations and controlled experiments. Engineers kept objectives, system boundaries and review of risky changes; the agent ran analysis, hypotheses and code changes against that environment.

Three fixes show what it caught. In a context-parallelism path of the KDA kernel, tl.dot was silently defaulting to TF32 even on FP32 inputs, so error accumulated during state merging and grew with context length — the fix, explicitly setting input_precision="tf32x3", has been merged upstream into Flash Linear Attention. In the serving path, the gap between prefill-plus-KV-transfer and prefill alone ran above 20 percent against a 5 percent acceptance criterion; the agent traced it to DeepEP v1.2.1, where the intra-node dispatch and combine calls never released the Python GIL while waiting on the GPU, starving the thread submitting Mooncake transfers. Releasing the lock during those intervals brought the gap under 1 percent. In a KDA decode kernel, the agent found the implementation tiling along the V dimension and repeating the same FP32 normalization four times, merged the tiles into one thread block and replaced the redundant work with a warp-level reduction for a 1.71× speedup.

Z.ai is careful with the RSI framing, and readers should be too. It says the endpoint would be a system that designs and trains its own successor autonomously, that we are not there, and that choosing objectives, setting boundaries and assessing risk stay human responsibilities. The less dramatic claim is also the more useful one: the validated optimizations flowed back into a reusable library of "optimization skeletons," so each deployment lowers the cost of the next. The model optimized the system; the system now runs the model.


Rhodium Group estimates every Chinese AI model combined earns about a tenth of what OpenAI and Anthropic do, while trading at far higher multiples of that revenue. In figures published Thursday, DeepSeek's annual recurring revenue sits near $500 million, MiniMax at $800 million and Moonshot at $1 billion, with ByteDance at $4 billion and Alibaba at $2.4 billion — against $40 billion for OpenAI and $65 billion for Anthropic. The multiples invert the picture: roughly 163x revenue for DeepSeek and 50x for Moonshot, versus 34x for OpenAI and 21x for Anthropic. Rhodium's read is a financing gap rather than a demand gap: more than 60 percent of equity investment in Chinese AI chips and servers came from state-affiliated sources, and partner Logan Wright argues the frontier labs will depend on a favorable equity market to scale. It is a fair caution, and worth holding next to the counter-evidence — Z.ai raised its own year-end ARR forecast to $3 billion the day before, Moonshot and DeepSeek are both moving toward listings, and adoption of Chinese open-weight models keeps climbing. Low revenue today is not the same claim as low revenue forever.


ByteDance put its Doubao assistant inside the car, launching a cockpit agent with SAIC as its first partner. The Doubao Cabin Assistant, built with ByteDance's cloud arm Volcano Engine, runs full-duplex conversation — interrupt, follow up, or have it start a topic — with four-zone voice recognition that tracks who is speaking and to whom, long-term memory of each occupant's habits, and control that reaches hundreds of vehicle signals and thousands of car functions. It can decompose a request like "nap until one" into seat, shade, climate, music and massage actions, and it can direct navigation or the driver-assistance system itself, including lane changes and a power-saving route when the battery is low. The first car to carry it, SAIC's Roewe Jiayue 07, opens presales this month, with SAIC Audi models due within the year. It follows BYD's new cockpit agent runs on Alibaba's Qwen — Chinese automakers have now handed the cabin to two different model vendors in a fortnight, which is the competitive question worth watching.

What to watch: whether the Infra Agent pattern spreads beyond one lab's serving stack — the reusable part is the feedback environment, not the model — and whether Z.ai's chip economics survive outside scrutiny.

If a model can build the infrastructure that serves it, at what point does that stop being a productivity story? Tell us in the comments.

Sources: Flash Linear Attention PR #1180

Read more

Akhetonics says its all-optical CPU reaches a customer in 2026

Akhetonics says its all-optical CPU reaches a customer in 2026

Light-based computing keeps promising more than it delivers — but one Munich startup has just put a date on its bet, and the interview laying it out is doing the rounds on Hacker News this week. Akhetonics says it will deploy its first commercial machine with a major customer by the end of 2026, with several more planned for 2027. The company, founded by Michael Kissner and Leonardo Del Bino, is building a computer where data enters as light, is switched as light, and circulates through memory

The Week in AI — October 5–11, 2026

The Week in AI — October 5–11, 2026

Every big claim this week turned out to rest on fine print more interesting than the headline: revenue only the company reporting it can define, safety tests sandboxed while the product keeps the web, and a Pentagon phase-out nobody would confirm until reporters kept asking. The week's top 5 1. OpenAI's revenue was $20 billion below the numbers everyone quoted — and the gap was definitional. The Financial Times reported Thursday that OpenAI's annualized revenue runs roughly $20 billion unde

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Russia's largest tech company is learning what the AI era's infrastructure war looks like from the receiving end — three data centers in four days, and with them much of the cloud layer Russian businesses run on. A Ukrainian drone strike knocked out Yandex's data center in Vladimir early Sunday morning, the third of the company's facilities hit since October 8. The site — reported at roughly 50 MW and designed for about 2,880 server racks — stopped operating completely after the attack, Yandex

Agent teams cost up to 5x more, barely score higher

Agent teams cost up to 5x more, barely score higher

The multi-agent hype train hit a benchmark this weekend — and the grid and the trucking regulators had quiet weeks of their own. Vals AI put agent teams head-to-head with single agents on its Vibe Code Bench, and the teams cost between 1.8 and 5.1 times more for almost no extra quality. The evals company ran GPT-6 Sol and Claude Opus 5.5 solo and in teams across 50 apps at two reasoning efforts; out of four comparisons, only one was statistically significant — Sol at medium effort, where the t