Published
17 Aug 2026
Evidence cut-off
17 Aug 2026
AI systems · Inference economics · World models

Optimizing AI systems from silicon to useful work

A system can generate more tokens and still create less value. The correct optimisation target combines task quality, latency, throughput, energy, cost, and reliability—then traces the bottleneck through model architecture, software, memory, interconnect, racks, and power.

2 phasesPrefill is usually compute-intensive; autoregressive decode is often limited by memory movement and communication.
3 clocksTime to first token, time per output token, and end-to-end task completion describe different user experiences.
671B / 37BDeepSeek-V3 discloses 671 billion total parameters with 37 billion activated per token.
150+DreamerV3 was evaluated across more than 150 tasks using a common configuration.

The thesis in four statements

AI efficiency is not a single hardware number. It is a chain of coupled design choices whose value depends on the workload and the economic cost of waiting, failing, or consuming scarce capacity.

1. Optimise outcomes

Tokens, FLOPs and accelerator utilisation are intermediate measures. The economically relevant numerator is a quality-adjusted completed task.

2. Choose a service point

Interactive coding, voice, and agents value latency. Offline indexing and document processing value aggregate throughput and low unit cost.

3. Co-design the stack

Model shape, precision, kernels, memory layout, parallelism, networking, cooling, and power must work together. Isolated improvements can cancel one another.

4. Re-benchmark continuously

Frameworks, kernels, drivers, quantisation, schedulers, and models change. A benchmark is a dated configuration—not a permanent property of a chip.

Useful cognitive work ÷ (pounds × joules × seconds × operational risk)

This is a decision framework, not a literal universal scalar. Each deployment must define “useful work,” acceptable quality, latency objectives, and failure costs.

The abstraction stack

Every layer shapes the feasible operating frontier. Optimisation works when the constraints are passed both downward—what the application needs—and upward—what the infrastructure can deliver.

Outcome & applicationDefines task success, acceptable latency, reliability and user value.Measure: value per completed task
Model & algorithmDense or sparse architecture, attention design, precision, routing and decoding method.Measure: quality per active operation
Runtime & kernelsBatching, scheduling, KV-cache management, compiler choices and fused operations.Measure: attained utilisation
Silicon & fabricCompute units, HBM capacity and bandwidth, scale-up links and scale-out networking.Measure: useful work per device-hour
Rack, power & economicsCooling, electrical delivery, uptime, capital cost, financing and contract structure.Measure: quality-adjusted work per MW and pound

Why multiplication is dangerous: several “2×” component gains do not automatically become a large system gain. Benefits overlap, depend on workload shape, and may require extra memory, engineering labour, lower quality, or lower concurrency.

Inference economics: two frontiers

The first chart shows the latency–throughput trade-off. The second applies the Roofline model: attainable performance rises with arithmetic intensity until peak compute becomes the limiting ceiling. Both are conceptual diagrams, not vendor benchmarks.

Throughput–interactivity frontier

Pareto-efficient configurations Dominated configurations
Illustrative throughput versus per-user interactivity frontier Aggregate token throughput rises as per-user speed falls. Efficient configurations form a downward-sloping frontier; dominated points provide less throughput at the same interactivity. Aggregate output throughput Illustrative tokens per second across all requests HighMediumLow LowMediumHighPer-user interactivity (tokens/s/user) → Large batch / offlineInteractiveUltra-low latency dominateddominated
How to read: moving right gives each user faster output but normally reduces the number of concurrent requests that one system can serve. A point below the frontier wastes capability because another tested configuration is better on both dimensions.

Roofline: where the bottleneck moves

Memory-bandwidth ceiling Compute ceiling
Conceptual Roofline model Attainable performance increases with operations per byte in the memory-bound region and flattens at the peak-compute ceiling. Attainable performance Conceptual operations per second; both axes shown as relative logarithmic scales LowMediumHighArithmetic intensity (operations per byte moved) → Performance → Memory-boundCompute-boundridge point single-request decodebatched decodelarge prefill matmul
How to read: batching can reuse weights across more tokens, increasing arithmetic intensity and moving decode toward better hardware utilisation. Once the compute ceiling is reached, more bandwidth alone no longer raises performance.

Prefill, decode, and service clocks

A credible benchmark separates prompt processing from output generation and reports the service constraint. “Tokens per second” without model, sequence lengths, concurrency, precision, quality, and hardware count is incomplete.

