Breaking the 1000 TPS Barrier in LLM Inference: FP4 Quantization, Speculative Decoding, and GPU Execution Restructuring

    This article explains how a model team and an inference systems team pushed a trillion-parameter LLM to 1000 TPS (peaking around 1200 TPS) on a standard 8-GPU node without custom silicon. It covers why autoregressive decoding leaves compute idle, how FP4 quantization applied selectively to MoE expert layers cuts memory traffic, how block-level masked parallel prediction raises average accepted tokens to 6–7 per round, and how restructuring GPU execution removes kernel-switching overhead. A practical checklist and common pitfalls are included for readers who want to reproduce the results.

    Introduction: From “Word by Word” to 1000 Tokens per Second

    In June 2026, a model team at a device vendor worked with an inference systems team to push text generation for a trillion-parameter model to 1000 TPS (tokens per second), with a peak of roughly 1200 TPS, on a standard 8-GPU general-purpose node. To put that in perspective: by the time you finish reading a short paragraph of about a hundred words, the model has already emitted several hundred tokens, and a thousand-word article completes in the span of a few blinks.

    No custom accelerator was designed and no hardware form factor was changed. The setup still used the general-purpose accelerator cards most commonly found in data centers. That turns the problem into a purely engineering one: under an existing compute budget, how do you raise utilization from single-digit percentages to near saturation?

    The industry answer combines three approaches: FP4 low-bit quantization designed for Mixture-of-Experts (MoE) architectures, efficient speculative decoding based on block-level masked parallel prediction, and a restructuring of the GPU execution architecture to eliminate operator-switching overhead. They map to “compute more cheaply,” “compute more per round,” and “compute more continuously.” Each is unpacked below.

    1. The Curse of Autoregression: Why Compute Sits Idle

    Mainstream LLMs are built on the Transformer architecture. During decoding, each step produces only one token, and the input for the next token depends on the output of the previous step, forming a strictly serial chain.

    Think of a GPU as a pipeline with thousands of workstations. The matrix multiplications in a single forward pass can indeed fill every station, but once the pass finishes, the whole line must stop and wait for the decision on “what the next word is” before the next round can start. Generating 1000 tokens means 1000 forward passes that cannot be merged, plus 1000 kernel launches, scheduling steps, and synchronizations.

    Take a common data center accelerator card as an example. Its thousands of compute cores can deliver hundreds of TFLOPS of floating-point throughput per second, yet in token-by-token decoding, with only one position processed per step and weight reads far exceeding actual computation (a typical memory-bound situation), most compute units sit waiting.

    The core conflict is not the absolute amount of compute but two things:

    • Serial dependency: the next step’s input must wait for the previous step’s result, so parallelism inside a single request cannot fill the gap.
    • Memory access and launch overhead: every step re-reads the massive weight set, and the fixed cost of launching dense small operators is amplified thousands of times.

    So there is only one direction for a breakthrough: make the model deliver multiple tokens at once, while pushing the cost of each delivery as low as possible.

    2. First Lever: FP4 Quantization, Applied Only to Expert Layers

    Trillion-parameter scale typically relies on an MoE architecture: each layer contains multiple expert networks, and each token activates only a few of them. This produces two characteristics — the total parameter count is enormous, but the parameters actually involved in computing a single token are only a subset.

    Low-bit quantization pays off twice: smaller weights directly reduce memory traffic, and since decoding is memory-bound, the throughput gain is significant; at the same time, lower memory footprint leaves room for larger batches and longer contexts.

    The key engineering judgment is “what to quantize.” Applying FP4 across an entire MoE model tends to introduce accuracy loss in sensitive modules such as attention, normalization, and routing gates. A safer approach is a differentiated policy:

    1. Expert layer FFN weights -> FP4 (block-level scaling factors, dequantized per block)
    2. Attention / gating -> keep high precision (e.g., FP8/BF16)
    3. Activations and residual path -> keep high precision to avoid error accumulating across layers

    Combined with per-block scaling factors and calibration before inference, this can capture memory and bandwidth gains with almost no loss in generation quality. It is worth stressing that quantization is not a free lunch with zero loss: it must be validated by before-and-after comparisons on your own team’s evaluation sets, watching for degradation in long-text consistency and instruction following.

    3. Second Lever: Speculative Decoding with Block-Level Masked Parallel Prediction

    This is the core of pushing throughput up by an order of magnitude.

    Conventional speculative decoding uses a small model or extra heads to guess several tokens first, then has the large model verify them all in parallel in one pass, accepting as many as match. Its pain point is that when draft quality is unstable, the accepted length is short, and the serial drafting itself takes time.

    Block-level masked parallel prediction takes a different approach: instead of guessing position by position in sequence, it treats several future positions as a single “block,” produces predictions for all of them at once in a masked parallel manner, and then has the target model verify them in parallel within one forward pass, confirming an average of 6–7 tokens per round. Related methods were published as papers by university labs in early 2026, and the gap from publication to industrial deployment was less than four months — a fairly aggressive pace.

    A simple model captures the benefit:

    1. Speedup ≈ average accepted length / (1 + draft and verification overhead factor)

    When the average accepted length rises from 1 to 6–7, end-to-end gains of several times remain even after accounting for the extra overhead. Three things need attention in engineering:

    • Acceptance rate stability: acceptance varies widely across tasks (code, math, open-ended conversation) and must be measured per scenario.
    • Balancing block length against overhead: too long a block lowers the acceptance rate and raises verification cost.
    • Coupling with batching: under high concurrency the verification batch alone can already saturate compute, so the marginal benefit of speculative decoding changes and needs a dynamic on/off switch.

    4. Third Lever: Restructuring the GPU Execution Architecture

    The first two levers optimize “how much work each round does”; the third addresses “whether rounds run continuously.”

    In a real inference service, one forward pass chains together a large number of small operators, each accompanied by launch, synchronization, and possible memory round trips. Each operator is on the order of microseconds, but multiplied by tens of thousands of calls and thousands of decoding rounds, it becomes a fixed cost that cannot be ignored.

    Common optimization techniques include operator fusion to reduce kernel count, making memory-bound stages persistent to reuse scheduling, pre-allocating memory and fixing shapes to avoid dynamic-allocation jitter, and folding sampling and post-processing into the main execution flow. The goal is to keep the GPU from stalling for as long as possible.

    A schematic comparison of the execution flow:

    1. Before: GEMM -> sync -> Norm -> sync -> routing -> sync -> sampling ...
    2. After: [fused block: GEMM+Norm+routing] -> [parallel verification block] -> [sampling] ...

    5. Stacking the Three: Why the Gains Multiply Rather Than Add

    The three levers act on different dimensions, so their benefits are roughly multiplicative: quantization lowers per-token memory traffic and memory pressure; speculative decoding raises per-round output from 1 to 6–7; execution restructuring compresses the gaps between rounds. Stacked together, they give a general-purpose 8-GPU node thousand-TPS-class capability.

    To reproduce a similar setup on a platform such as Baidu AI Cloud, the typical path is: bring up a multi-GPU inference cluster with a container platform, host weights and datasets in object storage, watch throughput, first-token latency, and memory水位 through monitoring and alerting, accumulate per-scenario acceptance-rate data with a logging service, and then tune parameters and dynamic switches accordingly.

    6. Practice Checklist and Common Pitfalls

    • Measure the baseline first: record single-request latency, concurrent throughput, and memory usage, then enable optimizations one at a time to avoid confused attribution of gains.
    • Evaluate quality per scenario: both quantization and speculative decoding can hurt long-chain reasoning, so always run regression on business datasets.
    • Watch first-token latency: high throughput does not equal a good interactive experience, and draft overhead can raise time to first token.
    • Re-test under high concurrency: the benefit of speculative decoding varies with batch size, so rely on load-test curves rather than a single data point.
    • Do not ignore operational cost: multi-GPU topology, memory fragmentation, and long-run stability all determine real-world availability.

    Conclusion

    1000 TPS is not the result of any single trick; it is the product of three threads: a cheaper representation, more output per round, and more continuous execution. For developers, the reusable methodology is to first identify whether the bottleneck is memory access, serialization, or scheduling, then pick the corresponding technique, and use rigorous per-scenario evaluation to hold the line on quality.