This demo runs Google's Gemini Nano locally in Chrome via the Prompt API.
Prerequisites: Chrome 138+, macOS 13+, 22 GB free storage, >4 GB VRAM, unmetered network. Model (~2-3 GB) downloads on first use.
chrome://flags/#optimization-guide-on-device-model → "Enabled BypassPerfRequirement"chrome://flags/#prompt-api-for-gemini-nano → "Enabled"chrome://flags/#ai-prompt-api-for-multimodal-input → "Enabled"chrome://flags/#ai-prompt-api → "Enabled"chrome://on-device-internals to check model status
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-ai-prompt-api --enable-ai-prompt-api-multimodal-input --enable-experimental-web-platform-features