Opens in a new tab
Home / Blog / Machine Learning

Edge AI vs Cloud AI: How to Choose Where Inference Runs

Where a model runs is an architectural decision with major strategic implications. Here's how latency, bandwidth, privacy and operational cost actually determine it — and why, in practice, most real systems end up as hybrids.

SoftmaxAI EngineeringPublished January 6, 2026Updated August 25, 202612 min read
Topic
Choosing between edge and cloud inference
Edge wins on
Latency, bandwidth cost, privacy, resilience
Cloud wins on
Model size, updates, observability, operations
Reality
Most production systems are hybrid

What the choice actually is

Edge AI means model inference is performed on or very close to the device that is generating the data — a camera, a phone, a machine controller, a vehicle. Cloud AI means the data is sent to a data centre, inference is performed there and the result is returned. The models themselves can be the same. The difference is where the computation takes place, and that one decision has a massive impact on cost, latency, privacy and how you run the system for the rest of its life.

It's important to be precise about what is in fact being moved. Edge is not simply "smaller models"; it's a different operational contract. In the cloud you have one deployment under your control and can change it this afternoon. At the edge you have a fleet, which may be in the field and may be offline, running whatever version last got to it.

The four forces that decide it

Latency

A network round trip is going to take tens of milliseconds at the very best and is unbounded at the worst. If you're making a decision in the time that a machine moves a few centimetres (a safety interlock, a spray nozzle, a robotic pick), then the round trip is not a cost, it's a disqualification. On the other hand, if a human is looking at the result, then a few hundred milliseconds is imperceptible and the whole argument goes away.

Bandwidth economics

This is the argument that most often determines real deployments, and the one most frequently overlooked in the planning stage. A single video stream at a useful resolution is a very significant consumer of continuous bandwidth. Multiply that by the number of cameras and the months in a year, and the cost of transfer can easily be many times greater than the cost of compute. Processing locally and transmitting events rather than video transforms the entire cost structure — the pattern in our live CCTV surveillance case study.

Privacy and data residency

Where data must not leave a device, a site or a jurisdiction, the architecture decides compliance. Edge inference turns a policy commitment into a structural fact: if the imagery never leaves the unit, there is no transfer to regulate. Our fall detection case study is built entirely on this principle — the privacy guarantee holds because of where the computation takes place.

Connectivity reliability

Fields, factories, vehicles and remote sites all have unreliable connectivity. A system that just stops working when the network goes down is not acceptable in most industrial settings, and it's a lot harder to design for intermittent connectivity after the fact than it is to design for it from the outset.

Side by side

DimensionEdgeCloud
LatencySingle-digit milliseconds, predictableTens to hundreds of ms, variable
Bandwidth costMinimal — events onlyScales with raw data volume
Model sizeConstrained by device memoryEffectively unconstrained
UpdatingFleet management, staged rolloutRedeploy a service
ObservabilityLimited; must be designed inFull logs and metrics by default
Offline operationContinues workingStops
Data privacyStructural — data need not leaveContractual and configurational
Hardware costCapital per deviceOperating cost per inference
ScalingAdd devicesAdd capacity elastically
Edge and cloud inference compared

What running at the edge really costs

Edge deployment is frequently underestimated, and the surprises are operational rather than technical.

  • Model optimisation is required work. Quantisation, pruning and compilation for the target accelerator are a genuine engineering exercise, and they involve trade-offs between accuracy and footprint which have to be measured rather than simply assumed.
  • Hardware fragmentation is painful. Different accelerators need different toolchains and will produce different numerical results. Supporting multiple targets multiplies the amount of validation you have, not just the number of build steps.
  • Updates are a distributed systems problem. Staged rollout, rollback on failure, version skew across the fleet and devices that were offline during the release. That's the biggest hidden cost.
  • Observability must be built. You can't tail a log on ten thousand devices. What telemetry you emit, how you aggregate it and how you detect a regression across the fleet are all design decisions.
  • Physical constraints bind. Power, heat, vibration and dust. Consumer hardware in an industrial environment fails in ways that are very expensive to find out about once it's been deployed.
  • Debugging is harder. To reproduce a failure that occurred on one device, under specific conditions, weeks ago, you have to have the instrumentation in place in advance.

The honest summary is that edge is cheaper to run and more expensive to operate. If the four forces aren't clearly in its favour, then the cloud is generally the sensible option.

The hybrid patterns that work

