Ploba logo

Find the right AI tool for the job: apps, agents, APIs, MCP servers and datasets, explained plainly.

Get the AI Digest

Discover

  • Explore
  • Top Charts
  • Categories
  • Agents
  • MCP servers
  • Developer tools

Learn & community

  • Learn AI
  • AI Glossary
  • Blog
  • Hackathons
  • People
  • AI Digest

For makers

  • List your tool
  • Docs
  • Claim a listing
  • Advertise
  • Write for us

Company

  • About
  • Careers
  • Changelog
  • Trust
  • Security
  • Contact

© 2026 Ploba. All rights reserved.

  • Privacy
  • Terms
  • Cookies
  • Advertising
  • All policies
llms.txt
AI glossary
Development

Latency

Also called Time to first token, TTFT, Response time

How long an AI system takes to respond, often measured as time to the first token and then output speed in tokens per second.

What is latency?

Latency is the delay between sending a request to an AI model and getting the answer. For language models, it's usually described with two numbers:

  • Time to first token (TTFT): how long until the first word appears.
  • Output speed: how many tokens per second the model produces after that.

The total wait is roughly the first plus the length of the answer divided by the second.

How does it work?

Several things add to the delay: sending the request over the network, the model reading the whole input, waiting in a queue at busy times, and generating the answer one token at a time (inference). Longer prompts slow the first token; longer answers slow the finish. Reasoning models add thinking time before they reply, which can be seconds or minutes.

What is it commonly confused with?

  • Throughput. Throughput is how many requests or tokens a system handles overall. A system can serve many users at once and still feel slow to each of them.
  • Model quality. Faster isn't worse by default. Smaller models are often both quicker and good enough.

Why does it matter?

People notice delays quickly in chat, voice and autocomplete, so latency often matters as much as accuracy. Common ways to cut it: stream the answer so text appears as it's written, use a smaller model or route simple requests to one, ask for shorter answers, and reuse long, repeated prompt sections with prompt caching where the provider supports it.

Category
Development
Last reviewed
Nov 3, 2026
Also called
Time to first token, TTFT, Response time

Sources

  • OpenAI: Latency optimization
  • Artificial Analysis: Methodology

Related terms

  • Generative AIInferenceThe phase where a trained AI model processes new data to generate an output or prediction.
  • Generative AITokenThe basic unit of data—often a part of a word—that an AI model processes.
  • ModelsReasoning ModelAn AI model optimized to spend additional computation time generating intermediate steps before answering complex problems.
  • ModelsSmall Language ModelA compact version of a language model designed to run efficiently on devices with limited computational power.
  • DevelopmentAPI Rate LimitA cap on how many requests or tokens you can send to an AI API in a given time, set by the provider and usually raised as you spend more.
  • DevelopmentModel RoutingAutomatically sending each request to the AI model best suited to it, often a cheap, fast model for easy tasks and a stronger one for hard tasks.

Read more on Learn

All articles
  • Illustration of developer integrating API code on a computer screenRoundups · Mar 26, 202610 Best AI APIs for Developers in 2026Compare the best AI APIs for developers to integrate language models, image generation, and audio into your applications.
  • Code in glassmorphism style with interfaceRoundups · Jun 4, 20266 Best Local AI Tools You Can Run on Your ComputerRun AI on your own Mac or PC, offline and private. The best local AI tools for chat, documents and images, plus what hardware you need and how to start.