The memory architecture of fast inference

Fast inference aligns model state with the memory hierarchy. On installed GPUs, reuse and persistent execution come first; specialized memory earns its cost only when compulsory traffic still dominates.

November 8, 2026 · Markdown

Start with the model timeline

Low-batch inference is slow when a dependent operation has too little reuse to cover its memory traffic and execution overhead. More local bandwidth can help, but only after the model’s actual reads and dependencies are known. The first design task is to align those reads with the right storage tier and keep the critical path short.

A request crosses four different storage problems. The model’s weights and learned tables must reside somewhere. Each query reads selected parameters and prior state. Later tokens need updated state retained beside or behind the compute engine. A later agent turn can restore a matching prefix instead of processing its whole conversation again.

A model request is a sequence of storage and movement decisions
Figure 1: The timeline separates the bytes a model must keep from the bytes a particular query moves. Prefix reuse saves prompt computation and its traffic, but adds retained storage, restoration traffic, and placement constraints.

Residency is the installed footprint: weights, conditional tables, active-request state, cached prefixes, scales, and temporary buffers. Traffic is the data actually read or written for a phase, separated by memory tier. Reuse counts how often a weight read, selected history entry, or prefix serves more work. Exposed time is the delay that remains after legal overlap.

A mixture-of-experts (MoE) model makes the first distinction unavoidable. A router chooses a few expert networks for each token, while common attention and shared-expert paths run regardless. Activated parameters approximate the arithmetic and selected weight reads. Total parameters determine how much storage must exist across the system. A large model therefore need not stream every weight for every token, but every expert still needs a home.

DeepSeek V4.1-Flash has a 552B-parameter backbone plus 196B Engram parameters. Its Causal Encoder–Decoder organization reports 8B active parameters during prefill and 16B during decode. Those phase-specific activity counts do not imply that prefill needs half the installed model. Kimi K3 stores about 2.78T total parameters with 104.2B activated per token. Both systems separate conditional computation from unconditional residency.

Batching shares dense and hot-expert weight reads across more token rows. It also increases the union of selected experts, request-private state, dispatch traffic, and queuing. Speculative decoding adds draft and verification rows to that ledger. The best throughput point usually has worse per-user latency than the fastest low-batch point; choosing between them is a service decision, not a bandwidth ranking.

Attention adds time-dependent key–value (KV) state. A sparse selector can read only 2,048 entries while the rest of a million-token history remains searchable. Compression can reduce the number of independent entries, while recurrence can replace a growing history with fixed-shape matrices. Neither makes the remaining state free. It still needs allocation, updates, possible checkpoints, and a route to later consumers.

A useful capacity ledger therefore separates shared weights and tables, active requests times their state, live token rows times their workspace, resident prefixes, and allocator overhead. Global runtime KV is only one term in that ledger. The optimization question is which term is large, which traffic is compulsory, and which delay is actually exposed on the model’s critical path.

Attention state has different lifetimes

DeepSeek’s three recent attention designs attack different parts of the timeline. DSA reduces selected reads. CSA and HCA reduce the retained sequence representation. CSA2 also shares global state and selections across layers. Their comparable cache figures are valuable only when those mechanisms and exclusions stay attached.

DSA reduces the core read while retaining the search space

DeepSeek Sparse Attention (DSA) adds a lightweight indexer that scores previous positions. Core attention then reads the top 2,048 latent KV entries in the V3.2 configuration. Query heads share an index key, so the search is cheaper than dense attention, but it still examines earlier positions. At short prefill lengths, a masked dense path can be faster than constructing sparse selections.

The unselected history remains available because another query can choose a different subset. Sparse reads can reduce bandwidth per step without increasing the number of million-token sessions that fit in memory. Training also matters: V3.2 warms up the indexer over 2.1B tokens and adapts the full model sparsely over 943.7B tokens. A runtime selector cannot retrofit that learned behavior onto an arbitrary checkpoint.

DeepSeek Sparse Attention reduces reads without deleting the searchable history
Figure 2: DSA’s top-k read and its retained candidate history are separate working sets. Source: DeepSeek-V3.2 technical report (2025).

Sequence compression changes the retained representation

V4-Flash inserts learned compression before selection. Compressed Sparse Attention (CSA) stores approximately one entry per m positions, with neighboring windows drawing on up to 2m positions. Its sparse selector then reads compressed entries. Heavily Compressed Attention (HCA) uses rate 128 and attends densely over the much shorter sequence. This is sequence compression, not channel compression in multi-head latent attention (MLA) and not merely narrower numeric storage.

V4-Flash uses 43 layers, with CSA rate four and top-k 512; HCA supplies the more heavily summarized branch. An exact 128-token local window preserves recent interactions, while an incomplete tail waits to form a compressed block. Those objects have different pooling and alignment rules. The implementation cannot treat every cache entry as a uniform page just because all are called KV.

