Back to blog

AI Performance

Cold-Start Latency in AI Inference: What Aggregator APIs Do Not Tell You About Production AI Speed

AI inference aggregators hide cold-start latency behind p50 benchmarks. Learn what cold-start latency means in production, why bursty AI traffic exposes the gap, and how reserved AI capacity eliminates the tail.

2026-05-1314 min readOneInfer Editorial

TL;DR

Cold-start latency is the time between a request hitting an idle AI inference endpoint and the first token of a response. It is distinct from time-to-first-token under sustained load, which is the number AI inference aggregators usually publish. For bursty traffic such as coding agents, irregular B2B users, and multi-step agent loops, cold-start phases can extend first-request latency 10-50x above benchmark figures.

OpenBandwidth's reserved AI capacity eliminates the shared-infrastructure warm-up phases by holding a dedicated GPU lane warm between requests. Migration requires changing one environment variable; the OpenAI-compatible endpoint at https://api.oneinfer.ai/v1 is a drop-in replacement for existing LLM API clients.

  • 50x: maximum cold-start versus benchmark latency gap.
  • ~140GB: GPU memory load for a 70B model cold start.
  • p50: the percentile aggregators usually report.
  • p99: the percentile where users actually experience the worst production latency.

The number that disappears between demo and production

Every AI inference aggregator landing page shows a latency figure. It is usually clean, often small, sometimes placed beside a competitor's larger number with a helpful arrow. The figure is real. Someone measured it. It is also misleading, because the conditions that produced it almost never match the conditions of your actual production AI traffic.

The gap between those two numbers is cold-start latency: the part of AI inference performance that aggregators do not put on the landing page, because putting it there would cost them deals. Cold-start latency is what changes when inference is served from a shared pool that has to wake up every time your traffic arrives.

What cold-start latency actually means

Cold-start latency in AI inference is the time between a request arriving at an idle endpoint and that endpoint producing its first output token. It is not the same as time-to-first-token under sustained load, which is the metric most benchmarks publish. It is the cost when the system has to do preparatory work before it can serve you at all.

The sum of these phases is the cold-start tax. The marketing latency is what you pay after the system has amortized them across a warm, sustained stream. The two numbers can differ by a factor of ten to fifty, and that difference is exactly the part of your traffic producing user-visible slowness.

  • Model loading to GPU memory: a 70B-parameter model in 16-bit precision is roughly 140GB of weights. Loading from local NVMe takes seconds; from network-attached storage it can take tens of seconds.
  • Inference runtime initialization: serving frameworks like vLLM, TGI, and SGLang must spin up workers, allocate KV cache pools, and warm CUDA kernels.
  • Scheduler capacity search: aggregator routing selects provider, region, model variant, and physical replica. If no warm replica exists, one spins up; if no GPU is free, the request queues.
  • Network path negotiation: the first request through a cold path negotiates TLS, opens an HTTP/2 stream, and resolves rate-limit state.

Why aggregators have a structural incentive to hide this

An AI inference aggregator is a routing layer fronting multiple upstream providers, optimizing per request for the cheapest upstream that meets a latency SLO. This works well for one workload shape: high-volume, sustained, and predictable. The routing layer learns patterns, keeps relevant models warm, and cold-start phases amortize into the steady-state numbers on the marketing page.

It fails, sometimes catastrophically, for the traffic shape most production AI products actually generate: bursty. Users send a message, wait, send another. AI agents loop in spurts then go quiet. Coding assistants are silent for fifteen minutes, then fire forty calls in three seconds when the developer returns from a break. In bursty traffic, the aggregator's cheapest available upstream is frequently a replica that just went cold.

Aggregator AI benchmarks almost always report p50 latency. Cold-start latency lives at p95, p99, and p999: the percentiles that determine user experience.

The three traffic patterns that suffer most

Individual AI coding assistants are silent for long stretches, briefly intense, and then silent again. Every intense episode starts with a request hitting a cooled path. The first response of the session feels slow, and the developer blames the model, the network, or their machine. The cause is often the routing layer waking up.

Multi-step AI agent loops are sensitive to the slowest link, and in bursty patterns the slowest link is almost always the first call. A cold first call collapses perceived agent responsiveness even when every subsequent call is fast.

B2B SaaS products with irregular customers create a long tail of small bursty streams. The aggregator cannot economically keep a warm replica per customer. Each irregular user pays the cold-start tax on every visit.

What reserved AI capacity actually changes

Reserved AI inference capacity inverts the cold-start problem architecturally. Instead of routing traffic to whichever upstream has free capacity when the request arrives, reserved capacity holds a GPU slice for you whether or not traffic is in flight. The slice does not cool down between requests because the slice is yours, and nobody else's traffic consumes it during your idle windows.

The useful comparison is not just p50. It is the shape of the tail under bursty traffic.

  • Aggregator p50 warm latency: about 320 ms.
  • Aggregator p95 semi-cold latency: about 3,800 ms.
  • Aggregator p99 cold-start latency: 18,000 ms or more.
  • Reserved OpenBandwidth p50 latency: about 290 ms.
  • Reserved OpenBandwidth p99 latency: about 410 ms.
  • Aggregator p99 cold start can be 10-50x the median; reserved p99 is roughly 1.3x the median.
  • Aggregator paths evict model weights when idle; reserved lanes keep model weights resident.
  • Aggregator latency varies with upstream load and time of day; reserved latency stays stable 24/7.

