The wait between asking and getting
Latency is the delay between asking for something and getting the response. Click a link, and latency is the time until the page starts to appear. Ask an AI assistant a question, and it is the time until the first words of the answer show up. It is usually measured in milliseconds, thousandths of a second, because people notice even small delays.
Latency is not the same as how much work a system can handle, which is called throughput. A motorway can carry many cars an hour, which is high throughput, and still take you a long time to cross town if the route is long, which is high latency. Both matter, but for the person waiting at the screen, latency is what decides whether something feels quick or sluggish.
Why a few hundred milliseconds matter
People are impatient with machines in a very consistent way. A response that comes almost instantly feels like part of the action. A short pause is noticed but accepted. A longer wait breaks the flow, and people start wondering whether something is wrong, clicking again or leaving.
This has direct business effects. Slow web pages lose visitors before they have read anything, and slow checkouts lose orders. For voice assistants and phone bots, the effect is even stronger. In a spoken conversation, a gap of a couple of seconds feels like the line has dropped, even if the answer that follows is perfect.
Search engines care too. Google measures how quickly real visitors see and can use pages, in a set of measures it calls Core Web Vitals, and uses page experience as one of many signals when ranking results.
Where the delay comes from
Every response passes through several steps, and each adds some latency.
The request has to travel. Data moves fast, but a trip across a continent and back still takes noticeable time, and every extra hop between networks adds more.
It may have to wait. A busy server handles requests in turn, so at peak times your request queues behind others.
It has to be processed. A simple web page is quick to build. A page that runs many database lookups, or a large image that has to be loaded, takes longer.
For AI tools, processing usually dominates. The model reads your prompt and then writes the answer one small piece at a time, called tokens, with a full round of computing for each. Longer prompts take longer to read. Longer answers take longer to write. Larger models and reasoning models, which work through a problem before answering, do more work per token.
Making AI feel fast
The most effective trick is streaming: showing the answer as it is written, word by word, instead of waiting for the whole text. The total time is the same, but people start reading within a fraction of a second, so the wait feels much shorter. Most chat assistants work this way.
Beyond that, the choice of model matters most. Smaller models answer much faster and handle many everyday tasks well, such as short replies, sorting and extracting data. Reserve the large or reasoning models for the questions that need them.
Shorter prompts help, since there is less to read. So does reusing work: answers to very common questions can be saved and shown instantly, and many providers cache a fixed opening part of a prompt so it is not processed from scratch each time. Finally, running the AI service in a data center near your users removes some of the travel time.
Making websites fast
For websites, the biggest gains usually come from a few well-known steps. A content delivery network, or CDN, keeps copies of your pages and images on servers around the world, so visitors fetch them from nearby instead of from one distant server. Images compressed to a sensible size, and in modern formats, load far faster than large originals. Less code, especially fewer heavy scripts from trackers, chat widgets and plugins, means the browser has less to download and run before the page is usable.
Measurement should come before fixing. Google's free PageSpeed Insights tool tests a page, shows how real visitors experience it where data is available, and lists the main problems in order of impact. Testing the pages that matter most, such as the home page, main service pages and contact page, on a phone connection gives a realistic picture.
What it means for a small business
For a small business, latency shows up in two places: the website and any AI tool facing customers. On the website, test the key pages with PageSpeed Insights, fix the top few items it lists, and recheck after every larger change, such as a new theme or plugin. Phone users on mobile connections are the ones who suffer most from a slow site.
For a chatbot or voice assistant, try it yourself as a customer would, on a phone, and notice how long the first words take. If it feels slow, check that streaming is on and whether a smaller model gives good enough answers. A quick, mostly right answer that invites a follow-up question often serves customers better than a perfect answer that arrives too late.
Sources: web.dev: Web Vitals, Google PageSpeed Insights