The cache also mixes formats. Non-rotary values use FP8, rotary dimensions use BF16, and the indexer QK path uses FP4 after quantization-aware training. Flash stores 284B total parameters with 13B active; Pro stores 1.6T with 49B active. Their complete architecture and training runs establish the reported results, rather than one interchangeable attention optimization.

CED and CSA2 assign state ownership

V4.1 reduces prompt computation through a Causal Encoder–Decoder (CED) split. Twenty encoder layers feed twenty decoder layers, and decoder global KV is projected from the encoder’s final hidden state. This avoids full decoder computation over every prompt token for the global branch. Local sliding-window state still uses each decoder layer’s own hidden states, so that branch does not disappear during prefill.

Compressed Sparse Attention 2 (CSA2) then decides which layer owns global state and selection work. Full Mode creates global KV, index keys, and a selection. Reindex Mode shares the state and index keys but issues a new indexer query. Reuse Mode also shares the earlier selection. Every mode still computes its own attention query and local-window KV.

CSA2 separates shared global state from layer-local computation
Figure 3: Green operations are computed in the current layer; gray state comes from an earlier layer. The ownership pattern is static. Source: DeepSeek-V4.1-Flash technical report, Figure 4 (September 2026).

The encoder uses compression rate two in three groups of six layers, with one Full and five Reuse layers per group. The decoder uses rate one in five groups of four. Its first group begins with Full Mode; later groups start with Reindex and reuse the selection in the remaining layers. Producers must stay live until their consumers finish, so shared state also becomes a dependency graph for the runtime.

A Full decoder layer can select 2,048 blocks of eight positions, forming a candidate pool of up to 16,384 positions. Later searches operate within that pool and choose top-k 512 for core attention. The initial history scan remains; later indexer work is bounded by the selected pool. Selection IDs and candidate membership become additional metadata with their own lifetimes.

Main global KV uses FP4 E2M1 storage with an E4M3 scale per 16 channels. The runtime can dequantize those values before attention, so storage at four bits does not require native FP4 matrix multiplication. The more sensitive local window stays FP8. Arithmetic costs, dequantization, scale metadata, and the traffic saved must be accounted separately.

The 890 bytes per token describe global runtime KV in high-bandwidth memory (HBM), not complete serving memory. They exclude the 196B Engram parameters and backbone weights as well as local windows, activations, speculative state, runtime buffers, and long-lived prefixes. Comparing that one category with a complete hardware footprint would erase most of the system.

The persistent-prefix ratio has another denominator. V4.1’s global representation is about one quarter of V4’s, and local-window state leaves the long-lived prefix tier. Because that local state was nearly half of V4’s persistent footprint, the combined result is about one eighth as much persistent storage. The reported deployment holds global prefixes for at least 72 hours, while a distributed pool backed by 10% of host DRAM retains active-session local state for minutes.

Bounded Replay makes that lifetime split practical. On a local-cache miss, V4.1 reconstructs an approximation from the latest 128 tokens rather than replaying the exact accumulated local receptive field through every layer. DeepSeek trained with this behavior during post-training and reports negligible quality impact in its evaluated settings. A miss buys storage and avoids a longer reconstruction, at the price of bounded replay work and approximate local history.

Top-k values across these architectures are not interchangeable units. DSA selects latent positions; CSA selects compressed entries; CSA2 can choose smaller blocks and reuse another layer’s selection. Likewise, DeepSeek’s precision-normalized FLOPS weight BF16, FP8, and FP4 operations by 1, 0.5, and 0.25. That convention compares arithmetic volume, not the energy or latency of real kernels.

GLM’s IndexCache illustrates a narrower form of reuse. Its producing layers create sparse selections; other layers reuse those selections while retaining their own main KV. It does not implement CSA2-style global-state sharing. On an H100 study system with the 30B, activated-3B model, searched one-quarter index retention improved prefill and decode under the published 200K-context configurations. Quality depended on the searched pattern; aggressive reuse was not uniformly benign.

Sources: DeepSeek V3.2 (2025), DeepSeek V4 preview (2026), DeepSeek V4.1-Flash (September 2026), and IndexCache (12 March 2026). The cache figures use DeepSeek’s global main-KV-plus-indexer-K definition.

Kimi trades sequence growth for state ownership

Kimi K3 uses 69 Kimi Delta Attention (KDA) layers and 24 gated MLA layers across 93 layers. KDA updates a recurrent matrix for each head. Its state dimensions depend on key and value widths, not sequence length, while the periodic global layers retain latent histories for direct older-content retrieval. The model avoids context-linear growth in most layers without eliminating global KV.

Recurrent matrices are repeatedly read, updated, and written for every active request. Fixed state with respect to context length therefore still scales with concurrency. A lossy recurrent summary also has different random-access behavior from a token history. The global layers are part of the architecture’s retrieval mechanism, not redundant storage to discard during deployment.

