Provider Setup
How to add your Google Gemini key
Gemini 2.5 Pro, Gemini 2.0 Flash
API key format: AIzaSy… (39 chars)
Google’s Gemini models — fast, multilingual, and the cheapest tier offers a generous free quota.
Stored encrypted. Your key is encrypted with pgcrypto inside our Supabase database the moment you save it. Just like your password, we can’t read it back — only your rewrite requests can decrypt it in-memory to call Google Gemini.
Pricing: Gemini Flash has a free tier (rate-limited). Paid tier is billed per token via Google Cloud.
Step-by-step
Open Google AI Studio
Go to aistudio.google.com and sign in with your personal Google account (Workspace accounts work too, but your admin may have disabled API access). Accept the terms when prompted. This is Google’s own interface — separate from Vertex AI in Google Cloud Console.
Open AI StudioOpen the API keys page
Click ‘Get API key’ at the bottom-left of AI Studio (key icon), or go directly to aistudio.google.com/app/apikey.
API key pageCreate the key
Click ‘+ Create API key’. In the dialog, either pick ‘Create API key in new project’ (easiest — Google makes a Cloud project named ‘Generative Language Client’ for you) or attach it to an existing GCP project. The key appears immediately.
Copy the key (starts with AIzaSy…)
Click the copy icon next to the key. Unlike OpenAI/Anthropic, AI Studio lets you view this key again later from the same page, but treat it as a secret regardless.
(Optional) Enable billing for higher limits
Free-tier Gemini Flash is generous but rate-limited (≈15 requests/minute on free). For production, link a billing account to the GCP project the key belongs to — quotas jump to thousands of requests per minute and you switch to pay-as-you-go.
Google Cloud billingPaste it into PulseWrite
Dashboard → Your AI keys → choose ‘Google Gemini’ and paste. Save.
Open dashboard
Tips
- Gemini 2.0 Flash is the best price/performance default — and free for low volume.
- If you hit 429 rate-limit errors, link billing to the project — free quotas reset per minute.
- Pricing: ai.google.dev/pricing. As of 2025: Flash is $0.075/$0.30 per 1M tok on paid tier.
- If creation fails with ‘API not enabled’, open console.cloud.google.com/apis/library/generativelanguage.googleapis.com and click ‘Enable’.
Google Gemini FAQ
Is the free tier really free?
Yes, but rate-limited (~15 requests/min on Gemini 2.0 Flash) and your prompts may be used to improve Google's models. Link billing to switch to the paid tier with higher limits and no training on your data.
What's the difference between AI Studio and Vertex AI?
AI Studio is the consumer-style key you generate in a few clicks — perfect for PulseWrite. Vertex AI lives in Google Cloud Console and uses service accounts; PulseWrite doesn't need it.
Why do I see 'API not enabled'?
The Generative Language API isn't turned on for the Cloud project your key belongs to. Open the API library link in step 5 and click Enable.