Gemini CLI vs Claude Code: the end of the free tier, Google plans, limits and cost

Pick Gemini CLI if your company has a Gemini Code Assist licence or you want an open-source agent on a paid Gemini API key — it has not been free since 18 June 2026, when free, AI Pro and Ultra users moved to Antigravity CLI. Pick Claude Code for Claude, on a plan from $20 a month or an API key. Read 10 October 2026.

Dmitriy Solodukha · checked against Caprock v0.95.0

Gemini CLI's free tier, 18 June 2026
Ended
Gemini CLI's free tier, 18 June 2026
free, AI Pro and Ultra users moved to Antigravity CLI
Code Assist Standard, a user a month
$22.80
Code Assist Standard, a user a month
1,500 Gemini CLI requests a day · $19 billed annually
Claude Pro, a month
$20
Claude Pro, a month
$17 billed annually · the entry plan for Claude Code
a median day of my Claude Code at list prices
$153
a median day of my Claude Code at list prices
56 days, 18 Jul – 2 Oct 2026 · Gemini CLI not measured

Google caps Gemini CLI in model requests on a Code Assist licence, and one prompt can make several. Caprock reads Gemini CLI only in sessions it starts, and this machine has none measured, so no Gemini cost here is measured or estimated.

The short answer

Pick Gemini CLI or Claude Code

Pick Gemini CLI if…

  • Your company has Gemini Code Assist: Standard gives 1,500 requests a day, Enterprise 2,000.
  • You want an open-source agent: Gemini CLI is Apache-2.0 and runs on a paid Gemini API key.
  • You want Gemini only, with Auto picking Pro or Flash for each task.

Pick Claude Code if…

  • You want Claude: Claude Code runs Claude models only, on a plan or an API key.
  • You use it all day: my median Claude Code day came to $153 at list prices, which Max at $100 or $200 a month covers inside its limits.
  • You want Claude through Amazon Bedrock, Google Cloud or Microsoft Foundry.

Facts about price, limits and where each runs, read 10 October 2026. Not a verdict on which writes better code.

Your Google plan

Which Google plan still works in Gemini CLI

Since 18 June 2026, a Code Assist licence or a paid API key. Free, Google AI Pro and Ultra users moved to Antigravity CLI.

Google plans and Gemini CLI since 18 June 2026, read 10 October 2026
PlanPrice a monthGemini CLI
Google account, no plan$0Moved to Antigravity CLI
Google AI Pro$19.99Moved to Antigravity CLI
Google AI Ultra$99.99 or $199.99Moved to Antigravity CLI
Code Assist Standard$22.80 a user1,500 requests a day
Code Assist Enterprise$54 a user2,000 requests a day
Paid Gemini API keyPer tokenLimits vary by tier
Code Assist billed annually is $19 and $45 a user a month. One prompt can make several model requests.

Side by side

Gemini CLI vs Claude Code, side by side

Gemini CLI and Claude Code, from each one's documentation, read 10 October 2026
Gemini CLIClaude Code
Made byGoogleAnthropic
What it isAn agent for the terminalAn agent for the terminal and IDEs
Where it runsTerminal; IDEs via extension or ACPTerminal, IDE extensions, desktop app, web
ModelsGemini only; Auto picks Pro or FlashClaude only
Open sourceYes, Apache-2.0No
Cheapest way inCode Assist Standard, $22.80 a userClaude Pro, $20 a month
BilledCode Assist licence, or per tokenPlan fee in usage limits, or per token
Installnpm, Homebrew, MacPorts, npxInstaller, npm, Homebrew, WinGet, apt, dnf, apk
Read by CaprockOnly sessions Caprock startsYes, every session
Context windowGemini 3.1 Pro: 1M tokensClaude 4.6 and later, except Haiku 5.5: 1M tokens
Free tierEnded 18 June 2026None; Claude Free leaves it out

Plans, per month

Gemini CLI pricing vs Claude Code pricing

Monthly price of each plan on one axis. Since 18 June 2026 Gemini CLI runs on a Code Assist licence or a paid API key.

Gemini CLI

  • Code Assist Standard$22.801,500 a day · $19 billed annually
  • Code Assist Enterprise$542,000 a day · $45 billed annually
  • Gemini API key — per token
  • Free, AI Pro, AI Ultra — moved to Antigravity CLI