K3.1-Pro changes the 24 global layers from gated MLA to gated DSA. Its November 2026 model card reports approximately 2.8T total and 104B active parameters, 896 routed experts with 16 selected, two shared experts, and a 3,584-wide latent expert representation. The configuration lists 32 index heads of dimension 128, top-k 2,048, independent indexers at frequency one, and no positional encoding in the index.

Public K3.1 evidence is a model card, configuration, and implementation work, not a full architecture report. It does not supply a unified cache precision or an aggregate byte count covering recurrent, global, index, and residual state. The K3 report supports the recurrence and checkpoint mechanisms below; K3.1’s changed global layers cannot inherit a derived K3 cache ratio. The gated-DSA implementation also differs from V4.1’s Full, Reindex, and Reuse roles.

K3’s Attention Residuals (AttnRes) belong to depth rather than time. A layer attends over representations from earlier depth blocks with a learned pseudo-query. Eight 12-layer blocks, plus the embedding source, bound the live representations that pipeline stages exchange. Sequence parallelism avoids copying every block representation to every prefill rank, and fused merge work reduces decode transfers. These buffers are active-computation state, not another million-token cache.

Prefix restoration must align KDA checkpoints with the global-attention history. Saving a full recurrent matrix at every token boundary would produce excessive writes. Saving only at large physical-block boundaries would make prefix matching coarse. K3 instead allows physical blocks of 1,024–6,144 tokens while using finer hash endpoints such as 512 tokens.

A 6,144-token block can contain twelve 512-token hash blocks. A later request can match at 2,560 tokens, or five hash blocks, restore compatible recurrent checkpoints, copy the partially filled MLA block privately, and resume from that boundary. Shared checkpoints become read-only, and sibling cache groups are pinned or invalidated together. Local memory helps only if the allocator preserves this common logical snapshot.

Speculative decoding creates a related rollback problem. A rejected draft suffix has already advanced a recurrent state in place; truncating KV does not undo it. Saving complete recurrent matrices for every draft position would create many large state transfers. K3 retains the smaller projected draft inputs, reconstructs accepted states near compute, and writes back only the verified boundary. Draft verification, the bonus token, and the next draft step can then share fused execution.

This is a strong use for fast local memory: keep mutable recurrent tiles and projected rollback operands close to their consumers. It does not remove the larger persistent checkpoint at a conversation boundary or the global cache. Storage saved by recomputation still has to fit within the step’s latency budget.

Sources: Kimi K3 technical report (revised 7 August 2026), K3.1-Pro model card, and pinned configuration (5 November 2026). The latter two establish configuration details, not a complete K3.1 architecture history.

Conditional memory makes cheap capacity useful

Engram is a third kind of sparsity. MoE selects a computation path; sparse attention selects request history; Engram retrieves trained parameter embeddings. It hashes short token N-grams into tables and gates the retrieved representation using the current hidden state. This supplies learned local patterns and associations, not an episodic record of what happened earlier in a conversation.

V4.1 places 196B Engram parameters in two modules at layers 1 and 14 (zero-indexed), split evenly between them. Each uses N-gram orders two, three, and four, eight hash heads, and an embedding dimension of 2,048 per order. The tables and key/value projections use FP8 in the report. These parameters are outside the 890-byte global-KV category and outside the backbone’s 552B count.

Lookup addresses are deterministic once the token suffix is known. They can be computed before the hidden-state gate is ready, allowing host DRAM to supply selected rows through background remote direct memory access (RDMA) transfers while earlier layers execute. Only a small active set needs to arrive near the consuming layer. A large, cheaper memory tier can therefore be preferable to storing every training-learned embedding in expensive local SRAM.

The placement argument depends on lead time and locality. Early modules have less preceding computation in which to hide transfers. Many concurrent requests can scatter row reads, overload host links, or leave too few hot rows to cache. The report’s RL rollout configuration instead keeps tables in GPU memory to avoid host-memory pressure and fragmentation-related out-of-memory failures. Predictability makes prefetch possible; it does not guarantee that every transfer finishes for free.

The original Engram prototype provides bounded evidence for overlap. It used a 100B table in host DRAM on H800 hardware, 4B or 8B dense backbones, 512 sequences, and input lengths uniformly drawn from 100 to 1,024 tokens. Throughput fell from 9,031.62 to 8,858.28 tokens/s on the 4B backbone and from 6,315.52 to 6,140.02 on the 8B backbone. The larger reduction is below 2.8% under forced host retrieval.

That experiment isolates table access with small dense models at a large sequence count. It is not a production V4.1 measurement with MoE routing, sparse history, agent prefixes, or low batch. The useful conclusion is narrower and more important: deterministic addresses can turn model capacity into a prefetch and placement problem. A fast tier should hold the active rows and their consumers, while the larger tier stores the full table.

