๐ API Guide ยท Free Tier ยท Developer Tools
Gemini API Free Tier: Limits, Models and Gotchas (2026)
Ask five websites what the Gemini API free tier allows and you'll get five different answers. That isn't because they're careless. Google changed the limits several times over the past year, stopped printing a simple per-model table in its documentation, and moved some models in and out of the free tier. This guide tells you what's reliably true, what's disputed, and where to look for the number your own project actually gets.
Is the Gemini API free?
Yes. The Gemini API has a free tier that isn't a trial and doesn't expire. You create a key in Google AI Studio, and eligible models are free within rate limits for requests per minute, tokens per minute and requests per day. Limits apply per Google Cloud project, and your exact numbers appear in AI Studio.
๐ Quick Start
Open Google AI Studio, create an API key, and check your project's live limits in the rate limit view. Use a Flash or Flash-Lite model first, since those are the models free-tier guides agree on.
What's actually free?
Here's where sources disagree, so I'll separate the solid parts from the shaky ones.
| Question | โ What sources agree on | โ ๏ธ Where they disagree |
|---|---|---|
| Is there a free tier? | Yes, and it doesn't expire | Nothing |
| Are Flash and Flash-Lite free? | Yes | Exact request numbers |
| Is a Pro model free? | Reports differ by date | Some say Pro left the free tier in April 2026; others list a 2.5 Pro model as free as of late September |
| Are image and video models free? | No, they're paid | Nothing |
| Does Google publish a limits table? | Not any more | Third-party tables vary widely |
๐ก My advice: Assume Flash-class models are your free workhorses, and treat any Pro model as paid until AI Studio tells you otherwise for your own project. Google's documentation points to AI Studio's rate limit page for the account-specific numbers, which is the only source worth trusting for exact figures.
Why the numbers you read online don't match
Third-party tables circulate wildly different values: some list 15 requests per minute and 1,500 per day for Flash, others quote 5 to 15 requests per minute and 100 to 1,000 per day depending on model. Reddit users reported sharp cuts in late 2025, and some figures from that period stuck around in blog posts long after they changed.
๐ A pattern worth learning: Free-tier limits are a moving target. Treat any article's numbers, including this one, as a snapshot, and check AI Studio before you design anything around a specific cap.
How Gemini free-tier limits work
Three measures matter, and a fourth shows up for image models.
๐ Two hard rules: First, limits are enforced per project, not per key, so creating a second key in the same project gets you nothing. Second, daily limits reset at midnight Pacific time, not at midnight where you live, which surprises people in other time zones.
The privacy catch you shouldn't skip
On the free tier, Google's terms allow it to use your inputs and outputs to improve its products, and human reviewers may read them. That's the price of free. If you're sending customer data, private documents or anything you wouldn't want reviewed, don't use the free tier for it. A paid tier changes that arrangement, so read the current terms on Google's API terms page before you decide.
Common mistake: Prototyping with real customer data on the free tier "just to test." Use fake or public data until you've confirmed the terms that apply to your project. Human reviewers may read your inputs and outputs.
Free grounding allowance
Gemini 3 models include an allowance for Google Search grounding, reported at 5,000 free search-grounded prompts per month shared across those models, with a per-request charge after that. Treat this as a reported figure, and verify it on the pricing page before you rely on it.
Quick start code
# pip install google-genai from google import genai client = genai.Client(api_key="YOUR_AI_STUDIO_KEY") response = client.models.generate_content( model="MODEL_ID_FROM_AI_STUDIO", # copy a Flash model ID from the console contents="Explain rate limits in two sentences.", ) print(response.text)
โ ๏ธ Model ID warning: Replace the model ID with a current one from AI Studio's model list. Old tutorials often name retired models, and the 2.5 line shuts down October 16, 2026.
Handling 429 errors
A 429 means you've hit a limit. Wait and retry, and if the daily cap is gone, wait for the reset.
# Exponential backoff for 429 errors
import time
def ask(client, prompt, model, retries=4):
for attempt in range(retries):
try:
return client.models.generate_content(model=model, contents=prompt)
except Exception as e:
if "429" in str(e) and attempt < retries - 1:
time.sleep(2 ** attempt)
continue
raise
Backoff handles brief per-minute bursts. It can't fix a spent daily budget. If you see 429s early in the day, you're probably hitting tokens per minute, so shorten your prompts or add pauses.
Interactive guide: set up in ten minutes
| Step | Action | What Happens | Pro Tip |
|---|---|---|---|
| 1 | Sign in to Google AI Studio | You see the model playground | Use a personal account for experiments |
| 2 | Create an API key | A key is attached to a project | Store it in an environment variable |
| 3 | Open the rate limit view | Your live limits appear | Screenshot them with the date |
| 4 | Send a test prompt | You get a response | Start with a Flash model |
| 5 | Log your usage | You spot limits before they bite | Count tokens, not just requests |
Build your own: a quota tracker
Paste this into Claude or any AI chat to get a small tool that warns you before you hit the free tier.
Write a Python module called quota_guard.py for the Gemini API free tier. Requirements: - A class QuotaGuard(rpm, rpd, tpm) that I set from my AI Studio limits. - A method wait_if_needed(estimated_tokens) that sleeps just long enough to stay under RPM and TPM, using a rolling 60-second window. - A method record(tokens_used) that tracks requests and tokens today and saves the counts to a local JSON file. - Reset the daily count at midnight Pacific time (America/Los_Angeles). - Print a warning when I pass 80 percent of the daily limit. - Include a short usage example and comments on every function. - Use only the standard library.
โ Fill in your own numbers: Use the limits from your own AI Studio page, not from a blog post. Every project gets its own numbers, and they change when Google adjusts the free tier.
Which free tier fits your project?
If you want a different provider to compare, the Groq API free limits guide shows Groq's per-model, organization-wide caps. For chat instead of code, the Claude free plan limits guide explains Claude's rolling window. And if you'd rather skip rate limits and keep data on your machine, the LM Studio setup guide walks through running a local model. For voice output, see the free ElevenLabs alternatives, which includes a Gemini option.
โ Bottom line: The Gemini API free tier is real and doesn't expire, but Google no longer publishes a fixed limits table โ your exact RPM, TPM and RPD numbers live in AI Studio's rate limit view. Assume Flash-class models are free, treat Pro as paid until AI Studio says otherwise, and remember: per-project limits, Pacific-time midnight resets, and the privacy catch that allows Google to review your inputs. Migrate off Gemini 2.5 models today (shutdown Oct 16), use exponential backoff for 429 errors, and never send customer data on the free tier.
How this guide was checked
I compared several 2026 free-tier write-ups, a model lineup reference and a limits explainer, noted where they contradicted each other, and kept only the claims that most sources shared. Because Google doesn't publish a fixed table, exact numbers here are intentionally missing. Check AI Studio for yours.
Frequently asked questions
Further reading
- Gemini API rate limits documentation โ Google's official explanation of usage tiers and how limits are measured.