ProductsMulti-sourceSelected

GraphTok GPU tokenizer for LLM serving

Taking Tokenization off the Host for Agentic LLM Serving

Why we picked it

GraphTok transforms tokenization from a bottleneck into a GPU-accelerated stage, dramatically increasing serving capacity for agentic workloads that resend long contexts. For developers managing LLM infrastructure, this means handling up to 518 requests/s of 121k-token traffic with a P99 target of 2 seconds, sustaining 1.75-2.5x the load of previous solutions.

GraphTok is a GPU tokenizer that runs the entire encoding pipeline as a replayable CUDA graph.

Body

It reproduces reference token IDs bit-for-bit on GPT-2, Llama 3, Qwen 2.5, DeepSeek-V3, and Gemma 3.

GraphTok encodes one million GPT-2 tokens in 1.7-3.

2 ms and is 4.7-6.

0x faster than gigatoken on Llama 3.In vLLM with cached prefix, it lowers mean TTFT by 2.

1-2.4x.

Original · arXiv: DeepSeek

Taking Tokenization off the Host for Agentic LLM Serving

Agentic workloads resend long contexts that barely change between calls. Prefix caching now skips most of their prefill, yet every request must still be tokenized in full before the cache can even be consulted. Tokenization, a CPU stage long treated as negligible, becomes the largest part of time-to-first-token (TTFT), and a frontend that tokenizes for a whole GPU fleet limits how many GPUs it can feed. We present GraphTok, 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. GraphTok reproduces the reference token IDs bit-for-bit on GPT-2, Llama 3, Qwen 2.5, DeepSeek-V3, and Gemma 3, hands short inputs to a CPU engine where the GPU cannot win, and plugs into unmodified vLLM and NVIDIA Dynamo. GraphTok encodes one million GPT-2 tokens in 1.7-3.2 ms including data transfers, and on Llama 3 it is 4.7-6.0x faster than gigatoken, the strongest CPU tokenizer. On TokTier's own single-request benchmark, it is 2.6-3.9x faster than gigatoken and up to 18.1x faster than TokTier. In vLLM with a cached prefix, it lowers mean TTFT by 2.1-2.4x. The largest gain is capacity. Within a 2 s P99 target, one Dynamo frontend with GraphTok sustains 518 requests/s of 121k-token traffic, the busiest-hour load of 56 GPUs, against 296 with gigatoken and 18.5 with the default tokenizer. Across 121k to one million tokens, this is 1.75-2.5x the load gigatoken sustains, with a P99 up to 64x lower where gigatoken's tail breaks.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Products" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include GraphTok, vLLM, tokenization, LLM serving.

Primary source verification: published directly by arXiv: DeepSeek with first-party authority. Cross-source corroboration: 6 independent sources have covered this development (including DeepLearning.AI, AI Will, 量子位), confirming industry-wide signal strength.

Spotted an error in the summary or translation? Tell us