Sources: Conditional Memory via Scalable Lookup (revised 12 July 2026) and DeepSeek V4.1-Flash (September 2026). The host-offload numbers belong to the original prototype, not the combined production architecture.

Optimize persistent execution before buying new memory

An installed GPU fleet already has HBM, caches, registers, peer links, and asynchronous copy engines. Persistent runtimes use those resources to reduce launch gaps, whole-operator waits, redundant intermediate traffic, and idle memory links. They are the right counterfactual to a specialized accelerator because they reveal how much latency comes from execution structure rather than compulsory state movement.

“Persistent” describes the lifetime of workers or captured execution, not necessarily the location of the model. A scheduler can stay resident while weights and history stream from HBM. Derived routing tables, mailboxes, cache pools, and scratch allocations can also outlive one operator. Those allocations consume memory that could otherwise hold request state.

Dependency handling is the key constraint. Programmatic Dependent Launch (PDL) lets a successor begin immutable weight loads, tensor-map preparation, and other independent prologue work early. It must still wait before consuming activations produced by its predecessor. Fine-grained scheduling shortens the wait; it cannot make an input available before the producer publishes it.

MPK turns kernel boundaries into task dependencies

Mirage Persistent Kernel (MPK) compiles an iteration into streaming-multiprocessor tasks connected by producer/consumer events. Persistent workers dequeue ready tasks while scheduler warps coordinate execution. Independent communication and computation can overlap without waiting for every block of an operator to finish. The result is a software dataflow graph running on conventional GPUs.

The workers still fetch task descriptors and tensors from device memory. They stage tensor tiles in 32 KB shared-memory pages, with five pages per SM on A100 and seven on H100 and B200. Releasing a page permits another task’s prefetch, while the releasing task cannot acquire another. Register allocation must accommodate the worst task, and four SMs are reserved for scheduling on each tested GPU generation.

Across five BF16 models and A100, H100, and B200 GPUs, MPK reports 1.0–1.7× batch-one improvement over SGLang and vLLM. Its offline workload uses 64-token prompts, 1,024 outputs, and batches from one to sixteen. The mechanism and measured iteration gains are useful; the small-model, short-prompt setup does not establish long-context agent goodput.

Correctness also needs a memory-visibility contract. K3’s fused speculative path keeps projected inputs, recurrent reconstruction, and state commit in one coordinated sequence. In expert kernels, release/acquire ordering and proxy fences make intermediate tiles visible to consumers in other cooperative thread arrays. Without those rules, a fast consumer can read stale activations or an outdated recurrent boundary.

vLLM and SGLang specialize the profitable paths

The October vLLM K3 result comes from a collection of tuned kernels. It cuts a layer trace from 23 launches and 130 microseconds to 13 launches and 69 microseconds on GB300. Router scoring and latent projections are sharded rather than repeated on each tensor-parallel rank. Attention projection feeds reduction and residual processing directly, while a side stream prefetches immutable next weights during communication.

At batch one, the K3 report gives 193.3 tokens/s for the TP8 group, a 1.58× gain over stock, and 256.4 for TP16, or 1.88×. At batch 64, the gains narrow as the stock baseline obtains more arithmetic reuse. A separate DSpark measurement uses seven drafts with synthetic acceptance six. Its AgentX comparison uses sixteen optimized GB300s against eight baseline GPUs, so it is not a same-resources software result.

SGLang’s sgl-nvidia-mega package prepares model-specific forward steps at load time, before the main engine sizes its KV cache. Typed views expose the approved cache pools, write slots, and request metadata to captured kernels. Mailboxes and PDL coordinate projection, attention, experts, and reductions. Unsupported shapes return to the ordinary forward path rather than stretching one compiled graph across every request.

The prepared approach trades cache capacity for execution efficiency. Derived weight copies, replicated tables, fixed peer buffers, mailbox state, and per-shape scratch can remain allocated even when a call falls back. DeepSeek V4.1 support targets four GB300s or B300s in the reviewed configuration; K3’s adapter targets eight GB300s and the older KDA/MLA organization. Both are explicit shape and model contracts, not general support for later model revisions.

Loaded model files do not by themselves qualify K3.1 serving. vLLM #66030, merged 6 November 2026, added model files. Required serving and cache work remained in vLLM #66037, opened 6 November and still open when reviewed on 8 November. Its validation uses two-node TP8 on two four-GPU B300 nodes, an eight-layer dummy, and 2,048 generated tokens without a real-checkpoint accuracy claim.

The earlier K3 layer rates and throughput gains therefore stay with K3. Current vLLM has separate K3.1 DSA/KDA providers and prepared projections, but their row-count and numerical constraints remain part of an unfinished serving qualification. The useful engineering evidence is the preparation and dependency structure, not an inherited model-wide speedup.

