High-Speed Inference for Trillion-Parameter LLMs: Value and Evaluation Methods
This article explains how to evaluate speed claims for trillion-parameter language models. It covers what tokens per second (TPS) measures, why single-request speed differs from system throughput, and why total parameters do not equal per-step compute. It reviews common acceleration methods, including sparse activation, speculative decoding, low-precision computation, caching and scheduling, and operator and communication optimization. It closes with guidance on quality checks, tail latency, and cost per valid task.
1. Asking the Right Questions About High-Speed Inference
When a source reports that a trillion-parameter model generates over 1,000 tokens per second, two conclusions come easily: the model is very capable, and users hardly need to wait for answers.
From an engineering perspective, neither conclusion holds on the basis of parameter count and generation speed alone.
First, more parameters do not automatically produce better results on every task. Second, fast generation does not mean the entire request, from submission to completion, is fast. Third, even if a performance figure holds under certain test conditions, it does not follow that the figure can be reproduced directly in real business workloads.
Evaluating the high-speed inference capability of large models therefore requires answering four questions:
- What does the speed metric actually measure?
- Is output quality preserved during acceleration?
- Can high-speed performance be sustained under real concurrency and long-context conditions?
- Can faster generation translate into a better user experience and lower business costs?
This article discusses general technical issues. It does not treat unverified performance claims as established facts. The phrase “over 1,000 tokens per second” is best understood as a performance target that must be interpreted together with its test conditions.
2. What TPS Means: Not Simply Output Characters per Second
1. Tokens Are the Basic Unit of Text Processing
TPS usually refers to the number of tokens generated per second. A token is the basic processing unit that forms after a tokenizer splits text.
A token is not equivalent to a Chinese character, and it does not map to a fixed number of English words. One token may correspond to one character, part of a word, a punctuation mark, or a common character sequence, depending on the tokenization method and the text itself.
For example, natural language, program code, and numeric tables of the same length may produce different token counts. Therefore, “generating 1,000 tokens per second” cannot be directly converted into “generating 1,000 characters per second.”
Comparing a model to a typist can help beginners understand generation speed, but it cannot support strict speed conversions. Human writing also involves thinking, revising, and checking facts. Model generation metrics usually cover only a specific inference stage, so the two are measured on different bases.
2. Single-Request Speed and System Throughput Are Different Things
The most common misreading of high-speed inference is treating total system throughput as the generation speed each user experiences.
Suppose a service handles several requests at once, and all requests together produce 1,000 tokens per second. This does not mean that each request reaches that speed. Evaluation should distinguish at least three measures:
- Single-request generation speed: The average rate at which one request produces tokens during the output stage.
- System throughput: The total number of tokens the service generates for all requests per unit of time.
- Concurrent processing capacity: The number of simultaneously active requests the system can carry while meeting latency and quality requirements.
These three metrics affect one another, but none can replace the others. Increasing batch size may
