cd /news/artificial-intelligence/flashstates-unlocking-flexible-hybri… · home › topics › artificial-intelligence › article
[ARTICLE · art-166736] src=flashstates.ai ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

FlashStates Unlocking Flexible Hybrid State Management for Agentic LLM Inference

A 2026 alphaXiv preprint by Chenxi Li, Weili Xu, Tianyi Zhang, Jue Wang, Zhongzhu Zhou and Chenfeng Xu introduces FlashStates, a hybrid state management scheme for agentic LLM inference that decouples recurrent checkpoint positions from KV-cache block boundaries to cut redundant prefill. The authors report that below 40 sessions, placement and dependency misses cause most redundant prefill in vLLM and SGLang, while capacity misses grow only from about 40 sessions; SGLang checkpoints every 256 tokens and at 32 sessions keeps 4.2× as many checkpoints per request as vLLM. FlashStates saves recurrent checkpoints exactly where turns resume, keeps or evicts each checkpoint together with the KV it depends on, and leaves KV block size, chunk size and outputs bit-identical.

read2 min views1 publishedNov 10, 2026

FlashStates: Unlocking Flexible Hybrid State Management for Agentic LLM Inference

FlashStates decouples recurrent checkpoint positions from KV-cache block boundaries, achieving fine-grained state reuse without dense checkpoint storage.

FlashStates vs. vLLM

In a hybrid model, attention keeps KV for every token, but each recurrent layer keeps one state that it overwrites as it reads. Resuming at a position needs the KV and a checkpoint taken exactly there; we call the pair a hybrid state.

Each agent turn re-sends its whole context. Ideally, the engine computes only the tokens added since the previous turn ended. Any earlier token it computes again is redundant prefill, caused by one of three misses.

Below 40 sessions, placement and dependency misses cause most of the redundant prefill in vLLM and SGLang. Capacity misses grow only from about 40 sessions.

SGLang checkpoints every 256 tokens, so it has few placement misses (b). At 32 sessions, however, it keeps 4.2× as many checkpoints per request as vLLM. They compete for a fixed-size state pool, which causes its dependency misses (c).

FlashStates saves recurrent checkpoints exactly where turns resume, and keeps or evicts each checkpoint together with the KV it depends on.

The next turn resumes where the previous request ended, usually inside a KV block. ASC saves the recurrent checkpoint exactly there: at request end it captures the hybrid state before cleanup, and if the position lies inside a prefill chunk, the kernel exports the checkpoint as a side output while the chunk continues. The KV block size and the chunk size do not change, and outputs stay bit-identical.

A recurrent checkpoint is useless without the KV before it, and that KV cannot resume a request without the checkpoint. FlashStates therefore keeps or evicts each hybrid state as one unit: its checkpoint and the KV only it needs. KV pages shared with other hybrid states are freed only when the last state that needs them leaves.

Each hybrid state is priced by the prefill time it saves, measured once per model, per block of memory its eviction would free. Nothing is tuned per workload. Admission uses the same price: when memory is short, a new checkpoint is cached only if it is worth more than the cheapest one already cached. States that no request has resumed from for a while fall behind, so the newest checkpoint of each session, where its next turn resumes, is typically kept longest.

@article{flashstates2026,
  title   = {FlashStates: Unlocking Flexible Hybrid State Management
             for Agentic LLM Inference},
  author  = {Li, Chenxi and Xu, Weili and Zhang, Tianyi and Wang, Jue and
             Zhou, Zhongzhu and Xu, Chenfeng},
  journal = {alphaXiv preprint},
  year    = {2026},
  url     = {https://www.alphaxiv.org/abs/2611.flashstate}
}
── more in #artificial-intelligence 4 stories · sorted by recency
── more on @flashstates 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/flashstates-unlockin…] indexed:0 read:2min 2026-11-10 · —