Sources: MPK (revised 10 June 2026); vLLM’s K3 engineering report and implementation #61867 (16 October 2026); SGLang and sgl-nvidia-mega pinned revisions reviewed 8 November 2026.

K3.1 has a separate persistent MoE kernel in SGLang

A separate SGLang path specializes K3.1 expert computation. It consumes routing selections, builds token/expert tables, then executes FC1, SiTU activation, MXFP8 requantization, and FC2. Persistent cooperative thread arrays claim work from global queues. A virtual expert’s FC2 waits for all six FC1 tiles, and release/acquire semantics make the intermediate visible across CTAs.

The guard supports SM100/SM103, 896 local experts per TP rank, hidden width 3,584, 384 intermediate shard channels, top 16, prepared MXFP4 weights, MXFP8 activations, and no expert bias. It accepts at most 256 token rows; other shapes fall back to FlashInfer. SGLANG_K31_DECODE_MOE is opt-in and defaults off. Selected expert weights still move from HBM through a five-stage shared-memory pipeline.

A routing integration detail is correctness-critical. Another fused router can publish plain token IDs, while this kernel expects packed expert IDs and BF16 weights and derives routes from that packed handoff. The current guard preserves the expected representation for eligible MoE layers. A scheduling optimization that silently changes the routing format would read the wrong experts.

On B300 with real routing, cold L2, and CUDA graphs, the patch reports 18–24% faster MoE execution for immediate finalization at 96–240 token rows and 12–28% for deferred finalization at 30–186. Numerical tests use random MXFP4 tensors against an fp64 reference and show roughly 1.1e-3 mean relative error, close to FlashInfer. Graph-replay tests exercise repeated state reset; the headline remains a measured expert-operation result, not whole-model K3.1 serving.

Source: SGLang #48638, opened 5 November and merged 7 November 2026. The reviewed patch includes the routing handoff, supported-shape guards, device code, and replay tests.

TileRT exposes the remaining HBM and session costs

TileRT divides work into tiles and schedules computation, transfers, and peer communication inside a persistent engine. Consumers can use completed portions of a producer’s output, and copy warps can fetch weights while other warps compute. Its TP8 reduction pushes partial results into symmetric buffers on every peer, then performs an ordered local reduction. That spends more peer traffic to shorten protocol rounds on latency-sensitive collectives.

The GLM-5.2 path uses eight MI350X or MI355X GPUs and prepares weight shards, rank workspaces, peer pointers, and caches before generation. The host wrapper documents these allocations, while the native engine is supplied as a binary. Nothing in the prepared execution makes the full model resident in local SRAM. HBM still holds the working weights and the searchable history.

GLM’s allocation makes the difference between logical cache size and physical placement concrete. Each of 78 layers retains a 512-wide latent and a 64-wide rotary component. At BF16, the per-rank history is 78 × (512 + 64) × 2 = 89,856 bytes/token. One million tokens occupy 89.856 GB on each of eight ranks, or 718.848 GB across replicated device allocations.

Rank zero also owns the 21 full-index histories at 256 bytes per token, adding 5.376 GB. The no-MTP raw example therefore sums to 724.224 GB across eight ranks before weights, workspace, and allocator overhead. With MTP enabled, rank zero has a 22-index-entry case totaling 5.632 GB; other ranks own the corresponding additional KV/RoPE entries. Multiplying one extra index entry by all eight ranks would assign the wrong owner.

Temporary allocations matter too. This path reserves FP32 accumulators and logits, BF16 query tiles, sparse selections, peer buffers, and other work areas. The vLLM K3.1 path provides a related example: one FlashInfer latent scratch region allocates cap × 128 × 512 BF16 elements, or about 41.9 million decimal bytes at the 320-row cap. A smaller logical global cache can coexist with substantial physical scratch. The memory ledger must include allocation rules, replication, rank ownership, and speculative token rows.

The September GLM-5.2/5.3 development chart uses eight MI350X GPUs, FP8 weights, BF16 caches, one user, a one-million-token history, and 1K output. It reports 207 tokens/s without MTP and 425 with depth-three MTP at mean accepted length 3.2. Their inverses imply 4.83 ms per ordinary iteration and 7.53 ms per accepted-output-adjusted speculative round. A 1.56× longer round yields 2.05× output speed; acceptance supplies much of the benefit.

The November DeepSeek V4.1 AgentX replay uses a different model and system. Four MI355X GPUs provide vLLM prefill on one host, and eight provide TileRT decode on another eight-GPU host. Mooncake transfers prepared prompt state between roles. Twelve accelerators are active out of sixteen installed slots. Both pools expose a 1,048,576-token context without host KV offload.

