An agent repeatedly sending the same instructions can benefit from a provider that remembers the computation already performed on those inputs. In its inference talk, FriendliAI describes prefix caching: reusing calculations for a shared beginning of a request instead of processing that text again.
The company's explanation also shows why simply having a cache is insufficient. Requests must reach a server holding the relevant cached work; routing them elsewhere loses that reuse. FriendliAI describes routing requests accordingly and moving cached data between GPU memory, ordinary memory and storage. In the company's account, this is one way a serving system can change an agent's waiting time even when the underlying model stays the same.
Key takeaways · AI-distilled
FriendliAI's Yunmo Koo argues Open weightsA model whose learned parameter values have been made available to download, under terms the publisher sets.Full definition → models now compete with top proprietary ones, showing GLM 5.2 and Claude Opus 4.8 build similar tower defense games from one prompt, with GLM 5.2 more than 5.6x cheaper, per the vendor's demo.
Running the same model and Agent modeA mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.Full definition → on two providers, FriendliAI built a game in about two minutes versus more than three for the other provider. Koo attributes the gap to serving choices, not the model.
Koo cites prefix caching with cache-aware routing, a GPU, CPU and NVMe KV cacheThe memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.Full definition → hierarchy for long repetitive agent inputs, and hybrid speculative decodingA speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.Full definition → that adapts to live traffic. He treats reliability as part of speed, since one failed call can sink a run.
Terms in this piece · Glossary
Open weights — A model whose learned parameter values have been made available to download, under terms the publisher sets.
speculative decoding — A speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.
Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
KV cache — The memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.