Get your Google / Gemini API key
Get your Gemini API key — free tier available, no credit card required
Google's Gemini API is accessed through Google AI Studio. No Google Cloud project or credit card is required for the free tier — just a Google account.
AIzaSyFree tier: Gemini 2.5 Flash (10 RPM, 250 RPD), Flash-Lite (15 RPM, 1,000 RPD). No credit card required. Shared 250K tokens/min cap.
Available models on Mykey
Step-by-step guide
Sign In to Google AI Studio
Access the API key page with your Google account.
- Go to https://aistudio.google.com/app/apikey
- Sign in with your Google account
- First-time users: Accept the Terms of Service (Google APIs Terms + Gemini API Additional Terms)

Create an API Key
Generate your key in AI Studio.
- Click "Create API key"
- Choose one of:
- • "Create API key in new project" — Google auto-creates a Cloud project and key (recommended)
- • "Create API key in existing project" — if you already have a Google Cloud project
- The key is generated and displayed immediately

Copy and Save Your Key
Your key is shown only once.
- Copy the key immediately — it starts with AIzaSy followed by 33 characters
- Example: AIzaSyDaGmWKa4JsXZ-HjGw7ISLn_3namBGewQe
- After dismissing the dialog, only the prefix is shown
- Store securely in a password manager

(Optional) Set Up Billing for Higher Limits
Upgrade for access to all models and higher rate limits.
- Free tier: Gemini 2.5 Flash, 2.5 Flash-Lite, 3 Flash, and 3.1 Flash-Lite with reduced quotas
- Pro models (2.5 Pro, 3 Pro) require a paid billing account
- Enable billing on your Google Cloud project for higher rate limits and the full model catalog
Free tier usage data may be used to improve Google products. For production apps with sensitive data, use the paid tier.
Add Your Key to Mykey.chat
Connect your key in Mykey settings.
- In Mykey.chat, go to Settings → API Keys
- Select Google / Gemini as the provider
- Paste your API key
- Click Save
Key Restrictions (Recommended)
For security, restrict your Gemini API key to prevent unauthorized use:
- Go to https://console.cloud.google.com/apis/credentials
- Find your Gemini API key
- Click "Edit API key"
- Under "API restrictions", select "Restrict key"
- Choose "Generative Language API" from the dropdown
- Click "Save"
You can also restrict by IP address or HTTP referrer for extra security. Exposed keys may be blocked by Google.
Common issues
| Issue | Fix |
|---|---|
| API key not found | Ensure the key starts with AIzaSy — no extra characters |
| Permission denied | Key may have been blocked due to exposure — create a new key and restrict it |
| Model not available on free tier | Pro models require billing — upgrade to paid tier |
| 429 Quota exceeded | Free tier has reduced limits — wait for reset or enable billing |
Frequently asked questions
Do I need a credit card for Google Gemini?
No. The free tier is included with every key and requires no billing. You only need a Google account.
Why is my Google Gemini key blocked?
Google proactively blocks API keys that have been publicly exposed. If your key is blocked, create a new one in Google AI Studio and restrict it to the Generative Language API in Google Cloud Console for security.
Ready to connect your Google / Gemini key?
Sign in to Mykey and paste your API key in Settings. It will be encrypted with AES-256 immediately.
Sign in to Mykey