The replay contains 506 successful profiled requests. Mean input is 239,776 tokens, P90 is 566,229, and the maximum is 682,894; configured capacity is not the actual request distribution. A 97.71% GPU prefix-hit rate reflects repeated conversation state across agent turns. Tool calls, prefill, transfer, and dependency gaps separate decode-only activity from the one-hour complete session.

Precision remains component-specific. Routed experts use FP4 in this deployment, global KV is stored as FP4 E2M1 with E4M3 scales per 16 channels, local-window KV uses FP8 with 32-channel scales, and hidden state remains BF16. Every expert is sharded across TP8 with 288 intermediate columns per rank. Accumulator and normalization buffers retain higher precision. The prepared layout reduces avoidable transfers but does not alter the model’s capacity requirement.

The TileRT harness computes a scalar mean inter-token latency for each request, then derives a percentile and reciprocal. The current dashboard prefers full-response ITL: full decode duration divided by output tokens after the first token. This is not a device-timer percentile over every individual token. Approximately 1,333 active-decode tokens/s/user, 287.055 normalized end-to-end tokens/s/user, and 218.763 complete-replay output tokens/s describe different windows rather than inconsistent measurements.

Speculation has its own evidence boundary. The replay runs DSpark with five drafts but sets TILERT_SIMULATE_ACC_LEN=3.51 and TILERT_SIMULATE_ACC_METHOD=match-expected. That accepted length includes the verification token and comes from a separate golden vLLM TP4 collector on B300 using SPEED-Bench coding prompts. It prescribes an acceptance convention for the comparison; it is not measured natural acceptance on AgentX.

The dashboard’s cost model charges twelve active GPUs at an assumed $1.50/GPU-hour. With total input-plus-output processing of 33,943.46 tokens/s, 33,943.46 / 12 × 3,600 / 1.50 yields about 6.79 million input-plus-output tokens per dollar. The numerator includes repeated prompt processing. At 218.763 output tokens/s, the same active-GPU assumption gives about 43,753 output tokens per dollar.

The power record is invalid, so this run supplies no measured joules per token. Its 2.09 kW per-active-GPU allowance belongs to the standardized ownership model and totals 25.08 kW for twelve GPUs. The calculation also leaves four installed slots unused by this endpoint; whether another workload can use them determines whether an operator should charge twelve active devices or all sixteen reserved slots.

The public reproduction boundary is similarly specific. The GLM source release is v0.1.6 from 24 September 2026, while the DeepSeek path uses the tilert==0.1.7.post2 wheel published 6 November. The latter requires TP8 and five drafts for this profile and rejects logprobs, penalties, and constrained grammar decoding. Persistent execution can be highly effective on installed GPUs while remaining model- and shape-specific.

Sources: TileRT v0.1.6 source and TileRT/AMD analysis (24 September 2026); TileRT 0.1.7.post2 (6 November); InferenceX recipe, run 42340993534 (7 November), and dashboard calculation model (8 November).

Physical placement follows the remaining dependencies

Once reuse and persistent execution are optimized, the remaining traffic determines whether specialized memory can help. A fast local tier is most useful for weights or state consumed next, not for a model’s entire nominal footprint. The hardware strategies below make different commitments about capacity, ownership, and communication.

Cerebras distributes weights and pipeline state

The 2024 WSE-3 places 900,000 small cores beside individually addressed local memories, totaling 44 GB of SRAM per wafer. Its 21 PB/s specification is the sum of nearby accesses, not a central shared port. Instructions, activations, and inter-core communication must coexist with weight fragments. This organization can feed low-reuse operations efficiently when the assignment fits.

Cerebras supports two distinct execution modes. MemoryX streams weights from external storage and discards them after use. A weight-resident inference pipeline keeps assigned layers on wafer and moves smaller activations between stages. Streaming avoids the full local-capacity requirement but pays external weight traffic. Residency exploits local reads but requires enough wafers for parameters, live microbatches, and request state.

A four-bit K3 capacity floor illustrates the allocation scale without proposing a deployment. Raw 2.8T parameters occupy 1.4 TB at four bits each. Perfect packing into 44 GB wafers requires at least 1,400 / 44 = 31.8, or 32 wafers, before scales, higher-precision components, instructions, workspace, activations, and request state. Filling pipeline stages with more concurrency consumes additional capacity on every affected stage.

The 2026 CS-4 uses three WSE-3T wafers at 44 GB and 43.2 PB/s each, according to the official datasheet. Their combined 132 GB is a sum of distributed wafer storage. Cerebras labels WSE-3T a new processor; SemiAnalysis describes higher-clock WSE-3 silicon with more power and cooling. Both report the same 5 nm process, area, transistor/core counts, and SRAM capacity. The reviewed public evidence does not resolve mask-level differences.

