Can Cloud LLM APIs Make NPCs Reply in 100 ms? No, and On-Device Models Can't Either: The Latency Budget
No path gets a spoken, model-written NPC reply under 100 ms. Studios that hit the target split the NPC's instant reaction from its line, and pick cloud or on-device by player hardware, not by the 100 ms number.
No cloud LLM API can return a spoken NPC reply within 100 ms, and an on-device small language model can't either: detecting that the player has stopped talking takes 120 ms or more on its own in published voice-agent latency budgets, before any model runs. ElevenLabs' published voice-agent budget puts a well-built pipeline at about 680 ms at the median and about 1,560 ms at the 95th percentile. What meets a 100 ms target is a local, scripted reaction (a glance, a breath, a "Hm?") fired immediately, with the model-generated line streamed in a few hundred milliseconds later. That is roughly how people do it in conversation.
Why 100 ms is stricter than human conversation
The reference point for "feels instant" in dialogue comes from conversation research, and it is looser than 100 ms. In their 2009 PNAS study of turn-taking in 10 languages, Stivers and colleagues found Japanese speakers averaging 7 ms between turns and Danish speakers about half a second, with each extreme within about a quarter of a second of the international average, as National Geographic summarised it at the time. Stephen Levinson and Francisco Torreira's 2015 review in Frontiers in Psychology puts the typical gap at "around 200 ms," with 51 to 55 percent of transitions shorter than that.
The same review explains why that figure is surprising. Naming a single picture takes a speaker about 600 ms; a three-word utterance about 900 ms; planning a sentence from a scene about 1,500 ms. People can only answer within 200 ms because they "are already encoding their responses" while the other person is still talking. Human replies are fast because they are predicted and partly prepared, not because speech production is fast.
That matters for game design. A 100 ms budget is a reasonable target for the NPC to show it heard you. It is not a realistic target for the NPC to finish composing and start speaking a new sentence, and no human meets it either.
Where the milliseconds go in a voice reply
A spoken NPC reply passes through a chain of stages, and each one spends part of the budget. Two vendors that sell voice components publish their versions of that chain.
| Stage | ElevenLabs p50 | ElevenLabs p95 | Soniox range |
|---|---|---|---|
| Capture and end-of-speech detection | 120 ms | 280 ms | 200-400 ms |
| Speech-to-text finalisation | 60 ms | 150 ms | 50-150 ms |
| Network, client to API | 60 ms | 160 ms | 100-200 ms |
| LLM time to first token | 250 ms | 600 ms | 300-500 ms |
| Text-to-speech first audio | 110 ms | 220 ms | 100-200 ms |
ElevenLabs' guide, first published June 23, 2026 and updated November 17, adds 80 ms of player buffering at the median (150 ms at p95) and arrives at about 680 ms end to end at p50 and about 1,560 ms at p95. Soniox's wiki, updated July 2, 2026, labels its ranges illustrative and adds its sample values to 1,180 ms, against a working target of "roughly 800 milliseconds of perceived latency." ElevenLabs also calls its figures illustrative. Both are vendor budgets rather than independent measurements, but they agree on the shape: ElevenLabs says "the two largest latency line items are the LLM's time-to-first-token and the endpointing delay."
Read the first row again. Deciding that the player has finished speaking costs more than 100 ms in every budget, and it costs that wherever the model runs. OpenAI's Realtime API documentation shows the same trade in its settings: its default server_vad turn detection ends a turn after a period of silence, and the example configuration waits 500 ms. Its semantic_vad mode with eagerness set to high "will chunk the audio as soon as possible," which shortens the wait at the price of cutting players off.
What the cloud path costs in network time
The network line is the one that on-device inference removes, so it is worth knowing how large it really is. A 2021 arXiv paper by Blesson Varghese and colleagues cites the FCC's broadband measurements: median round trips on fibre of 10 to 27 ms to edge locations. Its own analysis of RIPE Atlas probes at 650 US locations found that 25.4 percent had a median of 10 ms or less to their closest data centre, but only 6.7 percent stayed within 10 ms 99.9 percent of the time. Mobile is worse before traffic reaches any server: the paper cites 4G access latency above 30 ms and early 5G at 20 to 30 ms. ElevenLabs gives 20 to 200 ms for public-internet round trips.
So on a good fibre line close to a cloud region, the network is tens of milliseconds and not the main problem. For players on Wi-Fi, mobile or far from a region, the tail grows, and averages hide it. The paper's own warning is that focusing on averages hides "significant variations in network latency over time."
What each deployment option can and can't remove
A frontier cloud model behind a cascaded pipeline (speech-to-text, LLM, text-to-speech) pays every line in the table. Its time to first token is the largest variable, and ElevenLabs' 600 ms p95 for that stage alone shows why the tail, not the median, decides whether an NPC feels broken. ElevenLabs puts it bluntly: "P95 is the experience of one turn in twenty."
A speech-to-speech realtime API collapses the three model stages into one session over WebRTC or WebSocket. OpenAI's Realtime guide promises "low first-audio latency" but publishes no figure, and end-of-speech detection still applies.
A fast-inference provider shrinks the generation stage. Groq's model list gives gpt-oss-20b at 1,000 tokens a second and Llama 3.1 8B at 560. At those rates a 12-token first sentence is generated in roughly 12 to 21 ms once the first token arrives. Those are throughput figures, not time to first token, which Groq's model list does not state.
A small model specialised on the studio's own dialogue and served from a region near players attacks both the model time and the network distance. Nobody has published a comparison of such a model against frontier APIs on NPC dialogue latency, cost and quality. Parsec, a small language model lab, fine-tunes compact models on a customer's own traffic and serves them on a shared, multi-tenant cluster; its comparison page claims "60% lower TTFT and 40% lower TPOT" for voice agents without saying what the baseline is. It publishes no price for this service and its pages do not mention edge serving. Studios can also self-host an open-weight base such as Qwen3-4B or Qwen3-8B, both Apache 2.0, in the cloud region nearest their players.
On-device inference removes the network line (60 ms at the median and 160 ms at p95 in ElevenLabs' budget) and any provider queue. It does not remove end-of-speech detection, time to first token or speech synthesis. NVIDIA's ACE page now lists on-device Nemotron 3 Nano models at 9B and 4B and a Qwen 3.5 4B model, alongside on-device speech recognition and text-to-speech, and says they offer "low latency within a small memory footprint." It gives no latency figure. The most specific number NVIDIA has published is for its first on-device model, Nemotron-4 4B Instruct, in August 2024: about 2 GB of VRAM after INT4 quantisation, with "significantly faster time-to-first-token" than larger models.
What a thousand lines cost
The choice also changes who pays. Assume each NPC line uses 600 input tokens (persona, scene state, recent turns and the player's words) and 40 output tokens. At OpenAI's list prices, 1,000 lines cost about $0.05 on gpt-5-nano ($0.05 per million input tokens, $0.40 per million output), $0.08 on gpt-6-luna and $0.23 on gpt-5-mini. On Groq, gpt-oss-20b at $0.075 and $0.30 per million comes to about $0.06, plus about $0.03 for Whisper Large V3 Turbo speech recognition at $0.04 an hour if each player utterance lasts 3 seconds. Speech-to-speech costs far more. Assuming the same 600 text tokens of instructions plus 100 audio input and 200 audio output tokens per line (illustrative counts, since OpenAI's pricing page does not convert audio tokens to seconds), gpt-realtime-mini comes to about $5.04 to $5.36 per 1,000 lines and gpt-realtime to $16.24 to $18.40, the lower figure in each case with instructions billed at the cached text rate. The cascaded figures exclude speech-synthesis fees.
The hardware question on-device raises
Running the model beside the renderer moves the cost from an API bill to the player's GPU. Steam's October 2026 survey shows 26.92 percent of users on 8 GB of VRAM and 20.09 percent on 6 GB or less; the RTX 3060, RTX 4060 and RTX 3050 are among the most common cards. A 2 GB model on an 8 GB card takes a quarter of the card's memory away from the game. NVIDIA's In-Game Inferencing SDK uses CUDA in Graphics so that graphics and AI run "simultaneously at low latency," but it publishes no frame-time figures. How much frame time and VRAM a 4B to 9B model takes from rendering on named consumer GPUs has not been measured publicly, and neither has the hardware tier below which it stops being usable.
How to decide
Start from the split the research suggests. The 100 ms requirement belongs to a deterministic layer: animation, eye contact, a pre-recorded acknowledgement, triggered locally when voice activity drops. The model's line belongs to a second layer with a budget of roughly 250 ms (ElevenLabs' median time to first token alone) to 700 ms (its median end to end). Stream tokens into speech synthesis a sentence at a time, and begin generating while the player is still speaking, as people do.
Then pick the model's location by platform. If players are on consoles, low-VRAM laptops or mobile, the cloud is the only path that reaches all of them, and a nearby region or speech-to-speech session keeps the network share small. If the game is PC-only, targets 12 GB cards or better (about 49 percent of Steam users in October), must work offline, or cannot carry a per-line cost, a 4B on-device model is viable once you have measured its cost in frame time.
Whatever you choose, measure the tail from your players. Published TTFT benchmarks are small and mostly vendor-run, and no one has published p50, p95 and p99 NPC reply latency from residential fibre, cable, Wi-Fi and mobile connections. A minimal test:
- Script 200 real NPC exchanges with your actual prompts and persona.
- Replay them from at least four connection types in each major player region.
- Timestamp end of player speech, first text token and first audible NPC word on the client.
- Report p50, p95 and p99 per path and region, not averages.
- For on-device, record frame time and VRAM with the model idle and generating, on your minimum-spec GPU.
Bottom line
A 100 ms model-written reply is not available from the cloud or the device. Meet 100 ms with a local reaction, and give the model's line a 250 to 700 ms window. Choose the cloud, ideally a nearby region, when you need every platform and the best dialogue; choose an on-device 4B model when the game is PC-only on mid-range cards or must work offline. Decide on your own measured p95, not on anyone's median.
Sources
- National Geographic, Pregnant pauses and rapid-fire (Stivers et al. 2009): https://www.nationalgeographic.com/science/phenomena/2009/06/19/pregnant-pauses-and-rapid-fire-how-do-different-cultures-take-turns-to-talk/
- Levinson and Torreira, Timing in turn-taking, Frontiers in Psychology (2015): https://www.frontiersin.org/articles/10.3389/fpsyg.2015.00731/full
- ElevenLabs, Voice agent latency optimization: https://elevenlabs.io/blog/voice-agent-latency-optimization
- Soniox, Voice agent latency budget: https://soniox.com/wiki/voice-agent-latency-budget
- Varghese et al., Revisiting the Arguments for Edge Computing Research (arXiv 2106.12224): https://arxiv.org/pdf/2106.12224
- OpenAI, Realtime API guide: https://developers.openai.com/api/docs/guides/realtime
- OpenAI, Realtime voice activity detection: https://developers.openai.com/api/docs/guides/realtime-vad
- OpenAI, API pricing: https://developers.openai.com/api/docs/pricing
- Groq, Supported models: https://console.groq.com/docs/models
- NVIDIA, ACE for Games: https://developer.nvidia.com/ACE
- NVIDIA Developer Blog, Deploy the first on-device small language model: https://developer.nvidia.com/blog/deploy-the-first-on-device-small-language-model-for-improved-game-character-roleplay
- NVIDIA, In-Game Inferencing SDK: https://developer.nvidia.com/rtx/in-game-inferencing
- Steam Hardware and Software Survey, October 2026: https://store.steampowered.com/hwsurvey
- Hugging Face, Qwen3-4B: https://huggingface.co/Qwen/Qwen3-4B
- Hugging Face, Qwen3-8B: https://huggingface.co/Qwen/Qwen3-8B
- Parsec vs your own GPUs: https://parseclab.ai/compare/own-gpus/