100% On-Device Inference

Chrome Offline Browser AI Showcase

Demonstrating Chrome's built-in offline Web AI APIs. Test Gemini Nano and Gemma expert variants running entirely on-device, offering zero server cost, absolute privacy, and zero latency.

Built-in Web AI Diagnostics (6 APIs)
Simulation Mode Active
Prompt API Checking...
Summarizer Checking...
Translator Checking...
Lang Detector Checking...
Writer API Checking...
Rewriter API Checking...
How do I enable live On-Device AI in my browser?

To run these demos using the native models built into Google Chrome, configure these flags:

  1. Open Chrome and navigate to chrome://flags/#prompt-api-for-gemini-nano. Set it to Enabled.
  2. Navigate to chrome://flags/#optimization-guide-on-device-model. Set it to Enabled BypassPerfRequirement.
  3. Navigate to chrome://flags/#translation-api (or writing-assistance APIs) if you want support for specialized translation, writing, and rewriting on-device models.
  4. Restart Chrome. The browser will download the model in the background (check progress at chrome://components under Optimization Guide On Device Model).

Currently active in Simulation Mode: Playground will run fully simulated mocks so you can test the functionality right away.

Prompt API Playground

Run open-ended text prompting or generate structured responses using response constraint schemas directly in the browser.

LinkedIn post on local AI JS Code Review Nano vs Pro
Enable Response Constraint (JSON Schema Mode)
Model Output Idle
Execute prompt to view output...

Summarizer API Playground

Extract key insights, teasers, or TL;DRs from long articles using Chrome's specialized text summarization model.

Load 'AI Visibility' Blog Text Load 'AI ROI Calculator' Text
Summary Output Idle
Provide text and run summarizer...

Translator API Playground

Translate sentences dynamically using Chrome's offline translation engine, preserving security and privacy.

Translation Output Idle
Input text and translate to view output...

Language Detector API

Identify the language of a text block entirely client-side, with relative confidence scores using the expert language detector model.

French Japanese Hindi
Analysis Results Idle
Provide text to detect language...

Writer API Playground

Generate new content or drafts locally from scratch by supplying a prompt and context details to the native browser writer assistant.

Generated Draft Idle
Draft details will populate here...

Rewriter API Playground

Polish or rewrite your user-generated inputs by adapting the length, tone, or formatting natively using browser intelligence.

Polished Text Output Idle
Rewritten output will populate here...

Zero-Cost AI Audit Simulator

Based on chudi.dev's visibility methodology, see how moving the "judgment layer" to on-device models saves significant server model token costs.

[INFO] Ready to audit AI Visibility. Click 'Run Audit Simulator' below.
Savings Invoice
Robots.txt Scan: $0.00 (deterministic)
Structured Data Scan: $0.00 (deterministic)
Traditional Server AI: $0.60 (cloud tokens)
On-Device AI (Nano): $0.00 (local CPU/GPU)
Direct Savings: $0.60 Saved
Verdict: PASS
Reason description...