The capacity conclusion does not depend on that naming dispute: local SRAM remains 44 GB per wafer. SemiAnalysis reports a 125–135 kW CS-4 TDP and models nearly 4,000 tokens/s/user, with about twenty wafer systems for one V4 Pro million-token operating point and roughly forty at 256 concurrent requests. Those are projections with commercial and placement assumptions, not a measured general deployment or a bandwidth-derived token rate.

Sources: Cerebras WSE-3 architecture and datasheet; CS-4 / WSE-3T datasheet; SemiAnalysis CS-4 analysis (19 August 2026). The K3 wafer count is an independent raw-capacity floor.

LPX places expert work across an engine boundary

The Groq 3 LP30 supplies 500 MB of compiler-managed SRAM and 150 TB/s of local bandwidth per LPU. An LPX rack has sixteen trays of 2U height, each with sixteen LPUs: 256 LPUs and 128 GB aggregate SRAM. NVIDIA separately specifies 12 TB DDR5 per rack through fabric- and host-attached paths. These capacities do not establish a uniform memory pool or a DRAM bandwidth value.

The compiler places weights, state, and explicit transfers among matrix, vector, movement, and memory units. Static scheduling can remove cache unpredictability, but dynamic routes and changing request shapes still have to fit the compiled placement. Fast local SRAM becomes one tier alongside fabric DRAM, host DRAM, and GPU HBM rather than a replacement for all three.

In Rubin’s attention–FFN disaggregation (AFD), GPUs perform prefill, build and retain KV, and run long-context decode attention. LPUs handle feed-forward and expert work, with optional draft generation. Activations and expert dispatches travel from GPU to LPU and back repeatedly within decode. Attention-owned KV remains on the GPU side, so the payload differs from copying an entire prompt cache to expert workers.

This split gives capacity-rich GPUs the stateful work and SRAM-rich LPUs the experts, but it adds a dependency to every decode layer. A utilization analysis must follow the whole attention–FFN–attention loop, including dispatch/combine time and idle periods when the engines’ work is unbalanced. The advertised rack-local bandwidth cannot answer that schedule on its own.

NVIDIA’s Vera Rubin platform announcement is dated 16 March 2026. Chip manufacturing status is separate from endpoint availability and benchmark validation. NVIDIA, Nebius, and Artificial Analysis cite 3,400 output tokens/s for one Gemma 4 31B request with 100K context, but the reviewed public material does not provide the allocation and matched AFD method needed to turn that endpoint result into rack economics.

Sources: NVIDIA Groq 3 LPX specifications and architecture deep dive (16 March 2026). The historical 2024 Mixtral deployment used a different 230 MB chip and is not an LPX cost model.

SN50 fuses intermediates instead of storing the model in SRAM

SN50 gives each RDU 432 MB of distributed SRAM and 64 GB of HBM2E. Its dataflow pipeline can keep a producer’s intermediate on chip for the next operation rather than write it to HBM between kernels. Active weights and hot KV still occupy HBM; DDR5 supports colder model and prompt state. Fusion reduces intermediate traffic while the hierarchy supplies the larger footprint.

The public performance evidence covers different units. A measured on-silicon tensor-parallel GEMM reached at least 70% of declared TFLOPS at 8, 16, and 32 sockets. DeepSeek-R1 serving values are modeled, not measured. MiniMax demonstrations combine four H200 prefill GPUs with a sixteen-RDU decode rack, with subsequent reports of single-rack and two-replica decode operating points. Those results cannot be collapsed into one SN50 scaling curve.

The architectural lesson is enough for this comparison: local memory can capture short-lived producer/consumer tiles without holding all parameters or million-token histories. SambaNova’s claimed 20 kW average for a sixteen-RDU rack does not include the separate prefill GPUs in that demonstration, and the published capacity specifications do not yield a whole-system energy measurement.

Sources: SN50 datasheet; Hot Chips architecture disclosure (2 September 2026); MiniMax demonstration (8 July 2026).

Jalapeño keeps general-purpose behavior near HBM

Jalapeño partitions compute beside HBM slices and adds a separate collective network, out-of-order scalar units, L1 caches, prefetching, and general vector instructions alongside its matrix engine. The design seeks locality without requiring every tensor to have an explicit permanent SRAM address. Effective placement still matters, but software can retain more familiar execution and fallback behavior.

Reported B0 specifications include 15.4 TB/s of HBM4 bandwidth per package, 13.4 PFLOPS of MXFP4, and 700 W TDP. Public HBM capacity is undisclosed. A broader reported production system has roughly 130 kW for the ASIC rack and 31 kW for its host rack. Comparing package TDP with another platform’s rack power would change the resource boundary.

Public performance results use A0 engineering silicon, single-token prediction, and single-turn nominal 8K-input/1K-output InferenceX workloads. OpenAI supplied the results, and SemiAnalysis observed selected runs. At concurrency one, DeepSeek R1 exceeds 700 output tokens/s/user and Kimi K2.5 approaches it under those conditions. B0’s projected efficiency gain and the possibility of a future production fleet are separate evidence categories.

