EdgeRock-4B: open-source 4B model keeps KV cache flat at 72MiB over 256K tokens

eyishazyer · x · 2026-11-04

EdgeRock-4B, an open-source 4B model (free for commercial use), tackles the growing KV cache problem for long-running agents. While a typical 4B model like Qwen3.5-4B needs 8 GiB of KV cache at 256K tokens, EdgeRock-4B holds history under 100 MiB at any length.

It uses three fixed-size memory layers:

The Q4KM quantized model is just 2.94 GB and scores 94.1% query accuracy on a long-context memory test (0.4% with RMA off). Technical report: arXiv 2610.1018.

Related event: EdgeRock-4B Open-Sources Constant-Memory Inference for LLMs(3 posts)→

Original post →

More from coding & agent

coding & agent channel →