Google AI Studio
Free QuotasGoogle AI Studio is Google's free prototyping console and API for Gemini models. The free tier covers Gemini 4 Hydrogen, the current Flash family (Gemini 3.8 Flash, 3.6 Flash, 3.5 Flash-Lite, 3.1 Flash-Lite), and Gemini 3 Flash Preview; Gemini 4 Carbon and Argon and the newest Pro models are paid only. The Gemini 2.5 models are closed to new accounts (the API answers "no longer available to new users"). Google no longer publishes the free per-model rate limits in its docs: they are shown in AI Studio.
Rate Limit
Max Context
Cost
$0
.00
Quick Start
API Endpoint
https://generativelanguage.googleapis.com/v1beta
Google AI Studio at a glance
-
Free tier: Permanent free tier
-
Sign-up: No credit card needed
-
Limits: 5-30 RPM (varies by model)
-
Models: 8 free models listed
Example: Making Your First Request
import requests
import os
# Get your API key from https://aistudio.google.com/
api_key = "YOUR_API_KEY"
url = f"https://generativelanguage.googleapis.com/v1beta/models/gemini-3.8-flash:generateContent?key={api_key}"
headers = {
"Content-Type": "application/json"
}
data = {
"contents": [{
"parts": [{"text": "Explain how AI works"}]
}]
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Free Models
| Model Name | ID | Context | Capabilities |
|---|---|---|---|
| Gemini 3.8 Flash |
gemini-3.8-flash
|
1,000,000 Context |
|
| Gemma 4 26B A4B IT |
gemma-4-26b-a4b-it
|
256,000 Context |
|
| Gemma 4 31B IT |
gemma-4-31b-it
|
256,000 Context |
|
| Gemini 3 Flash Preview |
gemini-3-flash-preview
|
1,000,000 Context |
|
| Gemini 3.1 Flash-Lite |
gemini-3.1-flash-lite
|
1,000,000 Context |
|
| Gemini 3.5 Flash-Lite |
gemini-3.5-flash-lite
|
1,000,000 Context |
|
| Gemini 3.6 Flash |
gemini-3.6-flash
|
1,000,000 Context |
|
| Gemini 4 Hydrogen |
gemini-4-hydrogen
|
N/A |
|
Current Limits
Request Limits
-
Rate LimitVaries by model (per-model limits are now shown only inside AI Studio)
-
Daily LimitVaries by model (shown in AI Studio). Free: Gemini 4 Hydrogen, Gemini 3.x Flash / Flash-Lite and Gemma 4Gemini 3.x Pro and the other Gemini 4 models are paid
Token Limits
Throughput
Monthly Cap
Key Features
Common Use Cases
Content Generation
Data Extraction
Image & Video Analysis
Code Generation
chat bots
Known Limitations
- Data used for training (Unpaid tier)
- Rate limits are enforced per minute/day
- No SLA for free tier
Quick Start Guide
Sign in to Google AI Studio
Get API Key
Start Building
Frequently Asked Questions
How do I get an API key?
Getting your Google AI Studio API key is simple:
- Visit the official Google AI Studio website
- Sign up for a free account (no credit card required)
- Navigate to the API section in your dashboard
- Generate your API key and start using it immediately
Are there free quotas?
Yes! Google AI Studio offers a generous free tier with no credit card required. Check the provider's website for current terms and conditions regarding free tier availability and duration.
What happens if I exceed the free limits?
If you reach the rate limit, your requests will be temporarily throttled. The limits reset automatically after the specified time period. You can always monitor your usage in the provider's dashboard.
Is my data secure?
Google AI Studio takes security seriously. All API communications are encrypted via HTTPS. Check their privacy policy and terms of service for detailed information about data handling and retention policies.
Make your first call to Google AI Studio
Create a key on the official site and make your first call with the examples on this page. Free limits can change, so check them before you ship.