On-Device AI, Explained
What it means for AI to run on your own device, how browsers can run AI models, and the privacy and speed trade-offs compared with the cloud.
"On-device AI" means the AI model runs on your own phone, tablet or computer, rather than on a company's server. For image tools, that means your photo never has to leave your device.
Cloud AI vs. on-device AI
With cloud AI, your photo is uploaded to a server, the model processes it there, and the result is sent back. With on-device AI, the model itself is downloaded to your device, and the processing happens locally.
How a browser can run AI
Modern browsers can run demanding code efficiently. Technologies like WebAssembly let them run fast compiled code, and WebGPU lets web pages use the graphics card for heavy calculations. AI models designed for this can run directly in a web page. See WebGPU explained.
The privacy benefit
When processing happens on your device, the photo isn't sent to a server, so it can't be stored, analysed or leaked there. This matters for personal photos, documents, signatures and images of children. See photo privacy in online editors.
The trade-offs
- First-time download: the model has to be downloaded once, which can take a while on slow connections. Browsers usually cache it afterwards. See why AI models are large downloads.
- Device speed: older or low-power devices take longer. See GPU vs. CPU for AI.
- Memory: very large images may need a faster, lower-memory mode.
- Model size limits: on-device models are often smaller than the biggest cloud models.
Works offline
Once the model is cached, many on-device tools keep working without an internet connection. See editing images offline.
How to tell
A trustworthy tool should say clearly where processing happens. You can also check with your browser's developer tools whether images are being uploaded.
In BGZone
BGZone removes backgrounds on your device. The cutout model runs in a background worker in your browser, on the graphics card when the browser allows. See removing a background without uploading your photo.