OpenAI reportedly keeps prefill and decode on a shared fleet because their ideal resource ratio varies with context, cache hits, concurrency, and speculative behavior. The choice protects flexibility but retains phase interference. Dedicated pools can instead specialize parallelism and memory at the price of duplicated resources and a state-transfer path.

Source: SemiAnalysis’s Jalapeño analysis (25 August 2026), including its public methodology. The results are vendor-supplied A0 measurements with selected observation, not an independent B0 production retest.

Utilization decides whether specialization pays

A memory placement is useful when it improves completed work at the required latency, quality, and resource boundary. That evaluation begins with prefix locality and measured reuse on installed hardware. Next come precision-aware layouts, captured or persistent execution, and placement of hot state. Only then can an operator tell whether compulsory weight and state traffic justifies specialized memory.

Disaggregation changes utilization rather than guaranteeing it. Prefill/decode disaggregation (PDD) hands prompt KV from one phase pool to another, normally at a phase boundary or matched stage. AFD repeatedly transfers activation and dispatch data within decode while attention retains the cache. PDD lets two phases use different batching and parallelism; AFD lets attention and expert engines specialize within a token.

Either partition can strand hardware when the workload mix changes. A shared fleet keeps allocation flexible but can suffer prefill/decode interference. Dedicated pools fit a stable, large workload more easily because both sides have enough work and the state-transfer path is amortized. The correct comparison includes both pools, any duplicated weights, and their actual idle time.

FastAFD, published 4 November 2026, supplies a useful controlled example on one GB200 NVL72 rack. It compares against tuned vLLM wide expert parallelism across MiniMax-M2.5, Qwen3-235B-A22B, and Qwen3.5-397B-A17B at 4K, 8K, and 16K prompts. Throughput per installed GPU ranges from approximately 1.0× to 1.17× for standard decode in the tested configurations, including one near-parity regression.

Its accounting includes the token-producing share of all installed GPUs and overlaps two microbatches. Persistent grouped-GEMM kernels, NVLink buffers, and asynchronous coordination contribute to the result. The comparison matters because the tuned wide-EP baseline is strong: choosing a weak single-node baseline would make the same architecture look much better. An attention-only gain omits the FFN resources and cannot stand in for the whole-system rate.

FastAFD does not benchmark LPX. Its hypothetical zero-FFN-cost ceilings are models, not remote-SRAM measurements, and its speculative tests use prescribed acceptance. The useful lesson is methodological: compare against a matched alternative and charge installed resources before claiming a systems advantage.

Measure goodput, not accelerator activity

Fix the checkpoint, model quality, precision for each tensor class, input/output distribution, actual prefix reuse, speculative acceptance, and concurrency. Record time to first token (TTFT), time per output token (TPOT), and their target percentiles. Goodput is useful completed work that satisfies those conditions, not every token or verification row produced while the hardware is active.

The primary comparison should show successful output tokens or completed sessions per reserved system-hour and per utility watt, at explicit TTFT, TPOT, concurrency, and quality conditions. Count prefill and decode accelerators, hosts, switching, storage, and capacity reserved for the service. A fast decode engine may be economically sensible for premium interactivity even at low occupancy, but that value must come from demand for the service tier.

Power needs the same boundary. Package TDP, active-board power, an accelerator rack, and utility power including hosts and cooling are not interchangeable. At a genuinely consistent boundary, tokens/s per watt is tokens per joule; the dimensional identity does not turn a TDP assumption into measured energy. Revenue additionally requires pricing, utilization, and demand, so a projected token price cannot be treated as realized system revenue.

Four practical tests close the decision. Vary selected sparse reads while holding retained allocation fixed, then allow the intended eviction and reconstruction policy. Replay real expert routes at target concurrency and record distinct experts, bytes by tier, and exposed dispatch time. Compare host-prefetched conditional rows against local residency at low and high batch. Finally, hold hardware and acceptance fixed while changing conventional, captured, and persistent execution to isolate scheduling gains.

The result will often be a mixed hierarchy. Hot weights and selected history benefit from local bandwidth. Full expert pools and deterministic lookup tables benefit from cheap capacity and early prefetch. Later-turn prefixes trade retained bytes against reconstruction. Persistent runtimes hide some of the remaining delays, and specialized memory becomes attractive only when the tuned installed system still exposes enough compulsory traffic to repay its reservation.

That is the memory architecture of fast inference: assign each state a lifetime and an owner, place it where its next consumer can reach it, and evaluate the whole service rather than an isolated bandwidth peak.

Sources

Primary material was reviewed through 8 November 2026. Specifications, model results, vendor-attributed observations, independent experiments, and the article’s arithmetic remain identified by their measurement scope. Paid SemiAnalysis sections were not used. No accelerator benchmark was rerun locally.