# Response Time Calculator for AI Models | hub.llmnet.nl

[Skip to content](#lm-inhoud)Network/[NL](/en/tool-latency-estimator)EN[Hubhub.llmnet.nlCompare models on task, language, cost and license.](https://hub.llmnet.nl/en/)[Communitycommunity.llmnet.nlPrompt techniques, patterns and system prompts.](https://community.llmnet.nl/en/)[APIapi.llmnet.nlLLMs in production: rate limits, routing, structured output.](https://api.llmnet.nl/en/)[Consultancyconsultancy.llmnet.nlRolling out AI in an organization, pilot to production.](https://consultancy.llmnet.nl/en/)[Newsnieuws.llmnet.nlAI developments, explained for the Netherlands.](https://nieuws.llmnet.nl/en/)[Benchmarkbenchmark.llmnet.nlMeasure AI quality yourself, on your own tasks.](https://benchmark.llmnet.nl/en/)[Careersvacatures.llmnet.nlAI roles, salaries and career paths in the Netherlands.](https://vacatures.llmnet.nl/en/)[Learnleren.llmnet.nlAI concepts in plain language, beginner to builder.](https://leren.llmnet.nl/en/)[Guidegids.llmnet.nlRun AI privately on your own Mac, PC, NAS or home server.](https://gids.llmnet.nl/en/)[Directorydirectory.llmnet.nlMapping the AI ecosystem: tools, models, companies.](https://directory.llmnet.nl/en/)[Radarradar.llmnet.nlSignals from X, research and communities for indie developers.](https://radar.llmnet.nl/en/)[Appsapps.llmnet.nlReviews of AI apps and open-source repos, with tips for builders.](https://apps.llmnet.nl/en/)[llmnet.nl — main site](https://llmnet.nl/en/)[](https://x.com/intent/post?url=https%3A%2F%2Fhub.llmnet.nl%2Fen%2Ftool-latency-estimator&text=Response%20Time%20Calculator%20for%20AI%20Models)[](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fhub.llmnet.nl%2Fen%2Ftool-latency-estimator)[](https://www.reddit.com/submit?url=https%3A%2F%2Fhub.llmnet.nl%2Fen%2Ftool-latency-estimator&title=Response%20Time%20Calculator%20for%20AI%20Models)[](#)[](https://x.com/intent/post?url=https%3A%2F%2Fhub.llmnet.nl%2Fen%2Ftool-latency-estimator&text=Response%20Time%20Calculator%20for%20AI%20Models)[](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fhub.llmnet.nl%2Fen%2Ftool-latency-estimator)[](https://www.reddit.com/submit?url=https%3A%2F%2Fhub.llmnet.nl%2Fen%2Ftool-latency-estimator&title=Response%20Time%20Calculator%20for%20AI%20Models)[](#)

# Response time calculator for AI models

By Ivo Donker — compiled with AI support (Claude & Gemini) · Last updated: 6 August 2026

The total response time of an AI model largely determines how smooth an application feels to an end user. In practice, this wait time consists of two separate phases: the time until the first output appears and the speed at which the rest of the text is generated. With this interactive calculator, you can enter two different scenarios and compare them directly, for example a larger reasoning model with a low output speed versus a smaller, optimized model.

Enter valid, positive numbers for all fields. The output speed must be greater than zero.

Number of requests per user session

How many questions or interactions a user performs in a row.

Streaming threshold (% of response before reading moment): 10%

The percentage of the text that must be generated before the user can start reading.

Scenario A (e.g., larger model)

Time to first token - TTFT (ms)

Wait time in milliseconds until the first character is visible.

Output speed (characters/sec)

Number of characters the model generates per second.

Expected output length (characters)

Estimated length of the generated response.

Scenario B (e.g., smaller model)

Time to first token - TTFT (ms)

Wait time in milliseconds until the first character is visible.

Output speed (characters/sec)

Number of characters the model generates per second.

Expected output length (characters)

Estimated length of the generated response.

### Calculated results

Scenario A
0.80 sec
Wait time to an empty screen (TTFT)
2.30 sec
Wait time to reading moment (streaming)
15.80 sec
Total duration per request
79.00 sec
Total wait time per session

Scenario B
0.25 sec
Wait time to an empty screen (TTFT)
0.79 sec
Wait time to reading moment (streaming)
5.61 sec
Total duration per request
28.04 sec
Total wait time per session

Note: All entered values are your own assumptions and theoretical parameters. The results shown are formula-based estimates and do not constitute a guaranteed measurement of a specific API provider.

## How this calculator works and what the results mean

The tool above calculates the duration of interactions with Large Language Models (LLMs) based on a simple mathematical model. A request to a language model consists of two main steps: processing the input and generating the first output, followed by sequentially generating the remaining characters.

In the calculator, you enter the expected performance for two scenarios. The calculator breaks down the outcome into two perspectives: the classic wait time where a user waits until the entire response is ready, and the perceived wait time when a streaming connection is used. The results show at a glance how small changes in output speed or network delay accumulate across multiple requests within a full session.

## Why TTFT and output speed are two separate variables

When assessing API performance, Time to First Token (TTFT) and output speed (often expressed in tokens or characters per second) are regularly lumped together under the general term 'speed'. However, these are two fundamentally different phases in processing by a language model, determined by entirely different hardware and software factors.

### Time to first token (TTFT)

TTFT measures the time between the moment your application sends the request and the moment the very first letter appears on the screen. This phase consists of the network time to the server, processing and tokenizing the input prompt, the prefill phase on the graphics card (GPU), and generating the very first token.

When a prompt is very long (for example a document of dozens of pages), the TTFT rises significantly because the GPU must process the full context at once. During this phase, the user has not yet received any feedback and is looking at an empty screen or a loading indicator.

### Generation speed in characters per second

Once the first token is generated, the model moves into the decoding phase. Here, the model generates token by token in an autoregressive loop: each newly generated character is added back to the context to determine the next character. The speed of this phase is mainly bounded by the memory bandwidth of the graphics cards on which the model runs.

A model can have a very slow TTFT (for example due to a busy queue or a huge input prompt), but then produce characters at a high rate afterward. Conversely, a small model can start talking immediately (low TTFT), but have a slow output speed due to limited infrastructure. Because both phases have different bottlenecks, they must always be analyzed separately.

## The influence of streaming on perceived wait time

When an application waits for the full API response before showing anything on screen, the total wait time equals the sum of the TTFT and the total generation duration. For a response of 1,500 characters and a speed of 100 characters per second, this means the user quickly has to wait 15 to 16 seconds before a single letter is visible.

By using [streaming responses via Server-Sent Events (SSE)](https://api.llmnet.nl/en/streaming-responses) the content is sent directly to the browser in small chunks as soon as it becomes available. This does not change the total physical duration of the API call, but the perception of the user changes dramatically. The user can start reading as soon as the first few sentences (for example 10% of the total) appear on screen. Because a person reads an average of about 20 to 30 characters per second, the user can already process the text while the model fills in the rest of the paragraphs in the background.

## Output length: the most important lever for response time

The calculations in the tool show that the expected output length has the biggest impact on the total duration. In many development projects, a lot of time is spent selecting a faster API provider to lower the TTFT by 100 milliseconds, while the prompt instructions encourage unnecessarily long responses.

By explicitly asking in the system prompt for concise answers, bullet points, or structured JSON structures without unnecessary introductions, the output length can often be reduced by 50%. This directly halves the generation time per request. Anyone who wants to structurally lower the total response time achieves the most gains by strictly limiting the desired output length. For scenarios where the computing power runs on the user's own hardware, specific additional conditions also come into play; read more about this in the overview on [small models on the device](https://hub.llmnet.nl/en/kleine-modellen-op-apparaat).

Tip for developers: Use parameters such as max_tokens or specify a maximum length in your prompt. This prevents a model from rambling and not only reduces response time but also lowers the cost per call. You can also calculate this with the [model cost calculator](https://hub.llmnet.nl/en/modelkosten-calculator).

## Invisible reasoning steps and their impact on response time

A special category is formed by so-called reasoning models. These models internally generate a chain of thought before showing their final answer to the user. These internal reasoning steps are hidden from the interface in many API implementations.

For the end user, this phenomenon manifests itself as an extremely high TTFT. In the background, the model is already generating hundreds or thousands of 'invisible' tokens to work through the logical steps. Even if the final visible answer is only 200 characters long, the wait time for the first character can rise to 5 or 10 seconds. When comparing models, it is crucial to factor in this distinction. See also the in-depth analysis in which [reasoning models are compared](https://hub.llmnet.nl/en/redeneermodellen-vergeleken) in terms of accuracy versus wait time.

## Averages versus percentiles in speed measurements

The numbers you enter in this calculator are fixed values. In practice, however, the response time of an AI service is variable. Reporting response times based on an average often gives a misleading picture, because occasional outliers heavily and negatively affect the user experience.

In professional environments, measurements are therefore expressed in percentiles:

- p50 (Median): The response time under which 50% of requests stay. This represents the typical experience during a quiet moment.

- p90: The response time under which 90% of requests stay. This gives insight into delays during busier periods.

- p99: The response time for the slowest 1% of requests. This shows the extreme peaks caused by network hiccups, complex prompts, or overloaded servers.

When you enter a scenario in this calculator, it is wise not only to fill in your median, but also to calculate a scenario based on your provider's p99 values. More information on setting up reliable benchmarks can be found in the article on [measuring speed for AI models](https://benchmark.llmnet.nl/en/snelheid-meten).

## Where this calculator stops: external factors

This calculator offers a theoretical framework to understand the influence of parameters. A calculation model in the browser can, however, never simulate the full reality of a production environment. The following external factors fall outside the scope of this calculator:

- Network distance and TLS handshakes: The physical distance between your server (or the user's browser) and the model provider's data center adds latency.

- Queues at the provider: During an unexpected spike in global usage, an API request can remain in a queue for seconds before the GPU can start on the prompt.

- Cold starts: If a model runs on your own server or a specialized platform and hasn't been called for a while, the model must first be loaded from storage into GPU memory.

- Network timeouts: With extremely slow responses, the connection can be prematurely terminated by intermediate proxies or API gateways. See the documentation on [timeouts and cancellation](https://api.llmnet.nl/en/timeouts-en-cancellation) for robustly handling these situations.

To obtain guaranteed figures for a specific application, running your own measurements and load tests on the live infrastructure is the only reliable method.

## Further reading

- [Model cost calculator - Calculates the cost per token and request](https://hub.llmnet.nl/en/modelkosten-calculator)

- [Small on-device models - Local execution and wait times](https://hub.llmnet.nl/en/kleine-modellen-op-apparaat)

- [Reasoning models compared - Latency versus reasoning power](https://hub.llmnet.nl/en/redeneermodellen-vergeleken)

- [Measuring speed - Guide to correct benchmarking of LLMs](https://benchmark.llmnet.nl/en/snelheid-meten)

- [Streaming responses - Implementing SSE in API integrations](https://api.llmnet.nl/en/streaming-responses)

- [Timeouts and cancellation - Dealing with slow API responses](https://api.llmnet.nl/en/timeouts-en-cancellation)

llmnet.nl - AI models hub and marketplace
