Gemini CLI
★★★★★4.4CodingFreemiumUpdated 27 Oct 2026
Free open-source terminal agent from Google
Gemini CLI is an Apache-licensed terminal agent with a generous free tier, a million-token context window and MCP support.
github.com

Starter prompts
Copy one into Gemini CLI and swap the {braces} for your own details.
- Write a {language} function that {task}. Include tests and call out the edge cases.
- Review this diff for bugs and security issues, then suggest concrete fixes: {diff}.
- Explain this error and show the minimal fix: {error}.
Key Features
Large context
Reads very large codebases in one pass.
MCP extensions
Connects to external tools and data.
Scriptable
Usable in CI and shell pipelines.
How to Use
- Install via npm and authenticate with a Google account.
- Run gemini inside a project and ask for a change.
- Extend with MCP servers for tickets or docs.
Core Advantages
- ✓Free tier is genuinely usable
- ✓Open source
- ✓Huge context
Who It's For
Cost-sensitive devsStudentsAutomation
Pricing & Free Trial
Free tier plus API billingIndicative — not yet re-checked
Free
$0
Daily requests
API
Pay as you go
Higher limits per token
Free tier: Generous daily request allowance with a Google account.
Prices are indicative — check the current list on github.com
Frequently asked questions
- What is Gemini CLI?
- Gemini CLI is an Apache-licensed terminal agent with a generous free tier, a million-token context window and MCP support.
- Is there a free plan for Gemini CLI?
- Generous daily request allowance with a Google account.
- How much does Gemini CLI cost?
- Gemini CLI uses a free tier plus API billing model — see the pricing section for the plans we have on file.
- What can Gemini CLI do?
- Its headline capabilities: large context; MCP extensions; scriptable.
- Who is Gemini CLI for?
- It is aimed at cost-sensitive devs, students, automation.
Our Verdict
The best free entry point to agentic coding in a terminal.
Community rating
—
0 ratings
Tap a star to rate this tool
More like this
Compare Gemini CLI with alternatives
Put Gemini CLI next to its closest rivals — ratings, free tiers and entry prices in one table:
Cursor★ 4.7
Claude Code★ 4.6
Lovable★ 4.5