whyai.space
← All guides

If you searched for gemini cli free explained, you probably want a straight answer before you install anything: is this thing actually free, or does free mean something narrower than it sounds? The honest answer is both. The software itself costs nothing to download, and Google still publishes a free tier for the Gemini API. But the free route most people remember — sign in with a personal Google account and get 1,000 requests a day — stopped working on 18 June 2026. This guide walks through what ended, what still costs nothing, what a paid key costs, and where Google points free users instead.

Gemini CLI is Google’s open-source terminal agent. You type instructions in plain English, and it reads your code, edits files, runs commands and explains what it changed, all from the command line. It is built for developers who live in the terminal and want an agent that can work across a whole codebase rather than one file at a time. The tool itself is released under the Apache 2.0 licence, which means anyone can download, inspect and run the code without paying Google for the software. The short version of gemini cli free explained is this: the download is free, the free sign-in is gone, and the cheapest working route today is a free-tier API key or Google’s replacement tool, Antigravity CLI.

Gemini CLI free explained hero diagram: how a terminal AI coding agent reads and edits code

Gemini CLI Free Explained: The Short Answer

There are three different things people mean when they ask whether Gemini CLI is free, and they have three different answers. First, the software: free, open source, no licence fee, no seat fee. Second, the model access that does the actual thinking: this is where the money lives, because every prompt is a call to a Gemini model, and Google charges for that access unless you are on a free tier. Third, the old personal-account sign-in that bundled generous free model access with the tool: that ended on 18 June 2026, and Google now points those users at Antigravity CLI instead.

That split — free software, paid model access — is the heart of gemini cli free explained. If you already pay for a Gemini API key or your employer holds a Code Assist licence, the CLI itself adds no extra charge on top. If you pay for nothing at all, you can still get some use out of it through the Gemini API free tier, but the allowance is small, it covers Flash models only, and Google’s own documentation now carries a banner saying the unpaid tier was replaced by Antigravity CLI. The rest of this guide takes each route in turn so you can see exactly where you stand before you spend an afternoon setting it up.

What Changed on 18 June 2026

Google announced the change at the centre of gemini cli free explained on 19 May 2026, in a post titled “Transitioning Gemini CLI to Antigravity CLI”. The announcement said that on 18 June 2026, Gemini CLI and the Gemini Code Assist IDE extensions would stop serving requests for Google AI Pro and Ultra subscribers, as well as for people using it free of charge through Gemini Code Assist for individuals. The same change covered Gemini Code Assist on GitHub for those tiers. It was not a price rise. It was a switch-off for those accounts.

Google’s deprecation page, updated on 9 October 2026, puts it plainly: starting 18 June 2026, the IDE extensions stopped serving requests for the Gemini Code Assist for individuals, Google AI Pro and Google AI Ultra tiers, and the same applies to Gemini CLI. The page adds that you can no longer use the “Login with Google” option to access the IDE extensions or Gemini CLI on those tiers. If you followed an older tutorial that tells you to sign in with your personal Google account, that tutorial is out of date, however recently it was published.

That June date is the part of gemini cli free explained that most older guides get wrong, because the guides were written before the cutoff and never updated. Two groups keep access to Gemini CLI itself. The first is organisations with a Gemini Code Assist Standard or Enterprise licence, or using Code Assist for GitHub through Google Cloud. The second is anyone holding a paid Gemini API key or a Gemini Enterprise Agent Platform API key.

Google also announced, on the same sunset page, that from 9 October 2026 you can no longer buy new Gemini Code Assist Standard or Enterprise subscriptions at all — existing subscribers keep working until their contracts end, and Google says agentic coding help will be available through Antigravity from here on. That makes the paid-licence route a closing door, not a growing one.

One warning about the numbers you will see quoted elsewhere: Google’s own quota page still lists the old individual tiers — 1,000 requests a day for a personal Google account, 1,500 for Google AI Pro, 2,000 for Ultra — even though those routes no longer serve Gemini CLI. The page also lists 250 requests a day for an unpaid API key, Flash models only. Treat the old sign-in figures as history, not as a current offer, and check the live page before you plan around any of them.

Gemini CLI Free Explained: Every Route, With Its Limit

Read the table below as a map, not a promise: gemini cli free explained honestly means telling you which rows Google still stands behind and which ones only survive on a stale documentation page.