In practice, most mature deployments use both, and there are a few patterns that occur regularly that are worth knowing by name.

  • Filter at the edge, analyse in the cloud. A very cheap on-device model simply discards the 90-plus per cent of frames which contain nothing of interest, so only candidate events get passed on. This preserves the cloud capability while dramatically reducing the bandwidth requirement.
  • Decide at the edge, learn in the cloud. Inference runs locally for latency and resilience. The cloud does the data aggregation across the fleet, does the retraining and pushes the improved models back.
  • Cascade by confidence. A small local model deals with the clear cases, and the ambiguous ones get escalated to the larger cloud model. The vast majority of the traffic never leaves the device, and the difficult cases still get the best answer that's available.
  • Edge for control, cloud for reporting. Real-time actuation is local; the metrics, dashboards and long-term analysis are central. That's the standard industrial pattern.
  • Cloud-first, edge later. Prototype in the cloud where iteration is fast, then move inference to the edge once the model has stabilised and the economics are understood. That sequencing prevents you from optimising a model you're going to change anyway.

A practical decision rule

  1. Is there a hard latency requirement below about 50 milliseconds? If so, edge. The network can't meet it.
  2. Does the raw data have to stay on-premises or on-device? If so, edge. Architecture is the cleanest way to meet that requirement.
  3. Does the system have to work without connectivity? If so, edge, with cloud sync when a network is available.
  4. Is the volume of raw data huge and continuous? If so, then at the very least filter at the edge, even if the analysis itself remains central.
  5. Otherwise, just start in the cloud. Faster to build, easier to update, better observability — and you can move the inference over later once the model has settled.

How SoftmaxAI approaches the decision

We build these systems the same way we build everything else. We have a written, client-approved specification prior to any code. We have an agent-accelerated build led by senior engineers, and every decision that matters is owned by a human.

  • The arithmetic goes in the spec. The latency budget, the bandwidth cost at real volume, the privacy constraints and the connectivity assumptions are all worked out and documented before the architecture is selected.
  • Portable model interfaces. We put detectors, trackers and embedding models behind a common interface, so that the same system can run on a GPU server or an edge accelerator without having to touch the call sites at all — the pattern we used in our CCTV surveillance build.
  • Fleet operations designed in. The update strategy, rollback, telemetry and drift detection across devices are all built in rather than being a separate, later phase.
  • Cloud-native where it fits. As a Google Cloud Partner we build natively on Google Cloud for the central half of hybrid architectures.

Edge AICloud AIInferenceQuantisationLatencyBandwidthHybrid architectureFleet management

FAQ

Questions we get asked.

What is the difference between edge AI and cloud AI?
Edge AI runs the model inference on or very close to the device that is generating the data (e.g. a camera, a phone, a machine controller). Cloud AI sends the data to a data centre, where the inference is performed and the result is returned. The models themselves can be the same; what's different is where the computation takes place, which in turn determines latency, bandwidth cost, privacy characteristics and how the system is run.
When should AI run at the edge?
When there's a hard latency requirement that a network round trip can't meet, when the raw data absolutely must not leave the device or premises, when the system must keep going without connectivity, or when the sheer volume of data makes transfer costs prohibitive. If none of those situations apply, then the cloud is usually the sensible choice.
Is edge AI cheaper than cloud AI?
Cheaper to run, more expensive to operate. Edge removes the per-inference compute and bandwidth charges, but introduces the cost of model optimisation, hardware fragmentation, fleet update management and observability, all of which need to be deliberately engineered. The overall picture depends heavily on scale and on how often the models change.
What is a hybrid edge-cloud architecture?
One that splits the work: a cheap model at the edge filters or makes a decision on the majority of cases, with the cloud responsible for aggregation, retraining and the difficult cases. Typical patterns are local filtering of frames (so only candidate events get passed on), local decision-making with central learning, and cascading low-confidence cases to a larger cloud model.
Do models need to be modified to run at the edge?
Generally, yes. Quantisation, pruning and compilation for the specific target accelerator are normally required to meet memory and latency constraints, and they trade some accuracy for footprint. Different accelerators require different toolchains and can produce slightly different numerical results, so each target needs its own validation.
How do you update models on edge devices?
Via a fleet management process with staged rollouts, automatic rollback on failure, and tolerance for version skew across devices that were offline during the release. This is very much a distributed systems problem and is by far the largest of the commonly underestimated costs of edge deployment.
Start here

Choosing an inference architecture? Let’s pressure-test it — free.

A 30-minute call with our engineers, not a salesperson. Bring your latency, volume and privacy constraints and you'll get a genuine architecture recommendation.