What Google Gemini really gives you for free (and what billing changes)
Since 18 June 2026, a free Google account no longer gets you Gemini CLI. Google moved free users to Antigravity CLI. The AI Studio API free tier is still there. Here is what each gives you, and what changes when you add billing, checked on 6 November 2026.
What is free today
- Gemini CLI is open source, but on 18 June 2026 Google replaced it with Antigravity CLI for free-tier and Google One users. Signing in with a free Google account is no longer the free route.
- The free tier of the Gemini API in Google AI Studio still exists. Several models are listed as "Free of charge" on the pricing page.
- Free-tier limits are not printed in the docs. The rate limits page says to look at your own project in AI Studio for the current numbers.
- On the free tier, Google says your prompts and responses can be used to improve its products. On the paid tier they are not.
Gemini CLI: what changed
Gemini CLI is a terminal tool that sends your prompts to Gemini and can read files in your project. It is still on GitHub under an open source license. What changed is who may use Google's servers through it.
- The docs carry a notice: Gemini CLI "was replaced by Antigravity CLI on June 18th, 2026" for unpaid tier and Google One users.
- Google's announcement says Gemini CLI stopped serving requests for Google AI Pro, Ultra and free-tier users, who are now supported through Antigravity CLI. Access for Gemini Code Assist Standard and Enterprise licences, and Google Cloud, is described as fully supported.
- Gemini CLI is also said to remain usable with paid Gemini API keys.
- The docs say Gemini CLI is not optimised for the newest model, Gemini 4 Argon, and send you to Antigravity for it.
One more thing to know: the Gemini CLI quota page still lists old numbers (1,000 requests per day for a Google account, 250 per day for an unpaid API key, Flash model only). It sits under the same replacement banner, and Google's own pages do not agree with each other. We could not verify that those numbers still apply, so do not plan around them. Antigravity CLI has no free quota figure in the pages we checked.
The AI Studio API free tier
This is the route that is clearly documented. You create an API key in Google AI Studio and call the Gemini API from your own code, or from a tool that accepts a key.
- The pricing page marks these as "Free of charge" on the free tier (at the time of checking):
gemini-3.8-flash,gemini-3.6-flash,gemini-3.5-flash-lite,gemini-3.1-flash-lite,gemini-3-flash-preview,gemini-2.5-flash-lite, plus embedding, text-to-speech, transcription and live models. - Not available on the free tier:
gemini-4-argon,gemini-3.1-pro-preview, and the image and video generation models listed on that page. gemini-2.5-proandgemini-2.5-flashare marked deprecated and, per the page, route to newer models from 1 December 2026 and are billed at those models' rates.
How limits work
- Three main limits: requests per minute (RPM), input tokens per minute (TPM) and requests per day (RPD). Some models add image or daily token limits.
- Break any one limit and you get an error, even if the others are fine.
- Limits are applied per project, not per API key. Ten keys in one project share one budget.
- Daily quotas reset at midnight Pacific time.
- The free tier requires an active project, and some projects need verification first.
Important: the rate limits page gives no free-tier numbers per model. It says current limits are shown in AI Studio. Open your project there before you design anything around a specific number, and treat any blog that quotes one as out of date until you confirm it.
Get a key and make a first call
Open the AI Studio API keys page (opens in a new tab), sign in, and click the button to create an API key. If the button is disabled you probably lack permissions on the project; ask its admin.
Copy the key and keep it private. Put it in an environment variable instead of in your code (macOS and Linux shown, Windows uses the Environment Variables dialog):
export GEMINI_API_KEY="YOUR_API_KEY"Make a test call with curl, using a model that the pricing page lists as free:
curl -X POST "https://generativelanguage.googleapis.com/v1beta/interactions" \ -H "x-goog-api-key: $GEMINI_API_KEY" \ -H 'Content-Type: application/json' \ -H "Api-Revision: 2026-05-20" \ -d '{ "model": "gemini-3.8-flash", "input": "Explain how AI works in a few words" }'If you get a rate limit error, you hit RPM, TPM or RPD for the project. Wait, shorten the prompt, or see the billing section.
The quickstart also shows Python (pip install -U google-genai) and JavaScript (npm install @google/genai) clients that read the same GEMINI_API_KEY variable.
Using the CLI with your key
The Gemini CLI repository lists an install command and says the CLI can authenticate with a Gemini API key from AI Studio through GEMINI_API_KEY. Given the change above, check the current notice first and expect that free usage may not be available.
npm install -g @google/gemini-cligeminigemini -p "Explain this error in one paragraph"What changes when you add billing
In AI Studio open the API keys or Projects page, find the project on the Free tier and click Set up billing under the Billing Tier column.
Choose your country, confirm your details or pick an existing Cloud Billing account.
Prepay a minimum of $5 (or choose Postpay if it is offered to you).
- Tier 1 starts once an active billing account is linked. Tier 2 needs $100 paid and 3 days since the first successful payment. Tier 3 needs $1,000 paid and 30 days.
- Higher tiers bring higher rate limits and access to more models, such as the ones marked not available on the free tier.
- Monthly spend caps per tier: Tier 1 $250, Tier 2 $2,000, Tier 3 $20,000 to $100,000+. When the cap is reached, service pauses for all projects on that billing account until the next cycle.
- With a prepay balance, requests fail with HTTP 402 when the balance reaches zero.
- Prompts and responses on paid services are not used to improve Google products. On the free tier they are.
- You pay per token. For example the pricing page lists
gemini-3.8-flashat $0.75 input and $3.75 output per 1 million tokens, rising to $1.50 and $7.50 from 1 January 2027. Prices change, so read the page before you budget.
Where your prompts go on the free tier
- Everything you send leaves your machine: your prompt, and any file contents or code a tool attaches to it. On the free tier, assume it can be used to improve Google products, as the pricing page states.
- The free-tier risk is specific: your prompts and responses may be used to improve Google products, and the paid tier is the one that says they are not. Keep private code and customer data off the free tier.
- Limits are per project, so a leaked key spends your whole project budget, and after billing is linked it costs real money per token. Keep the key in an environment variable, not in Git or a web or mobile app.
- Set billing alerts once billing is on, and restrict the key to the Gemini API in AI Studio.
- If a key leaks, create a new one, deploy with it, then disable the old one and review your usage.
Who the free API suits, and who should skip it
Good fit
- Learners, hobby projects and prototypes with public or fake data, making a modest number of API calls from their own code, or anyone testing a model before paying.
Not a good fit
- Anyone who wants an all-day free coding agent in the terminal. That is no longer what Gemini CLI offers on a free Google account.
- Teams handling private code or customer data on the free tier.
- Production apps: free limits are low enough and uncertain enough that you should plan for billing.
Alternatives to check
- Antigravity CLI, which replaced Gemini CLI for free users. Its free limits are not published on the pages we checked, and the install command in the migration guide should be copied from Google's own page.
- Other free routes are covered in our own guides: OpenRouter free models, OpenCode free models and running models locally with Ollama.
Gemini free tier questions
Is Gemini CLI dead?
No. The code is open source and paid API key and enterprise routes are described as supported. The free consumer route is what ended.
What is the exact free daily limit?
Google does not print one in the docs we checked. AI Studio shows the live numbers for your project. Do not trust round numbers from blogs.
Does a second API key give me more quota?
No. Limits are per project, not per key.
Will I be charged by surprise?
Not while the project stays on the Free tier. After you link billing you pay per token, so set alerts and spend caps.
Official sources (checked 6 November 2026)
- Rate limits (opens in a new tab)
- Pricing (opens in a new tab)
- Billing (opens in a new tab)
- API key (opens in a new tab)
- Quickstart (opens in a new tab)
- Gemini CLI repository (opens in a new tab)
- Gemini CLI quota and pricing (opens in a new tab)
- Gemini CLI authentication (opens in a new tab)
- Gemini CLI terms and privacy (opens in a new tab)
- Announcement: moving Gemini CLI to Antigravity CLI (opens in a new tab)
Checked 2026-11-06. Free tiers, models and prices change often, so confirm on the pages above before relying on any figure.
Checked against the official docs on 6 November 2026. Limits and prices change, so check the sources.