Inference
The time between sending a request and receiving the first output token.
The time between sending a request and receiving the first output token. It generally includes request queueing, the prefill pass over the prompt, and network latency, so long prompts and busy servers both push it up. TTFT is what makes an interface feel responsive, and it is measured separately from generation speed because a model can be slow to start and fast once it streams, or the reverse.
Primary source: docs.nvidia.com
Example
In practice, developers reach for Time to First Token (TTFT) when they need the capability described above as part of an AI feature or workflow.
Hands-on guides, comparisons, and tutorials that cover Inference.
FAQ
The time between sending a request and receiving the first output token.
Time to First Token (TTFT) sits in the Inference part of the AI stack. Understanding it helps you make better decisions when building, debugging, and shipping AI features.
Developers Digest publishes tutorials and videos that cover Inference topics including Time to First Token (TTFT). Check the blog and YouTube channel for hands-on walkthroughs.
Related
Two methods for controlling the randomness of model output during token generation.
The first phase of LLM inference, where the model processes the entire input prompt in parallel and builds the KV cache before producing any output.
A throughput measure of how many output tokens a model or serving system produces each second.

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.