Gemini CLI vs Claude Code: official install paths, quotas, and how they bill
On this page
LangSmith is LangChain's hosted platform for tracing, monitoring and evaluating LLM applications and agents; Litmiq is a free browser app for quick, side-by-side prompt tests with LLM-judge scores. They overlap on one thing, running a prompt against test cases and scoring the outputs, and differ on almost everything else: accounts, hosting, scale, production monitoring and price. This page compares them using LangSmith's own documentation and pricing page as checked on 11 November 2026 and rechecked on 26 November 2026.
TL;DR · The short answer
#Gemini CLI and Claude Code are official coding agents you run from a terminal (and, in Claude Code’s case, also from an IDE, a desktop app, and the web). They are not the same as calling the Gemini API or the Anthropic API from your own app. This page compares what Google and Anthropic publish about install paths, surfaces, authentication, request quotas and how each product bills — all read on 26 November 2026 from the vendors’ own docs.
It does not rank which agent writes better code.
Litmiq has not published a measured bake-off of in-CLI agent behavior on this URL, and we will not invent scores. Litmiq can compare the underlying API models on the same prompt and test cases in the app; that is a model comparison, not a replacement for watching each CLI edit a real repo. Litmiq is independent and is not affiliated with, endorsed by, or sponsored by Google, Gemini, Anthropic or Claude.
Key takeaways
#- Anthropic’s Claude Code overview (also published at docs.anthropic.com ) describes Claude Code as an agentic coding tool that can run in the terminal, in an IDE, on the desktop, and on the web.
- Figures and commands below are from the official overviews, not from a third-party blog.
- Claude Code’s official overview documents signing in, or setting ANTHROPIC_API_KEY .
- A fair CLI comparison is the same repository, the same tasks, and notes on which tool actually applied the change.
What these tools are
#Anthropic’s Claude Code overview (also published at docs.anthropic.com) describes Claude Code as an agentic coding tool that can run in the terminal, in an IDE, on the desktop, and on the web. You start it with claude in a project. The same overview documents project memory files (CLAUDE.md / AGENTS.md), MCP, hooks, parallel agents, and a headless claude -p path.
Google’s Gemini CLI docs describe Gemini CLI as a command-line interface to Gemini, with documented support for GEMINI.md project context, MCP, a headless mode, a sandbox, and a plan mode. It is a Google product for talking to Gemini models from your terminal; it is not Claude Code, and it is not the Gemini consumer app.
Official install paths and surfaces (checked 26 November 2026)
#Figures and commands below are from the official overviews, not from a third-party blog. Re-check the live pages if you are installing today; package names and flags change.
| Product | Official install paths we read | Official surfaces we read |
|---|---|---|
| Claude Code | curl -fsSL https://claude.ai/install.sh | bash; also Homebrew cask claude-code and winget Anthropic.ClaudeCode, per the official overview. | Terminal CLI; VS Code / Cursor; JetBrains (the official overview notes that the plugin needs the CLI); Desktop (a paid subscription is required, and the desktop app includes the CLI); web at claude.ai/code. |
| Gemini CLI | npm install -g @google/gemini-cli, plus Homebrew, MacPorts and npx paths listed in the official docs. Those docs also state a Node.js 20+ requirement. | The official docs we read describe a terminal CLI, including headless use. This page does not list a first-party Gemini CLI desktop or web IDE equivalent, because we did not find those surfaces stated on the Gemini CLI docs pages we read on 26 November 2026. |
Official authentication and request quotas
#Claude Code’s official overview documents signing in, or setting ANTHROPIC_API_KEY. Anthropic’s Claude plans and pricing page, read the same day, lists Claude Code on Pro, Max and Ultra, and not on Free. Treat the live pricing page as the authority for which seats include the product.
Gemini CLI authentication, on the official docs, includes signing in with Google (the docs describe this as the path for most individuals, without a Google Cloud project) or using a Gemini API key or Vertex AI. Daily request limits below are from Google’s Gemini CLI: Quotas and pricing page, read on 26 November 2026. That page itself was marked “Last updated: Jun 18, 2026”. They are maximum requests per user per day, not token prices. Requests are also limited per user per minute and subject to availability, per that page. Check current usage in the CLI with the documented /stats model command.
| Authentication method (official table) | Tier / subscription | Maximum requests per user per day |
|---|---|---|
| Google account | Gemini Code Assist (Individual) | 1,000 |
| Google account | Google AI Pro | 1,500 |
| Google account | Google AI Ultra | 2,000 |
| Gemini API key | Free tier (unpaid) | 250 (the same page states model requests go to the Flash model only on this unpaid key path) |
| Gemini API key | Pay-as-you-go (paid) | Varies (you pay per token / call, per the official page) |
| Vertex AI | Express mode (free) or pay-as-you-go (paid) | Varies |
| Google Workspace | Code Assist Standard | 1,500 |
| Google Workspace | Code Assist Enterprise, or Workspace AI Ultra | 2,000 |
The same Gemini CLI quota page states that tiers not listed there, including Google AI Plus, Workspace AI Standard/Plus and AI Expanded, are not supported for Gemini CLI. It also states that Google Workspace / Gemini web-app plans “do not apply to the API usage which powers the Gemini CLI.” Do not assume a Gemini consumer-app plan is a Gemini CLI quota.
Official pricing and costs
#These are different meters. Do not add a Gemini CLI daily request cap to a Claude API token rate and call it a comparison.
- Claude Code on a Claude subscription. Anthropic’s official pricing page lists Claude Code on Pro, Max and Ultra. List prices on that page, read 26 November 2026: Pro at $17 per month with annual billing ($200 billed up front) or $20 if billed monthly; Max at $100; Ultra at $200 (prices shown there do not include applicable tax). Anthropic’s Manage costs effectively page states that Claude Pro, Max and Ultra subscribers have usage included in their subscription, so the session cost figure in
/usageis not relevant for billing; subscribers see plan usage bars instead. - Claude Code billed through the API. The same costs page states: “Claude Code charges by API token consumption.” Per-developer costs “vary widely based on model selection, codebase size, and usage patterns such as running multiple instances or automation.” Anthropic publishes these enterprise-deployment figures on that page, which we are repeating as Anthropic’s statement, not as a Litmiq measurement: average cost around $13 per developer per active day and $150–250 per developer per month, with costs remaining below $30 per active day for 90% of users. Use
/usageand Anthropic’s own billing views for a real bill. - Gemini CLI on a fixed Google plan. The quota page points individuals to Google AI Pro and Google AI Ultra for a fixed-price subscription with higher daily request caps. US list prices for those plans, on Google AI plans read 26 November 2026, are $19.99 per month for Google AI Pro and $99.99 / $199.99 per month for Ultra 5x / Ultra 20x. Those dollars are plan prices; the request caps in the table above are the Gemini CLI quota-page figures. Google AI Plus is a Google plan, but the Gemini CLI quota page says it is not supported for the CLI.
- Gemini CLI pay-as-you-go. The official quota page says that if you hit daily request limits, you can switch to a Gemini API key or Vertex AI and pay for the processing you use. Token rates then follow the live Gemini API pricing or Vertex AI pricing pages, not a CLI-specific override we found on the quota page. Gemini 4 Carbon and Argon paid API rates change on 1 December 2026; see Claude vs Gemini for the official figures we read on 26 November 2026, and re-check Google’s pricing page if that date has passed.
Verdict by use case (facts, not scores)
#| If you need… | What the official facts support | What this page does not claim |
|---|---|---|
| A free or low-friction individual starting point | Gemini CLI documents a Google-account path with 1,000 requests/user/day on Gemini Code Assist (Individual), and a free API-key path at 250 requests/day (Flash only). Claude Code is listed on Anthropic’s pricing page on Pro and above, not on Free. Desktop Claude Code officially requires a paid subscription. | That the free-quota option is “good enough,” or that Claude Code has no evaluation path — we did not run either tool for this page. |
| A $20-class individual subscription | Claude Pro is $20 monthly or $17 / month annual, and officially includes Claude Code. Google AI Pro is $19.99 / month and officially corresponds to a 1,500 requests/user/day Gemini CLI cap when you sign in with that Google plan. They are not the same product and not the same meter (subscription usage vs daily request cap). | Which seat writes better code, or which bill will be lower for your repo. |
| To run the agent in an IDE or on the web | Claude Code’s official overview lists VS Code / Cursor, JetBrains, a desktop app, and claude.ai/code. We did not read a matching first-party IDE/desktop/web matrix on the Gemini CLI docs pages we opened. | That Gemini CLI cannot be used from an editor via some other integration we did not document. |
| Predictable cost, not a surprise token bill | Claude subscribers: official docs say usage is included in the plan; watch the plan bars in /usage. Gemini CLI on a supported Google plan: official daily request caps. Both vendors also document a pay-as-you-go API path, which is a different bill. | A dollar forecast for your team. Anthropic’s published enterprise averages are theirs, not a quote for you. |
| To compare the underlying models, not the CLIs | Run the same coding or instruction cases on current Anthropic and Gemini API models in Litmiq. See also Claude vs Gemini and ChatGPT vs Claude vs Gemini for official API list prices (checked 26 November 2026). | That an API bake-off equals a CLI bake-off. It does not. |
How to compare them — and what Litmiq can and cannot measure
#A fair CLI comparison is the same repository, the same tasks, and notes on which tool actually applied the change. Litmiq does not drive Gemini CLI or Claude Code for you. In the Litmiq app you can still do a useful adjacent test:
- Open the app. There is no account. Your API keys stay in the browser and are sent only to the provider you choose.
- Paste a coding or review prompt you actually use, not a demo one-liner.
- Add test cases: a function to implement, a bug to fix, a JSON contract, a refusal. If you use a judge, read LLM as a judge first.
- Run a current Anthropic model and a current Gemini model side by side. That tells you how the APIs behave on those cases. It does not tell you how each CLI’s tools, hooks, memory files or multi-step agent loop will behave in your repo.
Limits of this guide
#- No Litmiq-measured quality, latency, or “lines accepted” scores appear here, because we did not run Gemini CLI or Claude Code on a dated task set for this URL.
- This page does not compare other coding CLIs (including Codex). We only used official Gemini CLI and Claude Code pages we actually opened on 26 November 2026.
- Quotas, plan prices and install commands change. The Gemini CLI quota page we read was last updated 18 June 2026 and checked by us on 26 November 2026. Treat the live official pages as the authority if they disagree with this article.
- A daily request cap is not a token price. A Claude subscription seat is not an Anthropic API invoice, unless you are on the API-billed path Anthropic documents.
FAQ
#Which is better, Gemini CLI or Claude Code?
This page does not rank them on code quality. Litmiq has not published a measured bake-off of in-CLI agent behavior on this URL. Official install paths, surfaces, authentication, Gemini CLI daily request caps and billing notes, read on 26 November 2026, are in the tables above. To compare the underlying APIs on your prompts, run the same cases in the Litmiq app; that is not the same as a CLI bake-off.
Is Gemini CLI free?
Google’s Gemini CLI quotas and pricing page, read on 26 November 2026, documents free-usage paths: 1,000 requests per user per day when you sign in with a Google account on Gemini Code Assist (Individual), and 250 requests per user per day on an unpaid Gemini API key (Flash model only on that path). Paid Google AI Pro and Ultra plans, a Vertex path, and pay-as-you-go API or Vertex billing are also listed. Those are official caps and plan paths, not a Litmiq measurement of how far they go on your repo.
Does Claude Pro include Claude Code?
Yes. Anthropic’s Claude plans and pricing page, read on 26 November 2026, lists Claude Code on Pro, Max and Ultra, and not on Free. Pro is $17 per month with annual billing ($200 billed up front) or $20 if billed monthly. Anthropic’s Claude Code costs page says Pro, Max and Ultra subscribers have usage included in the subscription, so the session dollar figure in /usage is not their bill.
How much does Claude Code cost on the API?
Anthropic’s official costs page states that Claude Code charges by API token consumption and that per-developer costs vary widely. On that page Anthropic publishes enterprise-deployment averages of around $13 per developer per active day and $150–250 per developer per month, with costs remaining below $30 per active day for 90% of users. Those are Anthropic’s published figures, not a Litmiq study and not a quote for your team.
Can Litmiq compare Gemini CLI and Claude Code directly?
No. Litmiq does not drive those CLIs. In the app you can compare current Gemini and Anthropic API models on the same coding or instruction cases, in your browser, with your own keys. That measures the APIs, not each product’s agent loop, tools, hooks or memory files.
Product names such as Promptfoo, LangSmith, LangChain, OpenAI and DeepEval are trademarks of their respective owners. They are used on this page only to identify those products. Litmiq is not affiliated with, endorsed by, or sponsored by those owners.
Sources
#All of the following were read on 26 November 2026. Gemini, Gemini CLI, Google AI and Google are trademarks of Google. Claude, Claude Code and Anthropic are trademarks of Anthropic. They are used here only to identify those products. Litmiq is independent and is not affiliated with, endorsed by, or sponsored by Google or Anthropic.
- Anthropic, Claude Code overview and Claude Code docs (read 26 Nov 2026).
- Anthropic, Manage costs effectively (read 26 Nov 2026).
- Anthropic, Claude plans and pricing (read 26 Nov 2026).
- Google, Gemini CLI docs (read 26 Nov 2026).
- Google, Gemini CLI: Quotas and pricing (read 26 Nov 2026; page marked last updated 18 Jun 2026).
- Google, Google AI plans (US list prices, read 26 Nov 2026).
- Google, Gemini API pricing (for the pay-as-you-go pointer, read 26 Nov 2026).
Try it in Litmiq
#Paste your system prompt, add a few test cases and compare models from nine providers side by side. Runs in your browser with your own API key.
- Free, no signup
- Runs in your browser
- Your API key, sent only to the provider you choose
Litmiq Pro
Saved suites, CI on a schedule and regression alerts for $19/month. The app stays free.
See pricing →Related guides
Compare & reference
- Prompt testing tools compared
- LangSmith alternative
- LangSmith pricing
- Litmiq vs Promptfoo
- Litmiq vs OpenAI Playground
Share this guide
Newsletter
Get Litmiq AI Weekly
Practical AI tips and the best tools of the week, in plain English.