Inference & Serving
7 concepts · The Power Plant in the gameInference & Serving in 7 concepts: Inference Serving, Speculative Decoding, Quantization, KV Cache, On-Device & Local Models, Token Economics & Pricing, Fast Inference.
In the gameThe Power Plant. Turbines turning compute into tokens. Tricks like caching and drafting make the same plant produce more. See every room.
Inference Serving
Running models efficiently for many users: batching, scheduling, hardware use.
Inference serving is running a trained model for many users at once. Requests are grouped into batches, scheduled across chips and streamed back as they are generated. Good serving squeezes more answers out of the same hardware, which sets the price and the speed that users see.
Inference Serving is cooling this week (×0.36 against the eight weeks before).
Speculative Decoding
A small model drafts tokens and the big model checks them in one pass, for faster output.
Speculative decoding speeds up a large model by letting a small one guess the next few tokens. The large model checks the guesses in a single pass and keeps the ones it agrees with. The output is the same as the large model's own, and arrives faster whenever the guesses are good.
Speculative Decoding is cooling this week (×0.36 against the eight weeks before).
Quantization
Storing weights in fewer bits to make models smaller and faster.
Quantization stores each of a model's weights with fewer bits, for example four instead of sixteen. The model shrinks and runs faster on smaller hardware. A little accuracy is lost with each cut, so the work is finding how far to round before the answers get worse.
KV Cache
Memory of past tokens' attention keys and values, the main memory cost of long contexts.
The KV cache is the working memory a model keeps for each token it has already read, so that it does not reprocess the whole text for every new token. It makes generation fast. It also grows with the length of the context, and is the main memory cost of long conversations.
KV Cache is cooling this week (×0.32 against the eight weeks before).
On-Device & Local Models
Running models on phones and laptops instead of in the cloud.
On-device AI runs a model on a phone or laptop instead of in a datacenter. The model must be small enough for the device's memory and battery. Nothing is sent away, so it works offline and keeps data private, at the price of a weaker model than the cloud offers.
Token Economics & Pricing
What tokens cost, how fast prices fall, and how that shapes products.
Token economics is about what it costs to run a model, priced per token read and written. The price of a given quality keeps falling, while agents use many more tokens per task. Whether a product makes money depends on which of those two moves faster.
Token Economics & Pricing is cooling this week (×0.19 against the eight weeks before).
Fast Inference
Very high tokens-per-second serving (Cerebras, Groq, fast modes).
Fast inference means serving a model at very high tokens per second, using special chips or tuned software. An answer that took a minute arrives in seconds. Speed changes what is practical: agents can take many more steps, and people stay in the flow of the work instead of waiting.
Fast Inference is cooling this week (×0.51 against the eight weeks before).