TL;DR: Cerebras has published a walkthrough of how they deploy trillion-parameter models on their wafer-scale chips. The input problem: a WSE-3T wafer has just 44 GB of on-chip memory, while a 3T model’s weights alone take ~1.5 TB even at 4 bits. The answer: 59 wafers in one pipeline, weights never move, and only activations travel between wafers (~2 microseconds per hop). The result is 1,000–2,000+ tokens per second on a multi-trillion-parameter model. The illustrative example is the open Kimi K3.
The problem: 44 gigabytes versus terabytes
Cerebras’ wafer-scale chip is an entire silicon wafer as a single chip: 44 GB of SRAM right on the die, no external HBM. That delivers monstrous bandwidth but raises a hard question: where do you put a model whose weights alone measure in terabytes?
The walkthrough uses Kimi K3: ~3T parameters, 93 layers (69 linear-attention + 24 dense), requests up to 256k tokens, 4-bit weights, 8-bit KV cache. The model is no slouch: 88.3% on Terminal-Bench 2.1 (GPT-5.6 Sol: 88.8%).
Layer arithmetic
3T parameters × 4 bits ≈ 1.5 TB. Divide by 93 layers — ~16 GB per layer. A whole layer fits in a wafer’s 44 GB, and that’s the key: layers never need to be split across chips.
Layer types then decide the layout:
- Dense layer (full attention) — one per wafer. It needs a KV cache: keys and values for every token of every active request. The wafer’s remainder (~28 GB) goes to cache.
- Linear-attention layer — two per wafer (2 × 16 GB). It needs no KV cache at all: instead of per-token keys and values, it keeps a small fixed-size state per request — regardless of context length.
Total: 69 linear layers / 2 + 24 dense = 35 + 24 = 59 wafers.

The pipeline: weights stay, data flows
The Cerebras compiler maps layers across wafers; the runtime routes tokens. Between wafers, over RDMA-over-Ethernet, only activations travel — about 2 μs per hop. Weights never move: each wafer is a conveyor-belt stage that permanently owns its layers.
The first wafer computes layers 1–2 and hands activations to the second, which runs layers 3–4, and so on until the last wafer emits the next token.
“But then every wafer idles?” — no
The natural worry: while a request travels the pipeline, other stages sit idle — effectively a batch size of one. The classic fix: keep the pipeline full. While stage 3 computes a token for request A, stage 2 handles request B, and stage 1 handles request C. Each stage also processes a micro-batch — a small group of requests at once. Requests in flight ≈ number of stages × micro-batch size.

The concurrency ceiling is KV-cache memory: every active request occupies cache on every dense wafer, and the SRAM remainder sets how many requests can be served at once. Note that linear layers have no such ceiling — their per-request state is fixed and doesn’t grow with context.
Honest caveats
- This is a vendor writing about its own hardware: GPU comparisons are “internal testing,” and Cerebras itself notes results vary with workload and configuration.
- The fair metric they propose is tokens per second per megawatt at equal generation speed; bare tok/s without energy and price says little.
- The concurrency arithmetic assumes 256k requests and an 8-bit KV cache; a different profile yields different numbers.
Why this matters to us
The most interesting part of the walkthrough isn’t the hardware — it’s the boundary between two kinds of state. The KV cache is expensive working memory: it grows with every token, lives on-die, and caps concurrency. Linear attention is cheap fixed-size state. Agents face the same fork: everything sitting in the context costs like a KV cache — expensive and short-lived. Project decisions, discovered dead ends, agreements — those aren’t working memory for the current token; they’re long-term memory, and they belong outside: written once, read when needed. MaxGraph is that external layer.
FAQ
How many wafers does a 3T model need? By Cerebras’ arithmetic: 59 — at 16 GB per layer in 4 bits, one dense layer per wafer, two linear layers per wafer.
Why don’t the weights move? A full layer (16 GB) fits in the wafer’s 44 GB of SRAM. What gets sliced isn’t the model but the flow: only activations cross wafers, ~2 μs per hop.
What does linear attention change for hardware? It needs no KV cache: per request it stores a fixed-size state regardless of context length. That’s why two linear layers fit on one wafer while a dense one takes a whole wafer (the rest is cache).
Where can I try it? Cerebras offers a free API: cloud.cerebras.ai.
What’s next
- Llmspeed: feel a local LLM’s speed before buying hardware
- DeepInfer: DeepSeek open-sources its production inference engine
- Kimi K3.1 Pro: an open 3T-class model
MaxGraph — memory for AI agents: local, private, with a living knowledge graph. 7 days free.
Give your agent memory
7-day trial, no card. Installation is one prompt — your agent does the rest.