How you authenticateWhat it costsDaily limit listed by GoogleStatus in November 2026
Personal Google account (Code Assist for individuals)$01,000 requests a dayStopped serving Gemini CLI on 18 June 2026
Google AI Pro or Ultra sign-inSubscription1,500 / 2,000 requests a dayStopped serving Gemini CLI on 18 June 2026
Gemini API key, unpaid (free tier)$0250 requests a day, Flash models onlyListed on the quota page, but the page banner says the unpaid tier was replaced by Antigravity CLI — verify in AI Studio before relying on it
Gemini API key, paidPer token (see pricing section)No fixed daily request cap; billed per tokenWorking route
Code Assist Standard / Enterprise licence$19–$22.80 / $45–$54 per user per month (see below)1,500 / 2,000 requests a dayWorking for existing subscribers; no new purchases since 9 October 2026
Vertex AI Express Mode$0 for 90 days, then billingVaries by accountListed on the quota page as a trial-style route

The licence prices in that table come from Google Cloud’s own pricing pages: Code Assist Standard at $22.80 per user per month on a monthly commitment, or $19 per user per month with an annual commitment, and Enterprise at $54 monthly or $45 annual. Both editions carried a 30-day free trial for up to 50 users while they were on sale. Since new purchases stopped on 9 October 2026, those prices now matter mainly to organisations already holding licences — and to anyone deciding whether the Antigravity route or a paid API key is the better replacement, the choice at the heart of gemini cli free explained for teams.

Gemini CLI free explained quota routes diagram: free API key, paid API key and organisation licence routes

How to Use Gemini CLI for Free Today

There is still a $0 path for an individual, but it is narrower than the old one and it starts in Google AI Studio rather than in the CLI itself. Follow the steps in order, and check the live quota page at each step rather than trusting a tutorial’s numbers — that is the practical side of gemini cli free explained.

Step 1: Install the tool

Install Gemini CLI from the official repository using the install command in Google’s own documentation — the package is published as @google/gemini-cli. The install itself costs nothing and needs no account. Once it is installed, the gemini command opens the agent in your terminal.

Step 2: Create a free Gemini API key

Open Google AI Studio in your browser and create an API key. The Gemini Developer API has a free tier with free input and output tokens on selected models, including Flash models, although Google notes that content on the free tier may be used to improve its products. Keep the key somewhere safe and never paste it into a chat window or a public repository.

Step 3: Connect the key to the CLI

Set the key as an environment variable in your shell session, using the variable name shown in the official Gemini CLI documentation, then start the CLI. When it asks how you want to authenticate, choose the API key route rather than the Google sign-in, which no longer serves personal accounts.

Step 4: Pick the cheapest model and check your usage

Use a Flash model for routine work — it is the only model family the free-tier key covers at 250 requests a day on the quota page, and it is also the cheapest paid model if you cross into billing. Run the /stats model command inside the CLI to see your session usage and the limits attached to your quota, and treat 250 requests as a ceiling, not a guarantee: Google says requests are subject to availability in times of high demand. That 250-request figure is the number to remember from gemini cli free explained.

Step 5: Keep tasks small

One prompt can produce several model requests, so a long back-and-forth burns the daily allowance faster than the request count suggests. Ask for one change at a time, review the diff before accepting it, and save the long refactors for a paid key or for Antigravity’s weekly quota. That is the only route where gemini cli free explained still has a $0 answer for an individual in November 2026 — and even it comes with a warning label, because Google’s own banner says the unpaid tier was replaced.

Gemini CLI Pricing: What a Paid API Key Costs

If the free tier is too small, the paid route in gemini cli free explained is pay-as-you-go through a Gemini API key, billed per million tokens. The figures below were read from Google’s official Gemini Developer API pricing page on 10 November 2026, and they carry an important expiry date: the Flash rates rise on 1 January 2027.

Gemini 3.8 Flash, the current Flash model, costs $0.75 per million input tokens and $3.75 per million output tokens through 31 December 2026, rising to $1.50 input and $7.50 output from 1 January 2027. Gemini 3.1 Pro Preview costs $2.00 input and $12.00 output per million tokens for prompts up to 200,000 tokens, rising to $4.00 and $18.00 above that. Gemini 2.5 Pro costs $1.25 input and $10.00 output up to 200,000 tokens.

(Note: Gemini 2.5 Pro is deprecated — Google no longer offers it to select in AI Studio, and from 1 December 2026 its API requests automatically route to Gemini 3.8 Flash and are billed at Flash rates.) Gemini 4 Argon, the flagship reasoning model, is not available on the free tier at all: it costs $2.00 input and $10.00 output per million tokens through 30 November 2026, then $4.00 and $20.00 from 1 December 2026. Output prices include thinking tokens, so a model that reasons at length costs more than its input price suggests.

What does that mean in practice? A small fix — a few thousand input tokens and a few hundred output tokens — costs a fraction of a cent on Flash. A long session that reads a large codebase, runs several rounds of edits and re-reads files can use hundreds of thousands of tokens and cost a few dollars. If you price a week of terminal work, gemini cli free explained turns into a budgeting exercise: Flash is cheap enough that most solo developers will spend very little, but there is no monthly cap, so set a billing alert in Google Cloud before you run a long agent session, and use the Batch API, which Google prices at 50% off, for work that can wait.