ElementWhat happensTypical constraintRelevant metricsCommon optimisationRisk if misread
PrefillProcesses the input tokens in parallel and creates the initial KV cache.Matrix compute, memory capacity, long-context attention.Time to first token; input tokens/s; request length.Chunked or disaggregated prefill, fused attention, quantisation.A fast decode number can hide slow prompt ingestion.
DecodeGenerates output autoregressively, usually one token per sequence per step.HBM bandwidth, KV-cache reads, communication and scheduler overhead.Time per output token; tokens/s/user; output throughput.Continuous batching, paged KV cache, speculative decoding, multi-token prediction.Maximum throughput may produce unacceptable per-user speed.
End-to-end serviceQueues, routes, retrieves context, calls tools and returns the completed task.Tail latency, network, model selection, retries and external services.p50/p95/p99 latency; task success; cost per successful task.Request routing, caching, cascades, parallel tools and workload shaping.Model-only tests omit the bottleneck users experience.

Shape, sparsity, and hardware affinity

“Shape” means the dimensions and organisation of tensor operations—not a visual outline. Those dimensions determine tiling efficiency, memory use, routing, and inter-chip communication.

Design variableWhy it mattersDense modelMixture-of-experts modelEvidence required
Matrix dimensions M × K × NDetermine tile occupancy, padding, kernel selection and arithmetic intensity.Usually regular and predictable.Expert matrices may be smaller or irregular.Kernel traces and achieved—not peak—throughput for the actual dimensions.
Active parametersDrive arithmetic and weight movement per token.Most layer parameters participate for each token.Only selected experts participate, while all experts still require storage.Published architecture plus measured memory and communication behaviour.
Expert count and routingAffects load balance, all-to-all communication and stragglers.Not applicable.Central systems constraint; uneven routes leave devices idle.Token-level expert distribution, tail load, placement and network topology.
Attention and KV cacheSets state retained per request and memory traffic during decode.Depends on head count, head dimension and attention variant.Same issue, combined with expert-routing traffic.Context length, concurrency, cache precision and eviction behaviour.
PrecisionLower-bit formats can reduce memory traffic and increase tensor throughput.Potentially simpler calibration.Expert and router sensitivity can differ.Quality-preservation tests on the target workload; not speed alone.

Validated example: the DeepSeek-V3 technical report discloses 671 billion total parameters, 37 billion activated per token, Multi-head Latent Attention, an auxiliary-loss-free load-balancing strategy, and a multi-token prediction objective. Claims about the undisclosed internal shapes or sparsity of closed frontier models remain unverified unless their developers publish specifications or reproducible tests.

Optimisation levers and their hidden costs

No technique is universally beneficial. Each one targets a particular bottleneck and must be evaluated at an explicit quality and service level.

Model and algorithm

Levers
Distillation, sparse experts, latent attention, quantisation, multi-token prediction, speculative decoding and cascades.
Potential gain
Less active compute, less memory traffic, fewer sequential decode steps or better quality at a fixed budget.
Hidden cost
Calibration error, rejected drafts, quality loss, routing overhead, extra training complexity or hardware-specific affinity.

Runtime and scheduling

Levers
Continuous batching, paged KV cache, prefix caching, chunked prefill, disaggregated serving and request routing.
Potential gain
Higher utilisation, lower fragmentation, better tail latency and different hardware for prefill versus decode.
Hidden cost
Queueing, operational complexity, network traffic, cache invalidation and failure recovery across more components.

Hardware and facility

Levers
Accelerator choice, HBM, scale-up fabric, scale-out network, power density, liquid cooling and geographic placement.
Potential gain
More usable bandwidth, larger models per node, lower communication time and more work per provisioned megawatt.
Hidden cost
Vendor lock-in, stranded capacity, utilisation risk, long lead times, power constraints and financing exposure.

World models: optimisation through imagined experience

System optimisation is not only about making inference cheaper. A learned dynamics model can reduce the amount of expensive real-world interaction needed to improve behaviour—provided its errors are controlled.

ObserveCollect sensory states, actions, outcomes and rewards from the real or simulated environment.
→
Learn dynamicsEncode a state and predict how actions change task-relevant latent variables.
→
Imagine & planRoll forward possible actions, estimate value, choose a policy, then re-observe and correct.
Sample efficiency = improvement in useful behaviour ÷ new real interaction
ApproachWhat is modelledHow it improves efficiencyPrincipal limitationValidated example
Classical model predictive controlKnown or estimated physical dynamics and constraints.Plans over a horizon and repeatedly corrects with new observations.Model mismatch, non-linearity, uncertainty and optimisation latency.Industrial process control, robotics and trajectory planning.
Learned latent world modelCompressed predictive state, reward and continuation.Trains behaviour using imagined rollouts rather than only fresh environment interaction.Compounding error and policies that exploit simulator defects.DreamerV3 across more than 150 tasks.
Decision-relevant modelOnly latent features needed for value, policy and reward prediction.Avoids reconstructing irrelevant visual detail.May omit features that become important off-distribution.MuZero in games and Atari.

Qualification: a world model does not eliminate data. It replaces some trial-and-error interaction with structure and reusable prediction. State estimation, calibration, model updates, and real-world validation remain necessary.

Claim validation matrix

