# llm-d adds Kubernetes-native SGLang serving for GLM-5.2

Published 2026-11-22 · AI.info Team · AI.info

> llm-d users can now choose SGLang alongside vLLM for a tested GLM-5.2 deployment. Project contributors report gains from host-memory caching, while shared storage adds overhead in some tests.

[llm-d](https://llm-d.ai/blog/serving-glm-5-2-sglang-tiered-kv-cache-on-llm-d) users can now choose SGLang alongside vLLM as the inference engine for its tested GLM-5.2 deployment. In a post dated November 23, the project describes changes that let SGLang serve the model through llm-d’s Kubernetes orchestration and routing.

By swapping only the engine-specific deployment overlay and router configuration, the post says, SGLang runs on the same orchestration, routing and verification workflow as vLLM. Contributors also tested a tiered cache that uses host memory and shared storage to retain data from earlier requests.

## Routing to individual ranks

SGLang could already run GLM-5.2 Wide-EP as a standalone server. In Wide-EP deployments, model experts are shared across GPUs, but each attention data-parallel rank has its own key-value cache, or KV cache.

llm-d routes requests and tracks cached prefixes at the individual-rank level. The integration work gives each rank an independently routable Kubernetes endpoint, with its own readiness and visibility signals.

The contributors also replicated prefill-and-decode pairing state across rank listeners and carried routing metadata across [OpenAI](https://ai.info/companies/openai) and native APIs. Prefill processes an input, while decode generates the output; the router selects a prefill rank with the relevant cached prefix and a less-loaded decode rank.

## Host memory tests

The tests used [NVIDIA](https://ai.info/companies/nvidia) H200 nodes on GKE A3 Ultra and a shared [Google Cloud](https://ai.info/companies/google-cloud) Managed Lustre volume. The first configuration paired an eight-GPU prefill pod with an eight-GPU decode pod, using an agent inference benchmark and a Claude Code trace corpus.

The authors report that the GPU-resident cache held 2.09 million tokens per eight-GPU prefill pod. Adding host RAM increased the combined GPU and host cache capacity to 17.5 million tokens per prefill pod.

At concurrency 128, the post reports, host-memory offloading raised output from 319 to 1,257 tokens per second. Median time to first token fell from 174.2 seconds to 20.1 seconds, while cache hit rates remained at 85%–95% across the tested concurrency range.

Shared storage did not improve the single-warm-pod result under the tested file configuration. The authors say it added 14%–33% to median time to first token across concurrencies 16 to 128 and reduced output by about 9% at concurrency 128.

## Failover and shared storage

For the multi-replica tests, the team used 32 H200 GPUs across two eight-GPU prefill pods and a two-node, 16-GPU decode pool. At concurrency 128, the scaled-out configuration reached a median time to first token of 3.43 seconds at 1,903 output tokens per second, according to the post.

The team also deleted a prefill pod during a live failover test and replayed sessions against a restarted pod. Shared storage restored 99.94% of failed-over prefix tokens rather than recomputing them, the authors report. Failover median time to first token fell from 38.4 to 28.8 seconds; cold-replica recovery time to first token fell from 38.8 to 16.8 seconds.

Under the synchronous file configuration, shared storage also added steady-state overhead when there were no failures. Median time to first token rose by 26% at concurrency 64 and 66% at concurrency 128, while output fell by less than 5% to 11%.

## Sources

1. Original source · Blog post [llm-d](https://llm-d.ai/blog/serving-glm-5-2-sglang-tiered-kv-cache-on-llm-d) llm-d.ai

## In the tracker

- [GLM-5.2](https://ai.info/tracker/models/glm-5-2)

## Related stories

- [AWS makes SGLang-Neuron publicly available as a preview](https://ai.info/news/aws-sglang-neuron-public-preview-trainium)
- [Team says AI agents helped integrate SGLang with Spyre in under a week](https://ai.info/news/sglang-ibm-spyre-ai-integration-under-a-week)
- [Google plans Kubernetes Python client upgrades for AI workloads](https://ai.info/news/google-kubernetes-python-client-ai-ml-modernization)
- [Agent Substrate targets denser Kubernetes workloads](https://ai.info/news/nvidia-agent-substrate-kubernetes-agents)
- [NVIDIA adds AI workload inventory to GPU platform runtime](https://ai.info/news/nvidia-runtime-ai-workload-inventory-gpu-platforms)

## Explore

[More articles](https://ai.info/news)

---

Canonical: https://ai.info/news/llm-d-kubernetes-native-sglang-glm-5-2-serving
