Firefox Deploys On-Device AI Features With Privacy
A Mozilla engineer recounts building Firefox's on-device AI runtime and features, detailing design choices and timelines through December 2025. They describe using ONNX runtime and Transformers.js, shipping PDF.js alt text in Firefox 130 and Smart Tabs in 141, deploying a model hub, and introducing opt-in server-side AI "AI Window" in November 2025 while highlighting privacy and hybrid architecture implications.
Key Points
- 1Built ML inference runtime using ONNX and Transformers.js with a pure C++ backend and multi-process isolation
- 2Reduced latency and preserved privacy, enabling on-device features like PDF.js alt text in Firefox 130
- 3Encourages small, task-specific models under 200MB and hybrid server-side design with privacy guarantees
Scoring Rationale
Official, practical engineering and shipped features drive relevance, but scope is browser-specific and not a paradigm-changing advance.
Sources
Public references used for this report.
Practice interview problems based on real data
1,625 SQL & Python problems across 15 industry datasets — the exact type of data you work with.
Try 250 free problems

