Hugging Face user zai-org released GLM-5.2, a major update to Zhipu's flagship GLM series. The standout: 1M context window with strong long-horizon Agent capability, achieved through a combination of IndexShare (efficient KV cache management) and anti-cheat RL (training the model to actually use the long context).

The "IndexShare" highlight: a KV cache sharing technique that allows the 1M context to be served at 2× the speed of competing 1M-context models. IndexShare identifies "shared" KV cache entries across different context segments and reuses them, cutting memory by 40% and latency by 30%.

The "anti-cheat RL" insight: long-context models often "cheat" by ignoring most of the context and focusing on the last few thousand tokens. GLM-5.2 uses an RL training signal that explicitly rewards the model for using information from the full context. The result: on long-context QA, GLM-5.2 uses information from 80%+ of the context, compared to 30-40% for the previous generation.

The benchmark: on the LongBench-Agent benchmark (1M context), GLM-5.2 scores 71.4, beating Llama-3.1-405B (68.2) and approaching Claude Opus 4.7 (73.5). The 1M context is the longest among open-source models.

The bigger takeaway: "long-context Agent" is the right paradigm for production AI. The "1M context is a gimmick" criticism is being addressed by anti-cheat RL, and the "long-context is too slow" criticism is being addressed by IndexShare. For the industry, this signals that "long-context" is becoming a real production capability, not just a marketing claim.