ArchitectureIntermediate

Edge vs Regional AI Inference: Latency Budgets That Decide

DeveloperHat Team
14 min read

TL;DR

Network round trips beat model speed for AI inference latency. Latency budgets for on-device, edge, regional, and central deployment — and how to pick.

Your model is fast. Your users are still waiting. For AI inference, the delay users feel is usually not the model — it is the network round trip to wherever the model runs, plus the time to the first token. A frontier model in a distant region can lose to a small model running next door, and a slow model next door can still lose to a fast model far away. The only way to decide is a latency budget: how many milliseconds the interaction is allowed, and which tier of deployment can meet it.

The short version: start from the interaction, not the infrastructure. Chat and voice need the first token fast; batch jobs do not care at all. Measure the round trip to each tier, measure time-to-first-token on each model you are considering, and pick the cheapest tier that meets the budget with headroom. On-device wins when the model fits and privacy demands it; an edge point of presence wins for small models served globally; a regional metro wins when you need a 70B-class model close to users; a central cloud wins when only a frontier model — or the fastest inference silicon — will do. As of late 2026, the fastest centralized inference hardware is so fast that it can beat a nearby slow GPU on total latency, so never assume closer is faster. Measure both legs.

One request, four possible homes The router picks the cheapest tier that still meets the latency budget. User sends prompt Router picks tier On-device <5 ms network · 1–8B models Edge PoP ~5–20 ms · small models Regional metro ~10–30 ms · 70B-class models Central cloud 50–200+ ms · frontier models Network latency is set by distance; compute latency is set by the model and the chip.

Why the network beats the model

Total latency has two legs, and they obey different laws. The network leg is physics: light in fiber travels at roughly 200,000 km/s, so 1,000 km of fiber costs about 10 ms round-trip in a perfect world — and the real world adds routing, queueing, and TLS handshakes on top. A useful floor to plan against is roughly 1 ms of round-trip per 100 km of fiber, before any of that overhead. A user in Sydney calling a model in Virginia pays 150–200 ms before the model does a single flop. No amount of GPU spend fixes that leg; only distance does.

The compute leg is the model and the chip. Two numbers describe it. Time-to-first-token (TTFT) is the delay between sending the request and receiving the first token back — it dominates how live a chat or voice interface feels. Tokens per second is the decode speed after that first token — it governs how long a long answer takes to finish streaming. A model can have a fast TTFT and a slow decode, or the reverse, so quote both, and quote them for your prompt length: TTFT grows with context, and a 32K-token context behaves nothing like a 128-token one.

The budget is the sum of the two legs, and the interaction sets it. A chat reply that starts streaming in under a second feels instant; a voice agent has to fit speech-to-text, the model, and speech synthesis into a few hundred milliseconds or the conversation feels broken; a background summarization job can take minutes and nobody notices. Write the budget down first — "TTFT under 500 ms for 90% of requests, from our three largest user metros" — and every deployment choice becomes a test against it instead of an argument about architecture.

The options

Option 1: On-device inference

Run the model where the user already is: the phone, the laptop, the browser. The network leg is effectively zero — under 5 ms — and the prompt never leaves the device, which settles most privacy arguments by itself. Our companion guide to edge AI architectures covers the patterns: quantized models, on-device runtimes like ONNX Runtime and TensorFlow Lite, and the hardware (NPUs, mobile GPUs) that makes them viable.

The constraint is the model. On-device means small: 1–8B parameter models, quantized, and even then only on recent hardware. A 70B model does not fit, and a frontier model never will. Battery and thermal limits cap sustained throughput, and every model update is an app-store or download cycle rather than a deploy. Offline operation is the bonus — the feature keeps working on a plane — but that is a side effect, not the reason to choose this tier.

Pick this when the model fits (small, quantized, task-specific), when prompts must not leave the device, or when offline use is a requirement. Do not pick it for general-purpose chat: the model quality gap against a 70B-class model is real, and users notice it in the answers before they notice the latency.

Option 2: Edge point of presence

Run inference in the provider's edge network, in the same city or region as the user. Cloudflare's Workers AI, for example, runs GPUs in more than 180 cities worldwide, according to Cloudflare's September 2024 announcement — the pitch being that inference happens where the user is, not in a single-region data center. The network leg drops to roughly 5–20 ms for most users, and there is no infrastructure to operate: no instances to size, no autoscaling to tune.

The constraint is the catalog. Edge GPUs are a shared, finite resource in each location, and the provider chooses which models run on them — typically a curated list of smaller, efficient models rather than the full frontier lineup. Capacity is not guaranteed during demand spikes in a given city, and per-request pricing (Cloudflare bills Workers AI in "Neurons", its own compute unit) rewards high-frequency lightweight workloads more than heavy ones. Model choice is the provider's, not yours.