A measurement protocol that catches what aggregators hide

If you want to know how an inference provider actually performs on your real traffic shape, run this protocol. It takes one day of engineering effort and produces numbers you can trust.

  • First request after deliberate idle periods: send a single request after 10, 30, and 60 minutes of idle time. Record time-to-first-token for each and repeat 10-20 times.
  • Burst recovery after silence: wait 15 minutes, then fire 20 requests in 2 seconds. Record latency for every request in sequence.
  • Measurements across time of day: repeat at 4-hour intervals across a full 24-hour cycle. If latency shifts with time of day, you have a shared-pool problem, not a model problem.
  • Look at p99 and p999, not p50. For a product with 5,000 daily active users, the slowest 1% is 50 users per day having a bad experience that the median number conceals.
  • Compare cold-warm gap within the same provider. Below 2x is acceptable, above 2x indicates a cold-start problem, and above 5x indicates a serious architectural mismatch.

The one-variable migration that fixes the tail

If your measurements surface a cold-start problem, the architectural fix is to move to reserved AI inference. The migration cost is near zero because the OpenAI-compatible interface stays the same.

OpenBandwidth sits at https://api.oneinfer.ai/v1 and speaks the OpenAI Chat Completions schema. Whether your client is the official OpenAI Python SDK, the AI SDK, Claude Code, Cursor, Continue, or anything else built against the standard schema, the change is one environment variable. No new abstraction layer. No rewriting your LLM API integrations. No vendor lock-in.

Migration checklist: set OPENAI_BASE_URL=https://api.oneinfer.ai/v1 in your environment, keep your existing API key handling, keep your model names, and test with the cold-start protocol.

OpenBandwidth reserved inference plans

OpenBandwidth on oneinfer.ai offers reserved inference capacity with a launch offer of 20% off for the first three months.

  • Starter: $20/mo for solo developers and individual heavy users, with an always-warm reserved lane and unlimited tokens.
  • Pro: $40/mo for small teams and AI products, with p99 latency compressed toward p50 and no cold-start tax.
  • Team: $90/mo for full teams with agentic workloads and consistent latency across concurrent users.

FAQ: Is cold-start latency really that common in production AI?

For bursty traffic, yes, and bursty traffic is most traffic. Anything that is not a steady-state batch workload runs into cold-start behavior on aggregator infrastructure. Coding agents, chat products with diurnal patterns, B2B SaaS with mixed-use customers, and internal AI tools idle overnight are all bursty.

FAQ: Why do AI aggregators not publish p99 latency?

Because p99 makes cold-start visible, and cold-start is what their architecture cannot fully solve without abandoning the cost-arbitrage routing logic that makes aggregation profitable. AI inference benchmarks report p50, which is honest at the median and misleading at the tail.

FAQ: Does reserved AI capacity fully eliminate cold-start latency?

It eliminates the portion of cold-start latency that comes from shared infrastructure waking up: model loading, runtime init, scheduler routing, and network negotiation. It does not eliminate the irreducible cost of model inference itself, which is identical on both reserved and aggregated infrastructure.

FAQ: How do I tell if my current AI provider has a cold-start problem?

Run the measurement protocol: send a single request after a 30-minute idle period and compare its latency to a request sent during sustained load. If the cold one is more than 2x the warm one, you have a cold-start problem. If it is more than 5x, you have a serious cold-start problem.

FAQ: Does cold-start affect multimodal AI models more than text-only models?

Yes, significantly. Multimodal AI models such as vision, audio, and video pipelines have larger weights and more complex initialization paths. Cold-start tax scales with model size and initialization complexity.

FAQ: Does cold-start affect more than latency?

Yes. Cold-start tail behavior also produces inconsistent timeouts in AI agent loops, false-positive retries, brittle UX where the user's first impression of every session is shaped by the worst response, and latency patterns that appear random because they cannot be reproduced in median benchmarks.

Your p99 should not be 50x your p50

Move to OpenBandwidth reserved AI inference: an always-warm, OpenAI-compatible lane on the OneInfer unified inference layer. One environment variable. Consistent latency from p50 to p99.

Launch offer: 20% off for the first three months. Starter $20, Pro $40, Team $90.

Related reading

  • OpenAI-Compatible Reserved Inference
  • Closed APIs vs Self-Hosting vs OpenBandwidth

Topics

Cold-Start Latency, AI Inference Latency, Production AI Speed, Time to First Token, Reserved AI Capacity, AI Model Latency, Aggregator AI Infrastructure, AI Inference p99 Latency, Bursty AI Traffic, AI Agent Loop Latency, AI Inference Benchmark, Reserved vs Aggregated, Multimodal AI Cold-Start, Fix Cold-Start Latency, KV Cache Warm-Up, Unified Inference Layer, OpenAI-Compatible Endpoint, LLM API, Serverless GPUs, AI Infrastructure.