Gemini CLI
Last tested:
Gemini CLI is open-source terminal agent from Google; consumer users moved to Antigravity CLI in June 2026 (category: Coding Agents (CLI & Cloud)). VibeToolRank agent test score: 9.3/10 (tested 2026-11-19, 3 runs, headless CLI, free API key, gemini-3.5-flash-lite), T-5 of 27 tested Coding Agents (CLI & Cloud) tools. Pricing: Open-source CLI; model usage via a Gemini API key (free tier with rate limits, or paid per token), Vertex AI, or Gemini Code Assist Standard/Enterprise. Free tier: Yes with a free Google AI Studio API key (no card); Google sign-in for individuals moved to Antigravity CLI.
Key facts
Verdict: Run 1 wrote a complete todo app in about 5 minutes, then hit the free tier's 20-requests-per-day limit; runs 2 and 3 failed with the same quota error.
Best for: developers with a paid Gemini API key or Vertex AI.
Not ideal for: free use (the free key ran out after one small app a day).
- VibeToolRank score
- 9.3/10
- Cost per run
- $0.069 / run
- Rank
- T-5 of 27 tested Coding Agents (CLI & Cloud)
- Category
- Coding Agents (CLI & Cloud)
- Last tested
- 2026-11-19
- Runs
- 3 runs
- Outcome score
- 10/10
- Edition tested
- Gemini CLI 0.68.0 headless (-o json), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Headline is T3+T4+T5 (rubric v0.3). Google sign-in and Code Assist plans were not tested.
- Free plan, as measured
- All nine T3/T4/T5 runs fit the free API-key tier on 19 Nov 2026; T4 run 3 and all three T5 runs waited on 250,000 input-tokens-per-minute 429s and retried. $0.068735 per run at paid rates (shown as $0.069 / run). The free API tier covered nine agent runs on gemini-3.5-flash-lite in one morning (19 Nov 2026) when runs were spaced 90–150s and alone on the key; we are not projecting a daily total. Longer T4/T5 runs still hit the 250,000 input-tokens-per-minute cap and retried.
- Free plan
- Yes with a free Google AI Studio API key (no card); Google sign-in for individuals moved to Antigravity CLI
- Price
- Open-source CLI; model usage via a Gemini API key (free tier with rate limits, or paid per token), Vertex AI, or Gemini Code Assist Standard/Enterprise
- Pricing checked
- 2026-10-16
- Sources
- github.com/google-gemini/gemini-cli/discussions/27274 · github.com/google-gemini/gemini-cli · test log in our repo
Pricing and free tier
Current official pricing (checked ): Open-source CLI; model usage via a Gemini API key (free tier with rate limits, or paid per token), Vertex AI, or Gemini Code Assist Standard/Enterprise
Is Gemini CLI free? Yes with a free Google AI Studio API key (no card); Google sign-in for individuals moved to Antigravity CLI
Free Gemini API key: gemini-3.5-flash-lite completed all nine official T3/T4/T5 runs on 19 Nov 2026. Runs were spaced 90–150s and were alone on the key, which avoided request-per-minute 429s, but T4 run 3 and all three T5 runs still hit the 250,000 input tokens/minute cap and retried. In Oct 2026 gemini-3.8-flash allowed only 20 requests per day. Google sign-in for individuals no longer works.
verified-official official source · full-page-read. Official plan limits can change; re-check the vendor page before paying. Figures from our tests are recorded observations, not a current-capacity promise.
What we measured in our test (2026-11-19, 3 runs): All nine T3/T4/T5 runs fit the free API-key tier on 19 Nov 2026; T4 run 3 and all three T5 runs waited on 250,000 input-tokens-per-minute 429s and retried. $0.068735 per run at paid rates (shown as $0.069 / run) Gemini CLI free tier: how far you get
Agent test verdict
Edition tested Gemini CLI 0.68.0 headless (-o json), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Headline is T3+T4+T5 (rubric v0.3). Google sign-in and Code Assist plans were not tested.. Results may differ for the hosted product.
Tested 2026-11-19 · 3 runs · rubric v0.3 (provisional thresholds). Headline 9.3 is the mean of T3 9.4, T4 9.3, and T5 9.2 (rubric v0.3). All nine official runs fully passed: T3 4/4×3, T4 12/12×3, T5 20/20×3. The sitting ran alone on the free-tier key with 90–150s spacing. Four longer runs (T4 run 3 and all three T5 runs) still hit the 250,000 input-tokens-per-minute cap; Gemini CLI retried and finished. No stream crashes. Cost per run is $0.068735, the mean of all nine runs (shown as $0.069 / run). The previous 18 Nov v0.3 score of 6.6 and the 17 Oct T1 todo-app score of 6.1 stay in labelled history.
T3+T4+T5 The headline below is the mean of the T3, T4, and T5 task overalls (rubric v0.3). Speed uses fine wall-time bands (10 at ≤30s, then −1 per 120s), including a retroactive Speed on earlier T3 and T4 times. The previous v0.2 headline stays in labelled history and is not silently replaced.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 10 |
| Speed (15%) | 9.3 |
| Cost (15%) | 10 |
| Developer experience (15%) | 6 |
| Reliability (15%) | 10 |
| Overall | 9.3 |
Cost per run: $0.069 / run
Task results
These are the sittings that make up the headline. T4 Outcome is 10 times the mean fraction of 12 held-out tests, and T5 Outcome is 10 times the mean fraction of 20 held-out tests, that the agent did not see during the run. Task tables on a v0.3 page use the v0.3 Speed bands.
T3 · 2026-11-19 · headless CLI, free API key, gemini-3.5-flash-lite · 3runs · overall 9.4 · held-out 4/4, 4/4, 4/4
Gemini CLI 0.68.0 headless (-o json), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
Gemini CLI fixed the seeded cart bug in 3/3 T3 runs (15.33s / 20.07s / 12.53s) on 2026-11-19. Test file unchanged. Mean cost $0.016450 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 10 |
| Speed (15%) | 10 |
| Cost (15%) | 10 |
| Developer experience (15%) | 6 |
| Reliability (15%) | 10 |
| Overall | 9.4 |
Cost per run: $0.016 / run
T4 · 2026-11-19 · headless CLI, free API key, gemini-3.5-flash-lite · 3runs · overall 9.3 · held-out 12/12, 12/12, 12/12
Gemini CLI 0.68.0 headless (-o json), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
T4 held-out 12/12, 12/12, 12/12 (44.07s / 40.25s / 140.58s) on 2026-11-19. Run 3 retried two free-tier input-token 429s and still passed. Test files unchanged. Mean cost $0.060231 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 10 |
| Speed (15%) | 9.6 |
| Cost (15%) | 10 |
| Developer experience (15%) | 6 |
| Reliability (15%) | 10 |
| Overall | 9.3 |
Cost per run: $0.060 / run
T5 · 2026-11-19 · headless CLI, free API key, gemini-3.5-flash-lite · 3runs · overall 9.2 · held-out 20/20, 20/20, 20/20
Gemini CLI 0.68.0 headless (-o json), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
T5 held-out 20/20 on all three runs (155.64s / 155.10s / 364.39s) on 2026-11-19. Runs waited on 2, 1 and 5 input-token 429s respectively; Gemini CLI retried and finished. Only lib/variant.js changed; test files unchanged. Mean cost $0.129524 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 10 |
| Speed (15%) | 8.4 |
| Cost (15%) | 10 |
| Developer experience (15%) | 6 |
| Reliability (15%) | 10 |
| Overall | 9.2 |
Cost per run: $0.13 / run
Earlier tests Labelled history
These scores are kept as labelled history. They are not the current ranking score.
Previous headline — T3+T4+T5, rubric v0.3 2026-11-18 · headless CLI, free API key, gemini-3.5-flash-lite · 9runs · overall 6.6
Gemini CLI 0.68.0 headless (-o json), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Headline is T3+T4+T5 (rubric v0.3). Google sign-in and Code Assist plans were not tested.
Headline 6.6 is the mean of T3 9.4, T4 6.7, and T5 3.8 (rubric v0.3). T3 was 4/4 on all three runs. T4 was 11/12, 0/12 and 12/12. All three T5 runs crashed with the same API stream error ('Incomplete JSON segment at the end') before writing any change, so T5 scored 0/20 each time; T4 run 2 crashed the same way. An unscored extra T5 run the same morning finished 20/20, so a retest may score higher. Cost per run is $0.0264, the mean of all nine runs. The previous T1 todo-app score of 6.1 stays in labelled history.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 5.5 |
| Speed (15%) | 9.5 |
| Cost (15%) | 10 |
| Developer experience (15%) | 6 |
| Reliability (15%) | 4.2 |
| Overall | 6.6 |
Previous headline — T1 todo app, rubric v0.1 2026-10-17 · CLI, free API tier · 3runs · overall 6.1
Gemini CLI 0.64.0, free-tier Gemini API key, default model gemini-3.8-flash
T1 todo-app score published 2026-10-17: one complete app (passed our browser checks) on gemini-3.8-flash, then the free tier's 20 requests/day limit stopped runs 2 and 3. No cost data. Kept as labelled history when the v0.3 T3+T4+T5 headline replaced it.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 8 |
| Speed (15%) | 6 |
| Cost (15%) | 6 |
| Developer experience (15%) | 4 |
| Reliability (15%) | 3 |
| Overall | 6.1 |
Adoption signals Not part of the score
Public GitHub metrics for context only. They do not affect our agent scores or rankings.
- GitHub stars
- 109k (108,655) on google-gemini/gemini-cli
- Fetched
- · last push
How we tested
- Gemini CLI 0.68.0 headless (gemini --skip-trust --yolo -m gemini-3.5-flash-lite -o json -p) with a free-tier Google AI Studio API key, isolated settings.json selecting API-key auth, official v0.3 harness with bubblewrap as in docs/tests/amp/run.py (including the 18 Nov TMPDIR-in-scratch-HOME change). Tested alone on the key, 19 Nov 2026 (Australia/Sydney), with 90s cooldowns after T3 and 150s after T4/T5.
- Task T3: seeded cart.js bug, 4/4 on all three runs (15.33s, 20.07s, 12.53s). Same percentage-discount-before-tax fix. Test file unchanged. No 429s.
- Task T4: promo checkout, 12 held-out tests copied in after each run: 12/12, 12/12, 12/12 (44.07s, 40.25s, 140.58s). Test files unchanged. Run 3 retried two free-tier input-token 429s (250,000/minute) and still passed.
- Task T5: vendored negotiator, 20 held-out tests: 20/20 on all three runs (155.64s, 155.10s, 364.39s), editing only lib/variant.js. Test files unchanged. Runs waited on 2, 1 and 5 input-token 429s respectively; Gemini CLI retried and finished. No stream crashes.
- The 2026-11-18 v0.3 sitting (headline 6.6, T5 0/20×3 after API stream crashes) is labelled history in docs/tests/gemini-cli/RESULTS-2026-11-18.md. The 2026-10-17 T1 todo-app edition (CLI 0.64.0, gemini-3.8-flash, 6.1) remains in docs/tests/gemini-cli/RESULTS-2026-10-17.md.










