Chrome Built-in AI Guide
Complete guide to setting up and using Chrome's built-in AI APIs. Different APIs have different availability levels - some are stable, others require special access.
API Availability Status
Translator API
StableChrome 138+
Translate text between languages with automatic language detection
Use Cases:
- Multilingual chat applications
- Social media translation
- Document translation
Language Detector API
StableChrome 138+
Automatically detect the language of input text
Use Cases:
- Auto-select source language for translation
- Content tagging and categorization
- Accessibility improvements
Summarizer API
StableChrome 138+
Generate concise summaries from long texts
Use Cases:
- Meeting transcripts
- Article summaries
- Review aggregation
- Content previews
Prompt API
StableChrome 138+
Natural language interaction with Gemini Nano
Use Cases:
- AI chat interfaces
- Content generation
- Question answering
Writer API
Origin TrialOrigin Trial
Generate new content based on prompts and context
Use Cases:
- Email composition
- Content creation
- Creative writing
Rewriter API
Origin TrialOrigin Trial
Rephrase and improve existing text
Use Cases:
- Text optimization
- Tone adjustment
- Content refinement
Proofreader API
EPP OnlyEPP Only
Interactive proofreading and grammar correction
Use Cases:
- Document editing
- Chat message correction
- Blog post proofreading
Hardware Requirements
Operating System
- Windows 10 or 11
- macOS 13+ (Ventura or later)
- Linux
- ChromeOS (from platform 16389.0.0)
Storage Space
- At least 22GB free space
- Includes Chrome profile directory
- Model size varies (typically 2-6GB)
GPU Requirements
- GPU with more than 4GB VRAM
- Required for Gemini Nano models
- Integrated graphics may not suffice
Network
- Unmetered internet connection
- Required for initial model download
- Metered connections may incur costs
Important Notes
- • If free storage drops below 10GB, models will be automatically removed
- • Models will be re-downloaded when requirements are met again
- • GPU requirements are strict - integrated graphics may not work
- • Initial model download requires significant bandwidth
Setup Instructions
Stable APIs (Chrome 138+)
Translator, Language Detector, Summarizer, Prompt APIs
Step 1: Update Chrome
Ensure you're using Chrome version 138 or later. You can check your version at chrome://version
Step 2: Enable Required Flags
Open Chrome and navigate to chrome://flags
, then enable these flags:
#optimization-guide-on-device-model
#translation-api
#language-detection-api
#summarization-api-for-gemini-nano
#prompt-api-for-gemini-nano
Step 3: Restart Chrome
Click the "Relaunch" button at the bottom of the flags page to restart Chrome with the new settings.
Origin Trial APIs
Writer and Rewriter APIs
Step 1: Join Origin Trial
Register for the Chrome Origin Trials to access experimental APIs:
- • Visit Chrome Origin Trials
- • Search for "Writer API" and "Rewriter API"
- • Register your domain and get the trial token
Step 2: Add Trial Token
Add the origin trial token to your website's HTTP headers:
Step 3: Enable Flags
Enable these additional flags in chrome://flags
:
#writer-api-for-gemini-nano
#rewriter-api-for-gemini-nano
Early Preview Program (EPP)
Proofreader API
Step 1: Join EPP
Apply to join Chrome's Early Preview Program:
- • Visit the Chrome Release Channels page
- • Find the Early Preview Program section
- • Submit your application with use case details
EPP Requirements
- • Approval required from Chrome team
- • Must demonstrate legitimate use case
- • Limited to approved participants only
- • Features may be unstable or change frequently
Verification
Test Each API
Visit each page in the playground to verify the APIs are working:
Translate
Summarize
Prompt
Writer
Troubleshooting
- • If APIs show "Not Available", check that all flags are enabled
- • Ensure Chrome is updated to the latest version
- • Check hardware requirements are met
- • Verify you have sufficient storage space
- • Try restarting Chrome after enabling flags
Important Notes
- • Chrome AI features are experimental and may change
- • APIs may become unavailable in future Chrome versions
- • Keep Chrome updated to access the latest features
- • Origin Trial tokens expire and need renewal
- • EPP access is limited and requires approval