Pick this when you serve users globally with a small model — classification, embeddings, moderation, short completions — and you want low latency everywhere without operating infrastructure. Do not pick it when you need a specific frontier model, a fine-tuned model the provider does not host, or guaranteed capacity in one city at peak.

Option 3: Regional metro — Local Zones and metro cloud

Run inference in a metro-area cloud extension close to your users: AWS Local Zones, the model here, place compute in large metropolitan areas and deliver single-digit millisecond latency to end users in the same metro, according to AWS — with a high-bandwidth private link back to the parent region for everything else. This is the tier for the case edge PoPs cannot serve: you need a 70B-class model on real GPUs, but your users are concentrated in a few metros and a cross-country round trip breaks the budget.

The trade-off is scope. A Local Zone is a subset of a region: fewer services, fewer instance types, and GPU availability varies by metro. You operate real infrastructure again — instances, scaling, failover — and you pay for it whether requests arrive or not. And the win is metro-local: users outside your chosen metros fall back to region latency, so this tier suits concentrated user bases (one country, a few big cities) rather than a globally scattered one. For the latency math, see our AWS Global Accelerator guide — anycast routing to the nearest region is the cheaper cousin of this option when single-digit milliseconds are not required.

Pick this when a 70B-class model is the requirement, your users cluster in a handful of metros, and the budget is in the tens of milliseconds. Do not pick it for a globally distributed user base, or when a regional deployment already meets the budget — a Local Zone is a premium for the last 20 ms, and you should be able to name the interaction that needs them.

Option 4: Central cloud — frontier models and fast silicon

Run inference in one or a few central regions, on the biggest models and the fastest inference hardware. This is where the frontier models live, and where specialized inference silicon changes the compute leg so much that it can outweigh the network leg. Artificial Analysis' October 2026 benchmarks put Cerebras at roughly 1,730 tokens per second decoding gpt-oss-120b, and Groq at about 307 tokens per second on Llama 3.3 70B with time-to-first-token near one second — speeds a general-purpose GPU deployment does not approach. A user in Sydney calling a Cerebras endpoint in the US can still see the first token sooner than a user calling a slow GPU next door, because the compute leg dominates the network leg at those speeds.

The constraint is the network leg itself, and it is the only leg you cannot engineer away from the center: 50–200+ ms depending on distance, plus tail latency when a region is congested. Data residency is the other hard limit — some prompts cannot legally leave a jurisdiction, and no latency argument overrides that. And the fast-silicon leaderboard is per-model, not per-vendor: the same provider can be fastest on one model and third on another, so benchmark your model, not the marketing page.

Pick this when only a frontier model answers well enough, when you need the fastest available decode for long outputs, or when your users are already near your regions. Do not pick it on the assumption that central is slow — measure it; the numbers above are why the assumption fails in late 2026. And do not pick it when data must stay in a region the provider does not serve.

The comparison

OptionNetwork legCompute legModel rangeOps burdenBest for
On-device<5 msLimited by device1–8B, quantizedHigh — per-device updatesPrivacy, offline, small task models
Edge PoP~5–20 msSmall models, shared GPUsProvider's curated catalogLow — serverlessGlobal small-model serving
Regional metro~10–30 ms (single-digit in-metro)70B-class on real GPUsYour choice, per metroMedium — instances to runConcentrated users, 70B models
Central cloud50–200+ msFastest silicon, frontier modelsFull frontier lineupLow–Medium — managed APIsFrontier quality, long outputs

The numbers in the network column are planning figures, not guarantees: measure from your actual user locations, at your actual peak hours, and record the p90 rather than the median — the tail is what users remember.

Trade-offs

The trade-off that surprises teams is tail latency. Medians hide the problem: a tier that answers in 80 ms at p50 and 900 ms at p95 feels worse than a tier that answers in 200 ms flat. Edge PoPs and shared inference APIs have the fattest tails under load; on-device has the thinnest. Budget on p90 or p95, and if a provider will not publish percentile numbers, measure them yourself for a week before committing.

The second trade-off is model quality vs. placement. Every tier down buys latency with model size, and model size buys answer quality. A 1B model on-device answers instantly and sometimes wrong; a frontier model centrally answers slowly and usually right. The honest question is which errors your users tolerate: a moderation classifier can be small and wrong occasionally; a medical summarizer cannot. If you have not measured answer quality per tier, you are optimizing the wrong number.

