Engineering

Edge AI vs Cloud: Where Should Your Computer Vision Run?

Edge AI vs cloud for computer vision: latency, bandwidth, privacy and cost compared, with the hybrid architecture most production systems use.

Key takeaways

  • Edge AI runs computer vision models on devices near the camera; cloud AI streams video to remote servers for processing.
  • Edge wins on latency, bandwidth and privacy; cloud wins on elastic compute, central management and heavy batch workloads.
  • Continuous video is expensive to upload: 50 cameras can generate more than a terabyte of video a day.
  • Most production systems are hybrid: inference at the edge, with management, analytics and retraining in the cloud.

One of the first architecture decisions in any computer vision project is where the models will run. Will video be processed on devices in the store, factory or stadium (the edge), or streamed to servers in the cloud?

The answer affects cost, speed, privacy and how easily the system scales. This guide sets out the trade-offs and offers a practical way to decide.

Edge AI and cloud AI, defined

Edge AI means running inference on hardware physically close to the cameras: a small accelerator box in a comms cupboard, a GPU server on-site, or even the camera itself. Video is analysed locally, and only results (events, counts, short clips) are sent onward.

Cloud AI means sending video or images to data centres where models run on shared, scalable GPU infrastructure. Results come back over the network.

Edge vs cloud: side by side

FactorEdge AICloud AI
LatencyMilliseconds; no network round tripDepends on uplink and distance; typically hundreds of ms or more
BandwidthMinimal; only events and clips leave the siteHigh; continuous upload of every stream
PrivacyRaw video stays on premisesVideo leaves the site; needs stronger governance
ResilienceKeeps working if the internet dropsStops if connectivity is lost
Compute flexibilityFixed by on-site hardwareEffectively unlimited; scale on demand
Upfront costHardware per siteLow; pay as you go
Running costLow once deployedOngoing compute, storage and egress fees
Fleet managementNeeds remote device managementCentralised by default

The bandwidth maths most projects underestimate

A single 1080p camera stream encoded with H.264 typically uses about 2–4 Mbps. That sounds small until you multiply it:

  • 50 cameras × 3 Mbps = 150 Mbps of continuous upload.
  • 150 Mbps over 24 hours ≈ 1.6 TB of video per day, per site.

Few retail stores, warehouses or sports grounds have that much spare upload capacity, and storing and processing that volume in the cloud adds up quickly. This is the main reason real-time, multi-camera use cases such as loss prevention and self-checkout monitoring are almost always processed at the edge.

When edge AI is the right choice

  • Real-time decisions: self-checkout prompts, safety interlocks, rejecting defects on a production line.
  • Many cameras per site where bandwidth would be prohibitive.
  • Sensitive environments: healthcare, workplaces and anywhere raw footage shouldn't leave the building.
  • Unreliable connectivity: remote sites, vehicles, drones and stadiums on match day.

When the cloud is the right choice

  • Batch and retrospective analysis: processing archived footage or full sports matches after the event.
  • Low camera counts or event-triggered images rather than continuous video.
  • Very large models, such as vision-language models that answer open questions about footage, which are impractical on small devices.
  • Fast experimentation during a proof of concept, before hardware is chosen.

The hybrid pattern most teams end up with

In practice, the question is rarely "edge or cloud" but "which parts where?" A typical production architecture looks like this:

  1. Edge: video decoding, detection, tracking and real-time rules run on-site. Alerts fire locally in milliseconds.
  2. Edge to cloud: only structured events, metrics and short evidence clips are uploaded.
  3. Cloud: dashboards, cross-site analytics, alert review, model training and fleet management.
  4. Cloud to edge: improved models are pushed back to devices over the air, with staged rollouts and rollback.

Run inference where the data is, and do the learning where the data comes together.

Edge hardware options

  • NVIDIA Jetson modules: a popular, flexible choice with a mature software stack (CUDA, TensorRT, DeepStream).
  • Dedicated AI accelerators such as Hailo and Google Coral: very power-efficient for well-optimised models.
  • On-prem GPU servers: for sites with dozens of cameras or heavier models.
  • Smart cameras with built-in NPUs: good for simple, single-camera tasks.

Getting the most from edge hardware means optimising models through quantisation (FP16 or INT8), pruning, efficient architectures and runtime compilers such as TensorRT. Done well, this can multiply throughput on the same device with little loss of accuracy.

A quick decision checklist

  1. Does the use case need a response in under a second? → Edge.
  2. Are there more than a handful of continuous streams per site? → Edge.
  3. Must raw video stay on premises? → Edge.
  4. Is the work batch-based, occasional or very model-heavy? → Cloud.
  5. Do you need cross-site dashboards, retraining and fleet updates? → Cloud, as part of a hybrid.

ComputeSight deploys the same pipelines to the edge, the cloud or both, behind one API. If you're weighing up options, talk to our team and we'll help you size it.