Claude Code

  • Claude Pro$20$17 billed annually
  • Team, standard seat$25$20 billed annually
  • Claude Max 5×$1005× Pro's usage
  • Team, premium seat$125$100 billed annually
  • Claude Max 20×$20020× Pro's usage
  • Claude Free — no Claude Code
  • Enterprise — $20 a seat + usage at API rates
  • API key — per token

Both columns share one axis, $0 to $200 a month. Read 10 October 2026 from codeassist.google, Google's 19 May 2026 notice and claude.com/pricing. Code Assist and Team prices are per user.

Usage limits

Usage limits: requests a day against a five-hour window

How Gemini CLI and Claude Code cap use, read 10 October 2026
Gemini CLIClaude Code
How usage is cappedModel requests a dayFive-hour window and a weekly limit
Size publishedYes, requests a dayOnly relative: 5× or 20× Pro
Weekly limitNone publishedYes, across all models
Past the limitA paid API keyWait, usage credits, or an API key
FreeEnded 18 June 2026Claude Free: not included
Entry paid planCode Assist Standard: 1,500 a dayPro: a five-hour window
Top planCode Assist Enterprise: 2,000 a dayMax 20×: 20× Pro's usage
From Google's Code Assist quota page, read 10 October 2026. Google counts model requests across Pro and Flash together, and one prompt can make several.

Per million tokens

Per-token prices on an API key

Per million tokens, paid tier, from each maker's API price list. On an API key both bill per token.

API prices per million tokens, read 10 October 2026
ModelInputCache readOutput
Claude Opus 5.5$4$0.20$20
Claude Sonnet 5.5$2$0.10$10
Gemini 3.1 Pro Previewup to 200K tokens a prompt, then over$2.00–4.00$0.20–0.40$12.00–18.00
Gemini 3.8 Flashthrough 31 Dec 2026; doubles 1 Jan 2027$0.75$0.075$3.75
Gemini 2.5 Proup to 200K tokens a prompt, then over$1.25–2.50$0.125–0.25$10.00–15.00
Gemini 2.5 Flashtext, image and video input$0.30$0.03$2.50
Read 10 October 2026 from ai.google.dev/gemini-api/docs/pricing and Anthropic's API pricing page. Google also bills cache storage by the hour: $0.50 to $4.50 per million tokens an hour on these models through 31 December 2026. Gemini output prices include thinking tokens.

Measured · read 3 October 2026

The Claude Code side, measured

Caprock reads Gemini CLI only in sessions it starts, and has measured none on this machine. These are my Claude Code calls at list prices; the Gemini column stays empty.

Gemini CLI
Not measured — no Gemini CLI sessions measured here.
Claude Code
79,014 calls on 56 active days, 18 Jul – 2 Oct 2026mostly Opus 5 and Opus 4.8

Median cost per call

  • Gemini CLIno Gemini CLI sessions measured herenot measured
  • Claude Code18 Jul – 2 Oct 2026$0.094
A median Opus 5 call alone: $0.112.

Median active day

  • Gemini CLIno Gemini CLI sessions measured herenot measured
  • Claude Code18 Jul – 2 Oct 2026$153
56 active days came to $13,922 at list prices.

Median context per call

  • Gemini CLIno Gemini CLI sessions measured herenot measured
  • Claude Code18 Jul – 2 Oct 2026169K
Almost all of it read from the cache.

Where the money went

  • Gemini CLIno Gemini CLI sessions measured here
  • Claude Code18 Jul – 2 Oct 2026
ShareClaude Code
Cache read79%
Cache write16%
Output5%
Fresh inputunder 0.1%
Share of the list-price cost. Google bills cached tokens differently: a read rate plus storage by the hour, with no write rate.

Your own machine

Measure both on your machine.

Caprock is a free, open-source desktop app that keeps the ledger of Gemini CLI and Claude Code alike, the sessions you start in your own terminal included: who is waiting on you, who is stuck, how close each plan is to its limit, and each pull request with what it cost, at list price. Run them in its tabs or in your own terminal. Local; no account. It sees the Gemini CLI sessions it starts, not ones started in your own terminal.

Download for Mac

Notarized by Apple. One file for Apple silicon and Intel, macOS 13 or later.

Or run it yourself:

curl -fsSL https://caprock.dev/mac.sh | sh