The originating discussion is strongest on systems co-design and inference trade-offs. Large macro forecasts and claims about undisclosed model internals require a higher evidentiary bar.

PropositionAssessmentEvidence-based interpretationWhat would strengthen it
Hardware–software–model co-design can create multiplicative gains.SupportedKernel fusion, quantisation, attention design, batching and topology-aware parallelism interact materially. The final gain remains workload-specific.Same-model, same-quality, same-service-level before/after measurements.
The throughput–interactivity curve is central to inference economics.SupportedMLPerf separates offline throughput from server latency constraints; live benchmarking projects sweep configurations to expose Pareto frontiers.Cost, power and tail-latency curves for the target workload.
Decode is generally memory-bandwidth intensive.SupportedAutoregressive decoding performs limited work per weight and KV-cache byte at low concurrency; batching raises arithmetic intensity.Roofline and profiler data for the exact model, precision and batch.
Several 2× improvements imply a 100× total gain.IllustrativeMultiplicative gains are possible, but interactions, overlap and new bottlenecks mean the arithmetic is not a general rule.End-to-end ablations that isolate each contribution and preserve output quality.
Closed frontier models have known relative sparsity.UnverifiedComplete architecture details are not publicly disclosed. Industry estimates may be informed but should not be reported as established fact.Developer specifications or independently reproducible architecture evidence.
AI inference will exceed oil or represent several GDP points.ForecastThis is a high-conviction market hypothesis, not a validated present fact. Definitions of inference revenue and AI-enabled value also differ.A transparent adoption, price, workload, power, productivity and double-counting model.
World models can improve sample efficiency.SupportedDreamerV3 and MuZero show that learned latent models can support planning and imagined learning across diverse benchmark domains.Transfer evidence in costly, partially observed real-world environments.

A reproducible benchmark protocol

The purpose of benchmarking is not to crown a permanent winner. It is to find the efficient operating region for a defined workload and to make the result reproducible.

Minimum experiment specification

  1. Freeze model, checkpoint, tokenizer, quality target and decoding policy.
  2. State input/output lengths and their distributions, not only averages.
  3. Report hardware count, topology, precision, framework, kernels and versions.
  4. Sweep concurrency and batching; do not compare one vendor’s optimum with another’s default.
  5. Measure TTFT, TPOT, throughput, p95/p99 latency, power and error rate.
  6. Calculate cost per successful task and per service-level-compliant request.
  7. Publish configuration and date; rerun after material software changes.

Decision questions

  • What user delay is economically acceptable?
  • Is the workload prompt-heavy, decode-heavy, tool-heavy or multimodal?
  • Does quality remain constant after quantisation or model substitution?
  • Does utilisation survive real traffic variability and tail latency?
  • Which bottleneck appears next if the present one is removed?
  • What is the value of optionality versus a hardware-specific optimisation?
  • How much engineering and operational complexity is being capitalised off-book?

Evidence base and further reading

Primary papers and benchmark documentation support the technical claims. The interview is retained as the originating discussion and is not treated as independent verification.

MLCommons · MLPerf Inference v5.0

Offline token throughput and server metrics including time to first token and time per output token.

MLPerf Inference submission guide

Scenario, accuracy, latency, compliance and reproducibility requirements.

DeepSeek-V3 Technical Report

Disclosed MoE architecture, active parameters, latent attention, load balancing and multi-token prediction.

Berkeley Lab · Roofline model

Arithmetic intensity, memory bandwidth, compute ceilings and bottleneck analysis.

Google Research · Speculative decoding

Parallel draft verification, identical output distributions under the stated method and reported workload-specific speed-ups.

vLLM documentation

Paged KV-cache management, continuous batching and serving-system implementation context.

DreamerV3 · Nature (2025)

World-model learning across more than 150 tasks with a common configuration and imagined rollouts.

Google DeepMind · MuZero

Decision-relevant latent dynamics and planning without a supplied rules model.

Ha & Schmidhuber · World Models

Compressed spatiotemporal representations and policies trained inside learned simulated trajectories.

InferenceX v2

Current practical examples of full Pareto curves, prefill/decode disaggregation and configuration-sensitive inference performance.

Sequoia Capital interview with Dylan Patel

Originating discussion for the co-design, throughput–interactivity and market-size hypotheses evaluated in this report.

Evidence cut-off: 17 August 2026. Vendor and benchmark results are configuration-specific. Revalidate current software versions, model checkpoints, hardware availability, costs and service requirements before making a technical or investment decision.

Bottom line

The best AI system is not the one with the highest advertised peak. It is the lowest-risk configuration on the quality–latency–throughput–cost frontier for the task that matters.

Optimisation should therefore proceed in this order: define useful work, set the service level, profile the bottleneck, co-design across layers, measure the end-to-end result, and repeat as the software stack changes.

General research and educational material. This report does not recommend a model vendor, semiconductor, cloud provider, or investment.