Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

LiteRT.js Brings On-Device Machine Learning to the Browser Without Server Calls

AILoop 1 min read

Google has released LiteRT.js, a new browser runtime that enables real-time machine learning inference directly in the browser, eliminating the need for server calls. The setup is remarkably simple: developers need only install the @litertjs/core package, load a .tflite model file, and point the runtime at WebGPU. Existing PyTorch models can be converted in a single step using ai-edge-torch.

The runtime intelligently selects the fastest available backend: XNNPACK handles CPU inference, ML Drift enables GPU acceleration via WebGPU, and the new WebNN API targets NPUs. Performance benchmarks show up to 3x speed improvements over other web runtimes on an M4 MacBook Pro, with GPU acceleration delivering 5x to 60x gains over plain CPU execution. LiteRT.js is designed as a direct upgrade path from TensorFlow.js.

Potential applications include object detection, depth mapping, and image upscaling—all running locally, privately, and free of charge. The question remains: is on-device browser AI finally ready to replace server inference, or is it still a toy?

React