Paste in Terminal: it installs Caprock and opens it.Or with Homebrew: brew install --cask dspv/tap/caprock-app

The full guide

Gemini CLI vs Claude Code, step by step

Gemini CLI is Google's open-source agent for the terminal, under the Apache-2.0 licence; Claude Code is Anthropic's and runs Claude. Gemini CLI no longer has a free tier: on 18 June 2026 Google stopped serving free, Google AI Pro and Ultra users in it and moved them to Antigravity CLI. It now runs on a Gemini Code Assist Standard or Enterprise licence or a paid API key. Claude Code needs a paid Claude plan, from $20 a month or $17 billed annually, or an API key. Every Google fact below was re-read from Google's own pages on 10 October 2026.

Is Gemini CLI still free?

No. Google announced on 19 May 2026 that "on June 18, 2026, Gemini CLI and Gemini Code Assist IDE extensions will stop serving requests for Google AI Pro and Ultra, as well as those using it free of charge". Gemini CLI's own docs now carry the notice that it "was replaced by Antigravity CLI" for unpaid and Google One users.

Until then a personal Google account got 1,000 model requests a day, Google AI Pro 1,500 and Ultra 2,000. Google's own quota table still lists those figures on 10 October 2026, under the banner that says those users moved to Antigravity CLI, so the table describes tiers that are gone, and so does any page that quotes it.

The free route from Google is now Antigravity CLI, agy, on Antigravity's individual plan with a weekly quota: Antigravity vs Claude Code.

Who can still use Gemini CLI

Google keeps Gemini CLI for three groups:

  • Code Assist Standard — 1,500 model requests a day, $22.80 a user a month or $19 billed annually.
  • Code Assist Enterprise — 2,000 a day, $54 a user a month or $45 billed annually.
  • A paid API key — Gemini API or Gemini Enterprise Agent Platform, billed per token, with limits set by the key's tier.

The repository stays Apache-2.0, and Google says it will keep Gemini CLI updated with new models and fixes for its enterprise customers. Releases continue: v0.64.0 came out on 13 October 2026. The limit counts model requests, not prompts: Google's quota page says "one prompt might result in multiple model requests", and the daily limit is shared across Pro and Flash.

Can I use my Google AI Pro or Ultra subscription?

Not in Gemini CLI since 18 June 2026. Sign in to Antigravity CLI with the same Google account instead: Pro and Ultra raise Antigravity's quota, refreshed every five hours up to a weekly limit. Google AI Pro is $19.99 a month in the US, Ultra $99.99 or $199.99.

Moving over keeps most of a setup. Antigravity CLI reads the same GEMINI.md and AGENTS.md files, agy plugin import gemini turns Gemini CLI extensions into Antigravity plugins, and a project's skills move from .gemini/skills/ to .agents/skills/.

Gemini CLI pricing, and what Claude Code costs

Google's notice keeps Gemini CLI on three paid routes: Gemini Code Assist Standard at $22.80 a user a month ($19 billed annually), Enterprise at $54 ($45 billed annually), or a paid Gemini API or Gemini Enterprise Agent Platform key, billed per token.

Claude Code's cheapest is Claude Pro at $20, or $17 billed annually. They cap use differently. Google counts requests a day. A Claude plan resets on a five-hour window with a weekly limit on top, and Max sells 5× or 20× Pro's usage at $100 and $200. The details: Claude Code pricing.

On an API key both bill per token. Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 output; Gemini 3.1 Pro Preview $2 and $12 for prompts up to 200K tokens, and $4 and $18 above. Claude Sonnet 5.5 is $2 and $10, Opus 5.5 $4 and $20. Google bills cache reads per token and storage by the hour, and has no cache-write rate. Every Claude rate: Claude API pricing.

What a day of Gemini CLI costs in tokens is not on this page. Caprock reads Gemini CLI only in sessions it starts, and this machine has none measured, so there is no Gemini figure here, measured or estimated. On the Claude side, my median active day came to $153 at list prices, over 56 active days from 18 July to 2 October 2026 — a fee a Max plan covers inside its limits.

Which models each runs

Gemini CLI runs Gemini models. Its Auto setting picks between Pro and Flash for each task, Gemini 3 or Gemini 2.5, and you can pick one by hand with /model or --model; sub-agents may still use other models. Google's model page gives Gemini 3.1 Pro a 1M-token context window. Claude Code runs Claude models only; Claude 4.6 and later, except Haiku 5.5, run a 1M-token context at the standard price. Neither runs the other's models.

