Free Google Gemini API: limits, models & how to get a key
Many Gemini Flash and Flash-Lite models are free of charge on the Free tier, with per-project rate limits shown in AI Studio.
- Credit card
- No card
- From China
- VPN
- OpenAI
- OpenAI-compatible
- Real-name check
- No real-name check
- Free allowance type
- Resets daily
- Checked
- verified on 2026-11-24 (official)
WebsiteSign upDocsPricing page
Limits
| Cost | Free of charge for listed models (input and output) |
|---|---|
| Per-model RPM/TPM/RPD | Not published in the docs; shown in AI Studio rate-limit page (the docs only list 200 RPM / 50,000 TPM / 10,000 RPD for Gemini Decision 1) |
| Daily reset | RPD resets at midnight Pacific time |
| Scope | Limits apply per project, not per API key |
| Data use | Free-tier content may be used to improve Google products |
Free models
gemini-3.8-flashgemini-3.6-flashgemini-3.5-flash-litegemini-3.1-flash-litegemini-3-flash-previewgemini-2.5-flashgemini-2.5-flash-litegemini-2.5-pro
How to get a key
- Sign in to Google AI Studio with a Google account.
- Open the API keys page and create a key (a project is created for you).
- Call the OpenAI-compatible endpoint or the native SDK with the key.
- Check your project's current limits on the AI Studio rate-limit page.
Call it
OpenAI-compatible base URL from this provider’s record: https://generativelanguage.googleapis.com/v1beta/openai/. Replace YOUR_API_KEY with a key from that provider. The model id is one listed as free.
curl
curl https://generativelanguage.googleapis.com/v1beta/openai/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-3.8-flash","messages":[{"role":"user","content":"Hello"}]}'Python
from openai import OpenAI
client = OpenAI(
base_url="https://generativelanguage.googleapis.com/v1beta/openai/",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="gemini-3.8-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Notes
- Free-tier per-model numbers are only visible inside AI Studio; the public docs do not list them.
- Docs say gemini-2.5-pro and gemini-2.5-flash are deprecated and requests route to other models from 2026-12-01.
- Pro/image/video models such as gemini-3.1-pro-preview show the free tier as not available.
- Experimental and preview models have stricter limits.
Sources and check date
Checked on the provider’s own page on 2026-11-24.
Similar providers
- OpenRouter — Models ending in :free cost $0, limited to 20 requests/minute and 50 requests/day (1,000/day after buying 10+ credits).
- Groq — Groq has a Free plan with daily request and token caps per model; exact free numbers are shown in your console.
- Cloudflare Workers AI — 10,000 Neurons per day free on the Workers Free plan, resetting at 00:00 UTC.
- Cohere — Free trial keys can use all Cohere models, capped at 1,000 API calls per month.
Questions
- Is the Google Gemini API free?
- Many Gemini Flash and Flash-Lite models are free of charge on the Free tier, with per-project rate limits shown in AI Studio.
- Does Google Gemini require a credit card?
- Our check marked Google Gemini as not requiring a credit card for the free allowance.
- Can I reach Google Gemini from China without a VPN?
- Our check marked Google Gemini as needing a VPN from China.
- Is the Google Gemini API OpenAI-compatible?
- Yes. The recorded base URL is https://generativelanguage.googleapis.com/v1beta/openai/.
- When was the Google Gemini free tier checked?
- We checked Google Gemini on the provider’s own page on 2026-11-24.
Get an email when a free tier changes
Leave an address. We mail it when a free allowance on this list changes.