5/5tests
- Time
- 00:48
- Cost
- $1.22
Head-to-head · profiles checked Sep 29, 2026
Pick Claude Code for a published price and one agent across terminal, IDE, desktop and web: Claude Pro is $20/mo billed monthly or $17/mo billed annually. Pick Gemini CLI for an open-source (Apache 2.0) agent that signs in with a Google account, an AI Studio key or Vertex AI. The Gemini CLI plans page lists no USD prices.
We wrote this from our own profiles of both tools, verified on September 29, and from our first benchmark task, where only the Claude Code run is finished; we used no third-party benchmarks and took no vendor payments.
Pick Gemini CLI if you want an open-source (Apache 2.0) terminal agent that you can authenticate with a Google account, an AI Studio API key or Vertex AI, and you can live with the fact that its plans page shows no USD prices. Pick Claude Code if you already have or will buy a Claude Pro, Max, Team or Enterprise plan, or an Anthropic Console account, and want one agent across terminal, IDE, desktop and web. Only Claude Code has a completed run on our benchmark task so far (5 of 5 tests); Gemini CLI is still pending, so we make no performance claim about it.
Based on our profiles of both tools verified on September 29 and the first benchmark task (Claude Code run on October 2; Gemini CLI and OpenAI Codex pending).
If you only want the answer, this is the table. Everything below is the evidence from the two documented profiles.
| You want to | Use | Why |
|---|---|---|
| Ask questions about a large codebase | Either | Gemini CLI lists querying large codebases; Claude Code lists exploring an unfamiliar codebase. |
| Edit files from the terminal | Either | Gemini CLI and Claude Code both read, write and edit local files and run shell commands. |
| Build a feature across several files | Claude Code | Claude Code documents multi-file feature work with diffs and plan review. |
| Fix a bug from a pasted error message | Claude Code | Claude Code lists tracing the cause in the repo and proposing a fix. |
| Look something up on the web while coding | Gemini CLI | Gemini CLI documents Google Search grounding and web fetch; our Claude Code profile does not. |
| Work inside VS Code or JetBrains | Claude Code | Claude Code has VS Code (and Cursor) and JetBrains extensions; Gemini CLI documents IDE integration without detail. |
| Start a long job and check back from the web or phone | Claude Code | Claude Code has cloud sessions, a web version and iOS and Android apps. |
| Add your own tools through MCP | Gemini CLI | Gemini CLI documents MCP support and extensions; MCP support is not described in our Claude Code profile. |
| Inspect or fork the source code | Gemini CLI | Gemini CLI is open source under Apache 2.0; our Claude Code profile states no license. |
| Run in a team with SSO and audit logs | Claude Code | Claude Code lists SSO and SCIM, audit logs, a Compliance API and IP allowlisting on business plans. |
| Plan | Tool | Price | Limits |
|---|---|---|---|
| Free (Google account) | Gemini CLI | $0/mo | Verify current availability |
| Google AI Pro | Gemini CLI | Not stated | Higher limits than free |
| Google AI Ultra | Gemini CLI | Not stated | Highest limits |
| Google Developer Program | Gemini CLI | Not stated | Higher limits |
| AI Studio API key | Gemini CLI | Pay as you go | Free-tier data may be used to improve products |
| Vertex AI | Gemini CLI | Google Cloud billing | Regional data residency options |
| Pro | Claude Code | $20/mo billed monthly; $17/mo billed annually ($200 up front) | Usage limits apply; more usage than Free |
| Max 5x | Claude Code | $100/mo | 5x the usage of Pro; usage limits apply |
| Max 20x | Claude Code | $200/mo | 20x the usage of Pro; usage limits apply |
| Team (standard seat) | Claude Code | $25/seat/mo billed monthly; $20/seat/mo billed annually | Teams of 2 to 150; more usage than Pro |
| Enterprise | Claude Code | $20/seat/mo billed annually plus usage at API rates | Spend limits set by admins |
USD as published on each vendor's pricing page, checked Sep 29, 2026. Gemini CLI pricing in full · Claude Code pricing in full
| Gemini CLI | Claude Code | |
|---|---|---|
| Messages / rate limits | Not stated: our profile lists only "higher limits" on paid plans, and the README free-tier numbers may be outdated | Usage limits apply on subscriptions; Max 5x and 20x give 5x and 20x the usage of Pro |
| Context / file size | Not stated | Up to 1M tokens, varies by model |
| Seats / team | Google Developer Program is listed as a team plan; seat limits not stated | Team plan for 2 to 150 seats; Enterprise has admin spend limits |
| Feature | Gemini CLI | Claude Code |
|---|---|---|
| Image generation | Not stated | Not stated |
| Voice | Not stated | Not stated |
| File upload | Yes: reads local files; images and PDFs listed as inputs | Yes: works on your local project folder |
| Web search | Yes: Google Search grounding and web fetch | Not stated |
| Agents / tools | Yes: MCP, extensions, Agent Skills and Plan Mode | Yes: file edits, shell commands, scheduled tasks |
| API | Authentication via AI Studio API key or Vertex AI | Console account billed by API token consumption |
| Mobile apps | No | Yes: iOS and Android |
| IDE integration | Documented, no detail | VS Code, Cursor, JetBrains |
| Gemini CLI | Claude Code | |
|---|---|---|
| Training on your data | Plans page says free-tier data may be used to improve products; AI Studio pay-as-you-go offers privacy | Opt-out on Free, Pro and Max; none by default on Team and Enterprise |
| Retention | Not stated | Not stated; custom retention controls are listed for Enterprise only |
| Business controls | Enterprise configuration docs, trusted folders, policy engine; Vertex AI lists regional data residency | SSO and SCIM, audit logs and Compliance API, custom data retention, IP allowlisting, HIPAA-ready offering |
Taken from each vendor's published policy pages at the time of our check. Policies change; the source links are at the bottom.
Starting from a 40-line Python package with 5 failing tests: fix CSV date parsing and a trailing blank line, add totals_by_customer(), and add a --top N CLI flag. Standard library only, tests must not be edited.
5/5tests
—not yet run
Support assistant: 2,500 input + 500 output tokens
| Model | Tool | Cost per answer |
|---|---|---|
| Claude Haiku 4.5 | Claude Code | $0.0050 |
| Claude Sonnet 5.5 | Claude Code | $0.0100 |
| Claude Opus 5.5 | Claude Code | $0.0200 |
| Gemini 3.8 Flash | Gemini CLI | $0.0037 |
| Gemini 2.5 Pro | Gemini CLI | $0.0081 |
| Gemini 3.1 Pro Preview | Gemini CLI | $0.0110 |
USD at list API prices from research/pricing/models.json; chat subscriptions are flat-rate and not included. Gemini 3.8 Flash uses a promo price through 2026-12-31 Run your own numbers in the calculator.
Open-source terminal AI agent from Google bringing Gemini to the command line; site notes unpaid and Google One users moved to Antigravity CLI.
Free stops at: Verify current availability
Verified geminicli.com (opens Gemini CLI website in a new tab)
Pricing US price unconfirmed
Anthropic's agentic coding tool that reads your codebase, edits files and runs commands from the terminal, IDEs, desktop app or browser.
Watch out: Not included in the Free Claude plan, and usage on subscriptions is capped by plan limits.
Verified code.claude.com (opens Claude Code website in a new tab)
From $20/mo US · checked Sep 29
Gemini CLI and Claude Code cannot be ranked on price. Claude Code lists Pro at $20/mo billed monthly ($17/mo billed annually), while the Gemini CLI plans page shows no USD prices for Google AI Pro, Google AI Ultra or the Developer Program.
Claude Code has no free tier and is not included in the Free Claude plan. Gemini CLI lists a Free (Google account) plan, but the site says unpaid-tier and Google One users were moved to Antigravity CLI on June 18, so check current availability.
Only Claude Code has finished the task so far: 5 of 5 tests passed in 48 seconds at $1.22 (API list price) on a headless run. The Gemini CLI run is pending, so we do not compare Gemini CLI and Claude Code yet. The Claude Code result also used the reviewer's own settings and skills.
Gemini CLI is open source under Apache 2.0, per its README. Our Claude Code profile does not state a license.
Claude Code runs across terminal, IDEs, desktop, web and mobile, has published USD prices from $20/mo, and offers SSO, SCIM and audit logs on business plans. Gemini CLI is open source under Apache 2.0 and authenticates with a Google account, AI Studio key or Vertex AI.
Only official vendor pages. No third-party benchmarks, forum threads or press were used. How we review.
compare>