Skip to content

TokTier: Exact Stateful Tokenization for Agentic LLM Serving

2026 · arXiv.org · Vol abs/2607.29678 · 1 citation · 31 references
Computer Science

TL;DR

LLM serving systems cache prompt KV state is serving systems cache prompt KV state, yet most front ends still re-tokenize the full request text on every call, leading to a mismatch that is most costly for coding agents.

View source

Similar papers

#machine learning Preprint Oct 2026

Taking Tokenization off the Host for Agentic LLM Serving

GraphTok is presented, a GPU tokenizer that runs the entire encoding pipeline, from pre-tokenization through byte-pair encoding (BPE) merging to token-ID assembly, as one replayable CUDA graph.

Mohammad Siavashi, Pascal Schwinte, A. Banaei et al. · 1 citation
#artificial intelligence Preprint Sep 2026

TokenCast: Forecasting Token Consumption During LLM Agent Execution

TokenCast is proposed, which learns a composable cost representation for each execution segment, recording its own consumption and the context growth it introduces, and captures the extra input cost incurred when context from earlier segments is re-read by every later call.

Chao-Qian Ouyang, Ling Yue, Li-Bin Zheng et al. · 0 citations
#machine learning Preprint Sep 2026

EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents?

EfficientAgent is presented, which sizes and manages the host tier by this working set, which estimates the working set from agent histories to size the host tier and its predictions, made before the experiments, located the capacity at which offloading starts to pay.

Kun-Ming Shao, Jie-Run Chen, Jiang-Nan Yu et al. · 0 citations
Preprint Sep 2026

JustFit: Just-in-Time State Management for Local LLM Serving

JustFit is presented, an MLX runtime that coordinates their overlapping allocations: KVExec executes and checkpoints four-bit KV with bounded workspace, PhaseSwap loads phase-dependent components, and StateTrans preserves history across execution modes.

Yu-Hua Chen · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.