The third is cost shape. On-device costs are paid in hardware and update logistics. Edge and API inference are pay-per-request, which is cheap at low volume and the fastest-growing line item you own at high volume. Regional instances are fixed cost — cheap at steady high volume, wasteful at spiky low volume. And the fast-silicon providers price per token, so a model that writes 48,000 tokens to answer a question costs the same as a slow one — only faster. Cost per completed task, not cost per token, is the metric that keeps this honest.

The fourth is data residency and compliance. On-device and in-metro tiers keep prompts local by construction; central cloud moves them across borders. If your users are in the EU, or your prompts contain regulated data, the residency question can eliminate tiers before latency is even discussed. Decide the allowed geography first, then optimize latency inside it.

And the trade-off teams forget: cold starts and context. TTFT grows with prompt length, and a tier that is fast on a 128-token prompt can be slow on a 32K-token one. Prefix caching and KV-cache reuse change the math again — a provider that caches your system prompt effectively serves a shorter prompt than one that does not. Benchmark with your real prompts, at your real context lengths, or the numbers you publish internally will be fiction.

Recommendation

For most teams in late 2026: write the budget first, then measure both legs from your real user locations. The measurement is a day's work — the snippet below gives you TTFT against any OpenAI-compatible endpoint — and it replaces every argument in this article with your numbers.

If the budget is under ~100 ms TTFT and the model is small, go edge PoP or on-device. The network leg decides, and only those tiers can meet it globally.

If you need a 70B-class model and your users cluster in a few metros, go regional. A Local Zone or metro deployment buys the last 20 ms that a region cannot, and the model quality is worth the operations.

If only a frontier model answers well enough, go central — but on the fastest inference silicon, not the default GPU pool, and benchmark TTFT and tokens per second on your model before you commit. In late 2026, fast silicon is the cheapest latency you can buy.

If prompts must not leave a jurisdiction, the residency rule picks the tier for you: on-device, or the nearest in-region deployment that complies. Latency is optimized inside that constraint, not instead of it.

Whichever tier you pick, keep the router: put a thin routing layer in front of inference that can move a request between tiers by model, by user location, and by measured latency. The leaderboard changes every quarter — Cerebras and Groq lead different models today, and the edge catalogs expand monthly — and a router is what lets you follow it without a rewrite. For the model side of the equation, our model optimization guide covers quantization and distillation, the two techniques that shrink a model enough to move it a tier closer.

When not to use edge inference

Do not move inference to the edge because the latency numbers look impressive in a vendor's blog post. If your users are all in one region and your p90 TTFT from that region already meets the budget, the edge buys nothing and adds a second deployment to operate.

Do not put a small model on-device or at the edge when answer quality is the product — a support agent that answers instantly and wrong is worse than one that takes a second and is right. Measure quality per tier before you commit to one.

Do not use a regional metro deployment for a globally scattered user base. The metros you pick serve the users near them; everyone else gets region latency plus the complexity of a tier you are barely using.

And do not build a multi-tier routing layer before you have a budget to route against. A router without a latency SLO is just a load balancer with opinions. Measure first, route second.

What to do next

This week, measure the two legs for your actual workload:

  • [ ] Write down the budget: TTFT and p90 targets, for each interaction (chat, voice, batch)
  • [ ] Measure network round-trip from your three largest user metros to each candidate tier
  • [ ] Measure TTFT and tokens per second on your model, at your real context lengths — the snippet below works against any OpenAI-compatible endpoint
  • [ ] Record p90, not just the median, for a full week including peak hours
  • [ ] Check the residency rule: which geographies may your prompts enter?
  • [ ] Only then pick the cheapest tier that meets the budget with headroom — and put a router in front of it
  • # Time-to-first-token against any OpenAI-compatible endpoint.
    # time_starttransfer is when the first streamed byte arrives: TTFT.
    curl -s -N https://api.groq.com/openai/v1/chat/completions \
      -H "Authorization: Bearer $GROQ_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model": "llama-3.3-70b-versatile", "messages": [{"role": "user", "content": "Hello"}], "stream": true, "max_tokens": 50}' \
      -o /dev/null -w "TTFT: %{time_starttransfer}s  total: %{time_total}s\n"

    Run it from each user metro, against each candidate provider, with your real system prompt and a realistic context length. The provider with the best numbers on your prompts is the right answer — not the one with the best numbers on a benchmark you will never run.

    Why This Matters

    Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.

    Trade-offs to Consider

    Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.

    When NOT to Use This

    Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.

    Decision Framework

    Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.

    Share this articleShare on XShare on LinkedIn

    Keep the decision frameworks coming

    One practical architecture guide a week — patterns, trade-offs, and when not to use them. No spam, unsubscribe anytime.