In brief
Should AI run at the edge or in the cloud?
Run inference at the edge when decisions need very low latency, connectivity is unreliable or costly, raw data is sensitive or too large to transmit, and the model fits the device. Use the cloud when models are large, workloads vary, central analysis is needed and connectivity is dependable. Many solutions combine both.
Where a model runs affects cost, performance, privacy, reliability and how the system is maintained. The decision is often made implicitly, based on where a team is most comfortable. Making it explicit leads to better designs.
Five factors to weigh
| Factor | Favours edge | Favours cloud |
|---|---|---|
| Latency | Decisions needed in milliseconds, such as rejecting a part on a moving line | Seconds of delay are acceptable |
| Connectivity | Remote, mobile or unreliable networks | Stable, affordable connectivity |
| Data volume and privacy | High-volume video or audio; data should stay on site | Moderate data volumes; central processing permitted |
| Model size | Model can be optimised to fit device memory and power | Large models or frequent heavy workloads |
| Fleet management | Organisation can manage, secure and update devices | Centralised operations preferred |
The middle ground: on-premises and near-edge
The choice is not binary. A local server in a factory, store or campus can run larger models than individual devices while still keeping data on site and avoiding round trips to distant data centres. This near-edge layer suits multi-camera analytics, local language model inference and aggregation across many sensors.
Hidden costs on each side
Edge
- Hardware procurement, installation, enclosures and power.
- Physical maintenance, cleaning and replacement.
- Secure provisioning and signed over-the-air updates across a fleet.
- Harder debugging when models misbehave in the field.
Cloud
- Bandwidth for transmitting video or high-frequency sensor data.
- Usage-based inference charges that scale with volume.
- Dependence on connectivity for real-time functions.
- Data transfer, residency and compliance considerations.
A common hybrid pattern
- Devices or near-edge servers run optimised models for real-time detection.
- Only results, summaries and selected samples are sent to the cloud.
- The cloud hosts training, evaluation, model registry and fleet dashboards.
- Improved models are deployed back to devices through controlled rollouts.
This pattern keeps responses fast and data exposure low while retaining central oversight and continuous improvement.
Test on the target hardware early
Model accuracy and speed on a development GPU say little about performance on an edge accelerator after quantisation. Benchmark candidate models on the actual target hardware, under realistic conditions such as temperature and concurrent streams, before committing to an architecture.

