Frontier Foundry

Fast Inference

The Power Plant · Inference & Serving

Very high tokens-per-second serving (Cerebras, Groq, fast modes).

Also called: tokens per second, tok/s, tokens/s, fast mode, low latency, Cerebras, Groq. In the glossary.

Fast Inference is cooling this week (×0.51 against the eight weeks before). What is moving.

How it works, as a machineThe Bandwidth Lab · tokens

Follow one token from weights at rest in memory to a pace on the timer, in a bandwidth test lab, a weight vault across a bus lane from compute.

  1. Open the weight vault
  2. Switch on a few experts
  3. Stream the weights
  4. Multiply the weights
  5. Add up the shards
  6. Clock the pace
Play Fast Inference

Fast Inference in plain words

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.

An analogy

A pottery kiln that fires in one minute instead of overnight. The pot is no different, but the potter can now try a glaze, look at it and try another twenty times before lunch. A craft that needed a day of patience turns into a conversation with the clay.

How Fast Inference connects

10 typed relations in the knowledge graph

Builds on

  • Inference Serving: The request’s whole trip from the gateway to its last word is the serving hall’s story; this lab clocks one token of it.
  • Quantization: A smaller weight file means fewer bytes through the pump for every token.
  • Speculative Decoding: A small model drafting ahead lets one read of the weights yield several tokens.

Built on by

  • Decision Models (System One): Reading the odds in one pass, with the state cached, is what makes the call fast and cheap.
  • Diffusion Language Models: The speed is real for one user and fades when many share a chip; the same trade-off decides serving.
  • Looped Transformers: Sequential passes add latency; parallel lanes take it back.
  • On-Device & Local Models: The NPU decode core reads weights once per token, so the speed of a local answer is set by memory and the chip.
  • Voice AI: Time to first audio is the milliseconds that inference speed counts.

Made possible by

  • KV Cache: Keeping the keys and values of what was read makes each new token one step, not a rereading.
  • Speculative Decoding: A small model drafts several tokens and the large one checks them in a single pass.

Often in the same sources

On-Device & Local Models, Quantization, Inference Serving, Speculative Decoding, Mixture of Experts, Chinese AI Labs

See Fast Inference in the knowledge graph

Fast Inference in the news

from the daily digests

What the sources say

4 parts · 13 sources · updated 2026-11-27

Fast inference is a token made quickly. Every token needs all the weights read from memory into compute again, so the compute waits on memory most of the time and the memory bandwidth sets the pace: a few experts, a faster bus or memory next to the compute cut the wait; more cards add compute but must combine their work in every layer. A reply is clocked twice, by its first token and by its pace after it, and each gain in speed is paid for in price, throughput or the size of model that fits.

Memory bank

Every weight of the model sits in memory off the chip. A few experts are switched on for each token, and the weights they hold are streamed across the memory bus into the compute. How fast that bus runs sets the pace of every token.

  1. The weight vault holds every weight of the model in memory off the chip, far from the compute.
  2. The expert switch turns on only a few experts for each token, so fewer weights have to be read.
  3. The bandwidth pump streams the chosen weights from memory into compute, as fast as the bus allows.
3.35 TB/s
Memory bandwidth of one H100 GPU, as given in a vendor talk; the pace at which weights can stream into compute Daniel Kim
up to 90%
Share of the time the compute waits on memory while one token is made, as stated by the presenter Daniel Kim
50–80%
Share of inference latency taken by hardware and memory movement, as stated by the presenter Sarah Chieng
3,000 vs 600 tok/s
Decode speed of a wafer-scale chip with on-chip memory against an H100, as the chip maker's speaker reports Daniel Kim
  • On a GPU all the weights sit in memory off the chip, in HBM, and for every token they have to cross a memory-bandwidth bottleneck to reach the compute. Sarah Chieng
  • To make one more token the model has to read all of its weights from memory into compute, so most of the time the compute sits idle waiting for memory. Daniel Kim
  • Inference is mostly about memory: most operations are memory-bound, and a single user on a local machine cannot batch requests, so decode runs at low batch size. Alex Cheema

Compute floor

The compute does the matrix multiplies on the weights that arrive, then waits for the next ones. Splitting the model over several cards adds compute, but the cards must combine their partial results in every layer, which eats the gain.

  1. The tensor core furnace multiplies the weights that arrive, then sits idle until the next ones do.
  2. The all-reduce patchbay adds up each card’s partial result before the next layer can start.