Gemini CLI vs Antigravity CLI: Where Free Users Went

Antigravity CLI is Google’s answer for everyone it cut off on 18 June 2026. It is the command-line side of Antigravity, Google’s desktop agent environment, and it keeps the features Gemini CLI users relied on — agent skills, hooks, subagents and extensions, now called Antigravity plugins. For individuals it costs $0 a month, with unlimited Tab completions and unlimited Command requests, and agent work covered by what Google calls basic weekly rate limits. Google publishes no number for that weekly limit; its documentation says the limit tracks how much work the agent does rather than how many prompts you send, so a quick fix uses little quota and a multi-step refactor uses far more.

More capacity comes through a Google AI subscription rather than a standalone Antigravity price: Google AI Pro costs $19.99 a month and Google AI Ultra costs $99.99 or $199.99 a month, with higher weekly limits and five-hour refills on the paid tiers. The free tier refreshes weekly, so if you empty it early in the week, you wait for the next refresh. That is a real step down from the old 1,000 requests a day, and it is the part of gemini cli free explained that former free users feel most.

Gemini CLI free explained Antigravity diagram: the migration path from the terminal agent to its successor

Gemini CLI Free vs Paid: Side by Side

RouteCostWhat you getWho it suits
Free-tier API key$0250 requests a day, Flash only (as listed)Trying the tool, small fixes, learning
Paid API key (Flash)From $0.75 / $3.75 per million tokensNo daily request cap, billed per tokenRegular solo use, long sessions
Code Assist licence (existing)$19–$54 per user per month1,500–2,000 requests a dayTeams already holding a licence
Antigravity CLI (free)$0Weekly agent quota, number not publishedFormer free-tier users who want a $0 route
Antigravity + Google AI Pro$19.99 a monthHigher weekly limits, five-hour refillsDaily agent use without per-token billing

In the comparison above, gemini cli free explained comes down to one row: the free-tier API key is the only Gemini CLI route left at $0, and even that row carries a warning. Everyone else either pays per token, holds a licence that can no longer be bought new, or moves to Antigravity. There is no hidden fourth route, and any guide that still promises 1,000 free requests a day for signing in with Google is describing the tool as it was before 18 June 2026.

Gemini CLI Free Explained: Frequently Asked Questions

What does gemini cli free explained mean for a beginner?

It means this: gemini cli free explained in plain terms is that the download is free, the free Google sign-in is gone, and the cheapest working routes are a free-tier Gemini API key (250 Flash requests a day as listed) or Antigravity CLI’s $0 individual plan. Start with one of those two, not with an old tutorial.

Can I still sign in with my personal Google account?

No. Google’s deprecation page says you can no longer use the “Login with Google” option to access Gemini CLI on the Code Assist for individuals, Google AI Pro or Google AI Ultra tiers. That route stopped serving requests on 18 June 2026.

Does a Google AI Pro subscription raise my Gemini CLI quota?

Not any more. Pro and Ultra subscribers lost Gemini CLI access on the same date, 18 June 2026. Those subscriptions now raise your limits inside Antigravity instead.

What is the cheapest paid way to run Gemini CLI?

A paid Gemini API key on a Flash model — the cheapest paid answer in gemini cli free explained. Gemini 3.8 Flash costs $0.75 per million input tokens and $3.75 per million output tokens through 31 December 2026, then doubles from 1 January 2027. Small tasks cost a fraction of a cent; check your usage with /stats model as you go.

Is Vertex AI Express Mode really free?

For a limited time. Google’s quota page describes Express Mode as free for 90 days before you need to enable billing, with quotas that vary by account. It is a trial-style route for evaluation, not a permanent free tier.

The Takeaway

Gemini CLI is still free software, but the free ride that made it famous ended on 18 June 2026. The honest version of gemini cli free explained is a short list, not a single price: free software, a small free-tier API allowance, and a free replacement tool with weekly limits.

If you want to use it without paying today, get a free-tier Gemini API key in AI Studio, stick to Flash models, keep your tasks small, and watch the 250-request figure on the live quota page — or switch to Antigravity CLI, Google’s $0 replacement, and accept its weekly limits. If you outgrow either route, a paid API key on Flash is the cheapest way forward, and you should read the official Gemini API pricing page before you enable billing, because the Flash rates double on 1 January 2027. For the full list of routes and limits, see the official Gemini CLI quotas and pricing page. If you use Gemini’s free chat app rather than the terminal, our Gemini free plan guide covers what that side of Google still gives away, and if you want a free chatbot for writing instead of code, our ChatGPT free plan guide explains that free tier. Check the live pages, not old tutorials, and you will not be surprised by a sign-in that no longer works.