Pros, cons and who it's for
Pros
- Passed every official held-out test on 19 Nov: T3 4/4 in 13–20s, T4 12/12, and T5 20/20 on all three runs
- Official headless mode (-p, -o json) reports split input, cached and output tokens per model
- Works on a free Google AI Studio API key with no card (gemini-3.5-flash-lite)
Cons
- Google-account sign-in for individuals no longer works; API-key use needs security.auth.selectedType set in settings.json
- The free tier still throttles at 15 requests/minute and 250,000 input tokens per minute; even with 90–150s spacing, T4 run 3 and all three T5 runs waited on input-token 429s (Gemini CLI retried and still passed)
- A truncated API stream still ends the run with exit 1 and no retry (observed on four of nine runs on 18 Nov; it did not recur on 19 Nov)
Who it's for: Developers in the Google ecosystem who want an open-source terminal agent on a Gemini API key; plan around free-tier per-minute limits and keep a settings.json that selects API-key auth.
Free-tier limits: Free Gemini API key: gemini-3.5-flash-lite completed all nine official T3/T4/T5 runs on 19 Nov 2026. Runs were spaced 90–150s and were alone on the key, which avoided request-per-minute 429s, but T4 run 3 and all three T5 runs still hit the 250,000 input tokens/minute cap and retried. In Oct 2026 gemini-3.8-flash allowed only 20 requests per day. Google sign-in for individuals no longer works.
FAQ
Can I still log into Gemini CLI with my Google account?
Not as an individual. In our 2026-10-16 test it failed with 'This client is no longer supported for Gemini Code Assist for individuals' and pointed to Antigravity.
Is Gemini CLI free with an API key?
Yes. On 19 Nov 2026 a free Google AI Studio key (no card) ran all nine of our T3/T4/T5 runs on gemini-3.5-flash-lite. Runs were spaced 90–150s and were alone on the key. Longer T4 and T5 runs still hit the 250,000 input-tokens-per-minute cap; Gemini CLI retried and finished. At paid rates those runs average $0.068735 each (shown as $0.069 / run).
How well did Gemini CLI do on our coding tasks?
On 19 Nov 2026 it passed every official held-out test: T3 4/4×3, T4 12/12×3 and T5 20/20×3. The v0.3 headline is 9.3. Some longer runs waited on free-tier input-token 429s and retried. The previous 18 Nov sitting scored 6.6 after API stream crashes on T4 run 2 and all three T5 runs; that result is kept as labelled history.
How do I use an API key if Gemini CLI keeps trying Google login?
Set the auth type to gemini-api-key in the CLI's settings.json (security.auth.selectedType); exporting GEMINI_API_KEY alone was not enough in our October test.
Who is Gemini CLI best for?
Based on our test: best for developers with a paid Gemini API key or Vertex AI. Not ideal for free use (the free key ran out after one small app a day).
What was the cost per run for Gemini CLI in VibeToolRank's test?
$0.069 / run.
How much does Gemini CLI cost?
Open-source CLI; model usage via a Gemini API key (free tier with rate limits, or paid per token), Vertex AI, or Gemini Code Assist Standard/Enterprise (from the official pricing page, checked 2026-10-16).
Related
Comparisons
Other Coding Agents (CLI & Cloud)
- OpenAI Codex — 9.7/10
- psi — 9.7/10
- Aider — 9.5/10
- Mirror (Reflection) — 9.4/10
- Claude Code — 9.3/10
- GitHub Copilot CLI — 9.2/10
- OpenCode — 9.2/10
- Memdoor — 9.1/10
- Zerg Client — 9.1/10
- Amp — 9/10
- OpenHands — 8.9/10
- Qwen Code — 8.8/10
- Goose — 8.7/10
- turri — 8.7/10
- Agent Manager — 8.6/10
- Reason — 8.6/10
- Alysis Code — 8.4/10
- Crush — 8.4/10
- Harness (Autonomous) — 8.4/10
- Parallax (Conifer) — 8.4/10
- Pi — 8.2/10
- Jules — 8/10
- Cline — 7.9/10
- Kilo Code — 7.7/10
- Wonder — 6.4/10
- Crewplane — 5.5/10
- ClawDOS — not yet tested
- Conducted — not yet tested
- Devin — not yet tested
- Roomote (formerly Roo Code) — not yet tested
- Ski — not yet tested
Best Coding Agents (CLI & Cloud) · Best free Coding Agents (CLI & Cloud) · All tools · How we test
Sources
Scores come from our own tests and are never for sale; sponsored placements are always labelled. Some links are affiliate links (currently Railway). Disclosure