Where each runs

Gemini CLI installs with npm, Homebrew, MacPorts or Anaconda, or runs once with npx, and needs Node.js 20 or later. It runs in a terminal, in VS Code and compatible editors through a companion extension, and in JetBrains and Zed through the Agent Client Protocol. Claude Code runs in a terminal, a desktop app and IDE extensions, and can reach Claude through Amazon Bedrock, Google Cloud or Microsoft Foundry.

Which one to pick

Pick Gemini CLI if your company already has Code Assist Standard or Enterprise, or you want an open-source agent on a paid Gemini API key. If you wanted Google's agent for free or on Google AI Pro, that is Antigravity CLI now. Pick Claude Code if you want Claude, and on a plan if you use it most of the day. You can run both side by side; each needs its own sign-in.

Antigravity vs Claude Code, Codex vs Claude Code and Cursor vs Claude Code compare the other agents.

Gemini CLI, Claude Code and Amazon's Kiro CLI

Amazon's agent for the terminal is Kiro CLI. It succeeded the Amazon Q Developer CLI from 17 November 2025, and AWS's Q docs now say "The Q CLI has become the Kiro CLI". You install it with one curl line, start it with kiro-cli, and sign in with GitHub, Google, an AWS Builder ID or IAM Identity Center. Where Gemini CLI runs only Gemini and Claude Code only Claude, Kiro CLI lets Auto route each task or lets you pick a model: Claude Opus 5.5, Sonnet 5.5 or Haiku 5.5, OpenAI's GPT-5.6, or an open-weight model such as DeepSeek 3.2 or Qwen3 Coder Next. It ships under the AWS Intellectual Property License, where the Q Developer CLI was Apache 2.0. Kiro's plans, credits and spec-driven workflow against Claude Code: Kiro vs Claude Code.

See both in one place

Caprock reads Claude Code's transcripts from disk, whether or not it started the session, and prices every call, a list-price estimate as Claude Code's own /usage is, beside the plan's dollars and the share of the weekly limit the work used. It also starts Gemini CLI from its New agent sheet, asks it to write its telemetry to a file, and reads that file, so those sessions' turns, tokens and cost land in the same table. Gemini CLI sessions started in your own terminal are not seen. Caprock neither starts nor reads Antigravity CLI.

Free, open source; nothing leaves your machine. Install Caprock and it reads back every Claude Code session still on disk.

Questions people ask

Is Gemini CLI still free?
No. On 18 June 2026 Google stopped serving free, Google AI Pro and Ultra users in Gemini CLI and moved them to Antigravity CLI. Gemini CLI stays on Code Assist Standard and Enterprise licences and paid API keys.
Can I use my Google AI Pro or Ultra subscription with Gemini CLI?
Not since 18 June 2026. Google AI Pro and Ultra now work in Antigravity CLI, where they raise the quota.
How much does Gemini CLI cost?
Gemini Code Assist Standard is $22.80 a user a month or $19 billed annually, with 1,500 model requests a day; Enterprise is $54 or $45, with 2,000. A paid Gemini API key bills per token instead. Google ended free use of Gemini CLI on 18 June 2026.
Is Gemini CLI cheaper than Claude Code?
Not to start any more. Gemini CLI's cheapest flat fee is Code Assist Standard at $22.80 a user a month; Claude Code starts at Claude Pro, $20. On an API key both bill per token.
What are Gemini CLI's limits?
Requests a day: 1,500 on Code Assist Standard, 2,000 on Enterprise. A paid API key has limits set by its tier. One prompt can make several requests.
Which models does Gemini CLI use?
Gemini only. Auto picks between Pro and Flash for each task, and /model picks one by hand. Claude Code runs Claude models only.
Can Caprock track Gemini CLI?
Yes, for sessions Caprock starts: it reads the telemetry they write, next to Claude Code's sessions. Gemini CLI sessions started in your own terminal are not seen.
Which is better, Gemini CLI or Claude Code?
Neither across the board. Gemini CLI suits a team with Gemini Code Assist licences or a paid Gemini API key, and it is open source; Claude Code suits anyone who wants Claude on a plan or a key. This page compares price and limits, not code quality.

Sources