Provider Overview
Chrome AI
Free, local, and privateUses Google’s Gemini Nano running entirely on your device. No API keys required.
OpenAI
Powerful cloud modelsAccess GPT-4, GPT-4 Turbo, and other OpenAI models via API.
Ollama
Self-hosted flexibilityRun local LLMs (Llama 2, Mistral, etc.) on your own machine.
Chrome AI (Default)
Requirements
Chrome AI uses Google’s on-device Gemini Nano model. Configuration is done viachrome://flags:
Required Flags
Enable Optimization Guide
Navigate to:Set to: “Enabled BypassPerfRequirement”This enables the on-device AI model to run without hardware restrictions.
Enable Prompt API
Navigate to:Set to: “Enabled”Activates the Language Model API for text generation.
Configuration
Set provider to
chrome-ai in AI Config settings.Controls response randomness and creativity.
- Range: 0.0 - 2.0
- Low (0.0-0.7): More focused and deterministic
- Medium (0.8-1.2): Balanced creativity
- High (1.3-2.0): More random and creative
Number of top token candidates considered for each generation step.
- Range: 1 - 128
- Lower: More focused responses
- Higher: More diverse vocabulary
Preferred output language for responses.Supported languages:
en- Englishes- Spanishja- Japanese
Enable multimodal image analysis capabilities.Requires the Multimodal Input flag enabled.
Enable multimodal audio transcription.Requires the Multimodal Input flag enabled.
System Prompts
Customize the assistant’s personality and behavior:Available Personalities
Available Personalities
Select a pre-configured personality:
default: Helpful and concise assistantprofessional: Formal, well-structured responsesfriendly: Warm and conversationaltechnical: Expert technical guidancecreative: Imaginative and expressiveconcise: Brief, to-the-point answersteacher: Educational explanationscustom: Use your own custom prompt
Custom system prompt (only used when
systemPromptType is custom).Example:OpenAI
API Key Setup
Get API Key
- Sign up at platform.openai.com
- Navigate to API Keys section
- Click “Create new secret key”
- Copy the key (starts with
sk-)
Configuration
Set to
openai to use OpenAI models.Your OpenAI API key.
OpenAI model to use for chat completions.Recommended models:
gpt-4-turbo-preview- Latest GPT-4 Turbo (best quality)gpt-4- Standard GPT-4gpt-3.5-turbo- Faster, more economicalgpt-3.5-turbo-16k- Extended context window
Response creativity (0.0 - 2.0).
- 0.0-0.3: Focused, deterministic
- 0.4-0.7: Balanced (recommended)
- 0.8-1.0: Creative
- 1.1-2.0: Very creative/random
Maximum tokens in the response.
- Higher values allow longer responses
- Affects API costs
- Typical range: 500-4000
Enable GPT-4 Vision for image analysis.Requires
gpt-4-vision-preview or similar vision-capable model.Enable audio transcription via Whisper API.
System Prompts
Choose from the same personality options as Chrome AI (default, professional, friendly, etc.).
Custom system prompt when
systemPromptType is custom.Ollama (Local)
Setup
Install Ollama
Download and install from ollama.aiSupported platforms: macOS, Linux, Windows
Configuration
Set to
ollama for local Ollama models.Ollama API endpoint.
- Default:
http://localhost:11434 - Custom: If running on different port/host
Model name to use.Popular models:
llama2- Meta’s Llama 2mistral- Mistral 7Bcodellama- Code-specialized Llamamixtral- Mixtral 8x7B (larger, more capable)phi- Microsoft Phi-2
ollama list to see installed models.Response creativity (0.0 - 2.0).
Maximum tokens in response.
Enable image analysis (requires vision-capable model like
llava).Enable audio transcription (experimental).
System Prompts
Personality selection (same options as Chrome AI and OpenAI).
Custom system prompt for
custom personality type.Provider Comparison
| Feature | Chrome AI | OpenAI | Ollama |
|---|---|---|---|
| Cost | Free | Pay per token | Free (self-hosted) |
| Privacy | Local, private | Cloud, data sent to OpenAI | Local, private |
| Setup | Chrome flags | API key | Install + download models |
| Performance | Fast, on-device | Fast, cloud-powered | Depends on hardware |
| Models | Gemini Nano | GPT-4, GPT-3.5 | Llama 2, Mistral, etc. |
| Image Support | Yes (multimodal) | Yes (GPT-4 Vision) | Yes (with llava) |
| Audio Support | Yes (multimodal) | Yes (Whisper) | Limited |
| Internet Required | No | Yes | No |
Troubleshooting
Chrome AI not available
Chrome AI not available
Check:
- Chrome version 138 or higher
- All three flags enabled in
chrome://flags - Chrome restarted after enabling flags
- Model downloaded (check
chrome://components)
OpenAI API errors
OpenAI API errors
Common issues:
- Invalid API key: Double-check key in settings
- Rate limit: Reduce request frequency or upgrade plan
- Model not found: Verify model name spelling
- Insufficient quota: Add credits to OpenAI account
Ollama connection failed
Ollama connection failed
Verify:
- Ollama is running:
ollama list - Endpoint is correct:
http://localhost:11434 - Model exists:
ollama listshows your model - No firewall blocking port 11434