A team serving GLM-5.3-Flash on one AWS Trainium2 server reports it handled up to 28.9 agent requests a minute in its AgentX test, while taking a million-token prompt to its first response in 190.8 seconds. The results offer a useful look at what the hardware can do, and where the wait still is.
AWS AI Watch analysis
What happened
The community article, originally published on RunAnywhere and republished on Hugging Face, describes a custom inference engine built for a single AWS trn2.48xlarge server with 16 Trainium2 chips. The authors tested it on AgentX, a benchmark designed to resemble coding-agent sessions, with long prompts and substantial reuse of cached context.
In their self-run test, the server handled up to 28.9 requests a minute with 32 agents. At 16 agents, a cached prompt began responding in a median of 1.24 seconds. A separate test took a 1,039,912-token prompt to its first token in 190.8 seconds; a follow-up on a cached million-token context took 1.84 seconds. The authors also report that their fused layer kernels cut a decode step by 25% against their 17 October build.
Read the Hugging Face article.
Key findings
- Up to 28.9 requests a minute
That was the reported peak at 32 agents, with a batch size of 12, on one server. - Cached context changes the wait
At 16 agents, the median request with a cached prompt started in 1.24 seconds; the million-token follow-up test took 1.84 seconds. - Long prompts still take time
An uncached prompt of about 1.04 million tokens took 190.8 seconds to reach its first token. - The comparison has limits
The authors did not run a GPU baseline on the same traces, and say the AgentX results are self-run, with one run per point.
Why it matters
For teams serving coding agents, the useful question is not simply how fast a chip can generate tokens. Long prompts, cached context and concurrent agents shape the experience, and this test puts numbers on those parts of the workload. The results also show why a quick cached follow-up and a first pass through a million-token prompt are very different propositions.
The article compares its system with Kiln v0.2.0 on selected tests, but that is not a same-trace GPU comparison. The authors say they have not run the same workloads on GPUs, so the results do not establish that Trainium2 beats GPU servers overall or is cheaper per request than a GPU alternative.
Our read
This is a substantial, specific report on serving a very large model outside the usual GPU benchmark lane. The cache results are striking; the uncached million-token wait is a useful reminder that “supports a million tokens” and “gets through a million tokens quickly” are not the same boast. Interesting numbers, but the missing same-trace GPU comparison is the obvious next test.
What to watch
- Whether the authors publish results from the same AgentX traces on GPUs.
- How performance changes across repeated runs and different agent workloads.
- Whether other teams can reproduce the results using the published engine code and setup.
Discussion spark: For coding-agent workloads, would you prioritise fast cached follow-ups or faster processing of the initial long prompt?
Sources and evidence
- Serving GLM-5.3-Flash on one Trainium2 box with NKI layer megakernels (27 November 2026, 18:31 UTC)
not affiliated with or endorsed by Amazon Web Services (AWS)