[KongchangAI]
ConceptTime To First Token / 首个token生成时间

TTFT

A key user-experience metric in large language model inference, measuring the elapsed time from request submission to the appearance of the first output token. It is primarily determined by the prefill stage of inference.

Core Facts

Timeline (last 90 days)

Nov 20

Compared with existing exact caching schemes, FrontierReplay reduces median time to first token (TTFT) by 16% to 89%, reaching up to 8.9x speedup.

Unverified50%
Nov 18

Time to first token (TTFT) is mainly determined by prefill, and time per output token (TPOT) is mainly determined by decode; after disaggregation, the two can be optimized separately.

Unverified50%
Nov 17

The performance of an LLM inference engine is usually measured by core metrics such as first-token latency (TTFT), per-token output latency (TPOT), throughput (tokens/s) and VRAM/off-chip memory usage.

Unverified50%
Nov 16

If the prefill budget is too large, that decode step will time out on TBT; if too small, prefill advances slowly and TTFT degrades.

Unverified50%
Nov 16

Interactive LLM services have strict SLO requirements for time to first token (TTFT) and time between tokens (TBT).

Unverified50%
Nov 11

Given that the source cache is already ready, directly reusing the KV Cache brought a median 2.10 to 5.08 times speedup in time to first token (TTFT).

Unverified50%
Nov 9

RidgeFill's benefit becomes more pronounced as context lengthens, with the speedup ratio stable in the 16K to 120K range; it has limited significance for short requests and is better suited as a tiered strategy that enables fill for latency-sensitive, extremely long-context requests and falls back to exact computation for accuracy-sensitive tasks.

Unverified50%
Nov 7

The figure Buoyant gives in its own benchmark is that Kinference reduces median TTFT (time to first token) by 95%.

Expired50%
Nov 7

When evaluating TTFT improvement figures, one should focus on whether the baseline is random routing within the same cluster, whether the load includes a realistic multi-turn conversation distribution, and whether the full P50 and P99 quantiles are reported.

Unverified50%
Oct 30

CACPU optimizes the prefill stage, so its benefits are mainly reflected in TTFT, with limited impact on per-token decoding throughput.

Unverified50%

40 more timeline events

All Facts (20)

Verified

Time to First Token (TTFT) refers to the time interval between a user sending a request and the model outputting the first token, and is primarily constrained by the duration of the prefill stage.

90%
Verified

Time to First Token (TTFT) refers to the time interval between a user submitting a request and the model outputting the first token, and is primarily constrained by the time cost of the prefill phase in which the model processes the input prompt.

90%
Verified

Inference latency is typically decomposed into two core metrics: time to first token (TTFT) and subsequent token generation throughput.

90%
Verified

TPS measurement is typically divided into two phases: Time to First Token (TTFT) and the generation rate (throughput) of subsequent tokens.

85%
Verified

P/D Disaggregation (Prefill/Decode Disaggregation) deploys the Prefill and Decode stages on different nodes to independently scale according to their respective computational characteristics, while simultaneously optimizing throughput and time to first token (TTFT).

75%
Verified

TPS (Tokens Per Second) is the core metric for measuring the inference speed of large language models, specifically referring to the number of tokens the model outputs per second during the generation phase.

75%
Verified

Time to First Byte (TTFB) reflects the latency from when a request is sent to when the model returns the first token, encompassing network transmission, request queue waiting time, and model warm-up time.

75%
Verified

In digital human scenarios, the WebRTC end-to-end latency typically needs to be kept within 500 milliseconds to ensure a natural and smooth interactive experience.

75%
Verified

TTFT is determined by the Prefill phase and is compute-bound, while TPOT corresponds to the Decode phase and is memory-bandwidth-bound.

70%
Verified

The floating-point operation count of prefill grows approximately quadratically with input length, and is therefore the main source of TTFT (time to first token).

65%
Verified

Long context significantly raises time to first token, because prefill computation grows with input length; hitting the cache can skip most of the prefill and directly improve first-token latency.

65%
Verified

Large model inference is divided into two phases, Prefill and Decode; Prefill is a major component of Time to First Token (TTFT), while Decode corresponds to Time Per Output Token (TPOT).

65%
Verified

The prefill stage of LLM inference processes all input tokens in parallel and generates the initial KV Cache; it is a compute-intensive operation and the direct determinant of TTFT.

65%
Unverified

传统混合部署中Prefill阶段的大批量计算会阻塞Decode阶段的token生成,导致TTFT波动剧烈

85%
Unverified

PD分离架构通过物理隔离消除Prefill对Decode的干扰,显著改善TTFT的P99延迟

85%
Unverified

Higher memory bandwidth means lower time to first token (TTFT) and higher tokens per second (TPS) generation.

70%
Unverified

TTFT (time-to-first-token) is a core metric for measuring the experience of interactive applications.

70%
Unverified

TTFT (time to first token) is mainly determined by the prompt processing (prefill) stage and is approximately linearly correlated with the number of input tokens.

60%
Unverified

The prefill stage refers to the process in which the model processes the input prompt all at once; the computation is proportional to input length, and in long-document scenarios the time to first token (TTFT) is significantly prolonged.

60%
Unverified

At approximately 4K input, TTFT is 23.6 seconds with decoding at 46.6 tok/s; at 8K, 47 seconds and 41.4 tok/s; at 16K, 1 minute 30 seconds and 30.8 tok/s; at 30K, 3 minutes 15 seconds and 31.9 tok/s.

60%

Source Articles