Skip to content
BYOK Tools

Gemini CLI

Open-source terminal agent from Google powered by Gemini.

4.4 editor score•Command Line•Free & open source; free tier with Google account

Overview

Gemini CLI brings Gemini models into the terminal for coding, research and automation tasks with tools and MCP support. It can authenticate with a Google account or with your own Gemini API key or Vertex AI credentials.

  • Large context window
  • MCP support
  • Built-in web search
  • Shell and file tools

Our verdict

What we like

  • Generous free usage
  • Open source

Watch out for

  • Gemini models only

Works with these providers

Keys from these providers work in this app. Usage is billed by the provider at its list price.

BYOK Key Safety Score

Key handling in Gemini CLI

How we score
75/ 100

Grade B

Your key is stored on your device and requests go directly to the provider.

  • Key storage

    Key stays on your device; requests go direct to the provider.

    40/40
  • Auditable code

    Open source: anyone can verify how keys are handled.

    25/25
  • Self-hosting

    Runs as a local app, but not as a self-hosted service.

    8/15
  • Offline option

    Cloud providers only.

    0/10
  • Provider choice

    1 provider option, which lets you pick the provider whose data terms you trust.

    2/10

Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.

Gemini CLI FAQ

Does Gemini CLI support bring your own key?
Yes. Gemini CLI accepts your own API key from Google Gemini. Usage is billed by the provider at its API rates.
Where does Gemini CLI store my API key?
On your device. Requests go directly from Gemini CLI to the provider. Its BYOK Tools Key Safety Score is 75/100.
Is Gemini CLI free?
Open source: Free & open source; free tier with Google account. API usage is billed separately by your model provider.
Is Gemini CLI open source?
Yes. The source code is at https://github.com/google-gemini/gemini-cli.
Can Gemini CLI run local models?
No. Gemini CLI works with cloud providers only.
Which platforms does Gemini CLI support?
CLI, macOS, Windows, Linux.

Community reviews

No reviews yet.