Time to first token measures the interval before the first generated token appears. Network time, the server queue, retrieval and processing the prompt can all contribute. After the first token, generation speed affects how long the rest takes.
A busy server
Requests may wait for a worker. Batching groups compatible work to improve use of the accelerator, while a request can wait longer depending on arrival and scheduling.
A long prompt
The runtime processes input before generating output. Prefix reuse can reduce that initial work if the system has compatible cached state.
A cold worker
If the model is not already loaded, a worker may fetch and load it first. Keeping more workers warm costs memory, machines and electricity even when traffic is low.
CTSS and shared compute · Fairchild and integrated circuits · Cloud economics · Model storage · Cache reuse