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

*Gemini CLI pricing after its free tier ended: Code Assist or a paid API key, against Claude Code from $20. Plus Kiro CLI, which replaced Amazon's Q CLI.*

Dmitriy Solodukha, checked 2026-11-27 · https://caprock.dev/guides/gemini-cli-vs-claude-code/

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, and
Google has sold no new Code Assist subscriptions since 9 October 2026, so for
anyone new it is a paid API key. Claude Code needs a paid Claude plan, from
$20 a month or $17 billed annually, or an API key. Caprock, a free,
open-source app, starts Gemini CLI beside Claude Code and adds both to one
cost table. Every Google fact below was re-read from Google's own pages on
27 November 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 27 November 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](https://caprock.dev/guides/antigravity-vs-claude-code/).

## Who can still use Gemini CLI

Google keeps Gemini CLI for three groups:

- **A paid API key** — Gemini API or Gemini Enterprise Agent Platform,
  billed per token, with limits set by the key's tier. The only way in for
  someone starting now.
- **Code Assist Standard** — 1,500 model requests a day, $22.80 a user a
  month or $19 billed annually, for companies that already have it.
- **Code Assist Enterprise** — 2,000 a day, $54 a user a month or $45
  billed annually, likewise.

Google stopped selling new Code Assist Standard and Enterprise subscriptions
on 9 October 2026. Existing ones last to the end of their contract; annual
subscriptions can renew until 31 January 2027 and monthly ones until
31 December 2027, and licences can be added until 31 January 2027. Google
points those companies at Antigravity inside Gemini Enterprise next, and
limits Code Assist to the Gemini 3.x models.

The repository stays Apache-2.0, and releases continue: v0.71.1 came out on
24 November 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

Gemini CLI pricing is now per token: the agent is free and open source, and
you pay for a paid Gemini API or Gemini Enterprise Agent Platform key. The
flat fees are for companies that already hold Code Assist, which Google
stopped selling on 9 October 2026: Standard at $22.80 a user a month ($19
billed annually), Enterprise at $54 ($45 billed annually).

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; Max sells 5× Pro's usage at $100,
and Ultra 10× Pro's weekly usage at $200, with no five-hour limit once verified. The details:
[Claude Code pricing](https://caprock.dev/guides/claude-code-pricing/).

On an API key both bill per token. Gemini 3.8 Flash costs $0.75 per million
input tokens and $3.75 output through 31 December 2026, and twice that from
1 January 2027; Gemini 3.1 Pro Preview $2 and $12 for prompts up to 200K
tokens, and $4 and $18 above. From 1 December 2026 Google routes Gemini 2.5
Pro to 3.8 Flash and 2.5 Flash to 3.5 Flash-Lite, at their rates. 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](https://caprock.dev/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. Gemini CLI's docs
say it "has not been optimized for Gemini 4 Argon" and send you to
Antigravity for that model. 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; a new
company cannot buy Code Assist any more. 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](https://caprock.dev/guides/antigravity-vs-claude-code/),
[Codex vs Claude Code](https://caprock.dev/guides/codex-vs-claude-code/) and
[Cursor vs Claude Code](https://caprock.dev/guides/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](https://caprock.dev/guides/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](https://caprock.dev/install/)
and it reads back every Claude Code session still on disk.

## Sources

- [Google Developers Blog — Transitioning Gemini CLI to Antigravity CLI, 19 May 2026, read 27 November 2026](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/)
- [Amazon Q Developer docs — The Q CLI has become the Kiro CLI, read 27 November 2026](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line.html)
- [Kiro docs — CLI, read 27 November 2026](https://kiro.dev/docs/cli/)
- [Kiro docs — Models, read 27 November 2026](https://kiro.dev/docs/models/)
- [Kiro docs — Upgrading from Amazon Q Developer CLI: 17 November 2025, AWS Intellectual Property License, read 27 November 2026](https://kiro.dev/docs/upgrade-guides/migrating-from-q/)
- [Amazon press release — Kiro, Amazon Web Services' agentic coding environment, September 2026, read 22 October 2026](https://press.aboutamazon.com/aws/2026/9/tcbs-goes-all-in-with-kiro-amazon-web-services-agentic-coding-environment)
- [Gemini CLI on GitHub — the transition announcement, read 27 November 2026](https://github.com/google-gemini/gemini-cli/discussions/27274)
- [Gemini CLI docs — quotas and pricing, still printing the personal-account quotas under its "replaced by Antigravity CLI" banner, read 27 November 2026](https://geminicli.com/docs/resources/quota-and-pricing/)
- [Gemini CLI on GitHub — README, Apache-2.0, read 27 November 2026](https://github.com/google-gemini/gemini-cli)
- [Gemini CLI on GitHub — releases, latest v0.71.1 (24 November 2026), read 27 November 2026](https://github.com/google-gemini/gemini-cli/releases)
- [Gemini CLI docs — model selection, read 27 November 2026](https://geminicli.com/docs/cli/model/)
- [Gemini CLI docs — installation, read 27 November 2026](https://geminicli.com/docs/get-started/installation/)
- [Gemini CLI docs — IDE integration, read 27 November 2026](https://geminicli.com/docs/ide-integration/)
- [Gemini Code Assist — quotas and limits, updated 10 November 2026, read 27 November 2026](https://docs.cloud.google.com/gemini/docs/quotas)
- [Gemini Code Assist Standard and Enterprise pricing (hourly licence rates x 730), read 27 November 2026](https://cloud.google.com/products/gemini/pricing)
- [Gemini Code Assist Standard and Enterprise subscriptions — no new purchases from 9 October 2026, renewals until 31 January 2027 (annual) and 31 December 2027 (monthly), updated 10 November 2026, read 27 November 2026](https://docs.cloud.google.com/gemini/docs/codeassist/sunset)
- [Gemini Code Assist consumer accounts — individuals, Google AI Pro and Ultra stopped on 18 June 2026 (where codeassist.google now redirects), read 27 November 2026](https://developers.google.com/gemini-code-assist/docs/deprecations/code-assist-individuals)
- [Gemini API pricing: 2.5 Pro and 2.5 Flash routed to 3.8 Flash and 3.5 Flash-Lite from 1 December 2026, read 27 November 2026](https://ai.google.dev/gemini-api/docs/pricing)
- [Google Antigravity docs — migrating from Gemini CLI, read 27 November 2026](https://antigravity.google/docs/cli/gcli-migration)
- [Claude plans and prices, read 27 November 2026](https://claude.com/pricing)
- [Claude Help Center — What is the Max plan?, read 27 November 2026](https://support.claude.com/en/articles/11049741-what-is-the-max-plan)
- [Anthropic API pricing, read 27 November 2026](https://platform.claude.com/docs/en/about-claude/pricing)
- [Caprock — internal/gemini/telemetry.go, Gemini CLI telemetry for sessions Caprock starts](https://github.com/dspv/caprock/blob/master/internal/gemini/telemetry.go)
- [Caprock — internal/agents/agents.go, GEMINI_TELEMETRY_OUTFILE set for each Gemini CLI session Caprock starts](https://github.com/dspv/caprock/blob/master/internal/agents/agents.go)
- [Caprock — internal/agents/binaries.go, Spawnable: the agents New agent starts](https://github.com/dspv/caprock/blob/master/internal/agents/binaries.go)