1.6×
Speedup measured in a demo of speculative decoding on a structured-output task with a high acceptance rate Sheilah Kirui
4× compute, about 2× speed
Speed-up of one token when a model is split across four GPUs, against the four times the compute that was added, as the presenter states it Daniel Kim
  • A tensor core does the big matrix multiplies and has plenty of arithmetic; the weights, activations and key-value cache must all flow to it through a tight bandwidth channel. Brendan O'Donoghue
  • After the attention block and again after the feed-forward block of every layer, the cards all-reduce, combining the partial results, because each holds only a quarter of the model. Daniel Kim
  • Splitting a model across four GPUs needs two all-reduce steps in every layer, so four times the compute gives only about two times the speed. Daniel Kim

When it breaksA draft model that made decoding slower. In a workshop, a 0.6-billion-parameter drafter proposing four tokens at a time was added to a 4-billion-parameter model. Single-request speed fell from 58 to 16 tokens per second, because the verifier kept rejecting the drafts and the draft compute was wasted. Khaja Omer

Clock post

Speed is measured twice: the time to the first token and the pace of the tokens after it. With many replies at once, the pace of one reply and the output of the hall pull against each other, and a headline figure depends on the prompt it was measured with.

  1. The pace timer clocks the first token and every token after it, and shows tokens per second.
2.5× faster at 2× the price
The speedup and price of a fast mode for one API model against standard processing, as reported in the provider's release note OpenAI
6× the tokens for 2× the speed
Cost of a fast mode for one coding assistant in tokens served per token delivered, as the speaker recalls it Daniel Kim
800 → 1,100 tok/s
Aggregate throughput at 64 concurrent requests before and after raising the sequence limit; latency fell from about 2,000 ms to 800 ms; reported by the presenters Khaja Omer
under 100 tokens
The prompt length for which, SemiAnalysis argues, a 2,000 tokens-per-second figure holds AINews
40–60 tok/s
Typical output speed of two popular model families on a coding task, as the chip maker's speaker reports; a fast coding model is said to reach 1,200 Sarah Chieng
  • A single request on a small GPU in a workshop took 37 ms to the first token and ran at about 40 tokens per second, which is the cap for that request however many others are served. Du’An Lightfoot
  • Continuous batching puts a new request into every idle slot of a weight read that is already being paid for, so one read serves many users. Daniel Kim
  • Every token needs keys and values kept in memory; a 128K-token context takes about 42 GB, and for a 70-billion-parameter model every 3,000 tokens takes about 1 GB per request. Daniel Kim

Open questionDoes a tokens-per-second headline tell you how fast it is?

  • A wafer-scale chip with 21,000 TB/s of memory bandwidth serves decode at 3,000 tokens per second against 600 on a GPU, says the chip maker's speaker. Daniel Kim
  • The 2,000 tokens-per-second figure covers only prompts under 100 tokens, and the maker should show tail latency at 100K tokens or more, says an analyst firm. AINews

Before the first token

A prompt waits before anything streams. The matched part of it is found in a cache and skipped; the rest is prefilled in one compute-heavy pass, and the first token ends the wait. A very long prompt can hold the whole line here.

  1. The prefix drawers match the prompt against cached prefixes, so the matched part is not prefilled again.
  2. The prefill press builds keys and values for every prompt token in one pass and ends when the first token is out.
277 ms → 1,300 ms
Time to first token in one workshop load test when concurrent requests went from 32 to 64 on one GPU serving a 4-billion-parameter model; reported by the presenters Khaja Omer
a high-speed fabric
What disaggregated prefill and decode needs that an aggregated pod does not: a network fast enough to move key-value caches between pools, as stated by the presenters Ashish Kamra
  • A prompt cache reuses the keys and values already computed for an earlier request, so a long system prompt does not have to be prefilled again. Daniel Kim
  • Cache-aware routing sends a long request to a replica that already holds part of its input, so prefill can be skipped for part of a 200,000-token prompt. Latent Space
  • Prefill runs from the moment a request arrives until the first token is out: it computes keys and values for every prompt token, and it is compute-bound and highly parallel. Daniel Kim

When it breaksOne long prompt holds the whole line. Coding agents send prompts of 200,000 tokens or more. While one such prompt is being prefilled on a shared worker, no other prefill or decode request can get through, so people chatting in short sessions wait behind it. Daniel Kim

Sources

13 in all

More in Inference & Serving

The Power Plant: the whole area
  • Inference ServingRunning models efficiently for many users: batching, scheduling, hardware use.
  • Speculative DecodingA small model drafts tokens and the big model checks them in one pass, for faster output.
  • QuantizationStoring weights in fewer bits to make models smaller and faster.
  • KV CacheMemory of past tokens' attention keys and values, the main memory cost of long contexts.
  • On-Device & Local ModelsRunning models on phones and laptops instead of in the cloud.
  • Token Economics & PricingWhat tokens cost, how fast prices fall, and how that shapes products.