Gemini API Key Tester

Test your Google Gemini API key connectivity and get detailed diagnostic information and models the key has access to

Test API Key

Your API key is not stored and is only used for testing connectivity.

Help & Troubleshooting

Getting Your API Key
  1. Visit Google AI Studio
  2. Sign in with your Google account
  3. Create or select an API key
  4. Copy the key and paste it above
Common Issues
  • Invalid API Key: Double-check the key format
  • Permission Denied: Ensure API access is enabled
  • Quota Exceeded: You've hit free tier limits - wait or upgrade
  • Network Error: Check internet connectivity
Using Different Models

Your API key works with all available models. To use a specific model:

  1. Test your API key above to see all available models
  2. Choose a model from the "Available Models" section
  3. Copy the code snippet provided for that model
  4. Replace "your_api_key_here" with your actual API key
  5. Customize the prompt for your specific use case

Note: You don't need to "configure" your API key for specific models. The same key works with all models you have access to - you just specify which model to use in your code.

Rate Limits & Quota Issues

If you see quota exceeded errors:

  • Free Tier Limits: You've hit daily/minute request limits
  • Wait: Try again after the suggested retry delay (usually 1-2 minutes)
  • Use Different Model: gemini-1.5-flash has higher free tier limits than gemini-1.5-pro
  • Upgrade: Consider a paid plan for higher limits

Free Tier Typical Limits: 15 requests/minute, 1,500 requests/day, 1M tokens/minute
View current rate limits