Time to first token (TTFT) measures the delay between submitting a prompt and seeing the model’s first output token. It captures the initial responsiveness of an inference service. section 4.2
TTFT belongs to a broader set of serving metrics:
- Time per output token (TPOT) measures generation time for each active user. section 4.2
- Latency covers the complete response and depends on TTFT and TPOT. section 4.2
- Throughput measures output tokens generated per second across users and requests. section 4.2
Production inference systems use TTFT alongside hardware utilization, throughput, and latency targets. Optimization and quantization can help meet these targets while reducing serving hardware requirements. section 4.2 section 4.4
