Glossary term
What is latency (time to first token)?
How long a request takes; TTFT is the wait until the first token.
Definition
Latency is how long a request takes. For language models it is split into time to first token (TTFT), the wait before the first piece of the answer arrives, and the time to generate the rest, measured as tokens per second. TTFT is what a person waiting on a streamed answer notices most.
Why it matters
A model that is cheap but slow to start can feel broken in a chat app. Comparing TTFT and output speed, not only price, picks the right model for interactive work.
How it works on OceanToken
OceanToken's console Logs show each request's latency and first-token time as timed by the gateway, and the speed rankings compare models. Streaming and prompt caching both lower the wait you see.