Skip to content
aicoolies logo
Gemini API CLI (google-gemini) logo

Gemini API CLI Pricing

open sourceopen sourcelast verified October 24, 2026official site ↗
PlanPriceNotes
Open source CLIofficial source ↗$0checked 2026-10-24Apache-2.0; prebuilt binaries for macOS, Linux and Windows, install script or go install; beta, breaking changes possible
Gemini API usage (free tier or pay as you go)official source ↗Usage-basedchecked 2026-10-24Requests use your Gemini API key and follow Gemini API free-tier limits or paid-tier rates; some models, such as Gemini 4 Argon, are not on the free tier

structured from cited official pricing sources: “The CLI is free and open source under the Apache License 2.0. It calls the Gemini API with your own API key (GEMINI_API_KEY from Google AI Studio), so requests are billed, or count against free-tier limits, at standard Gemini API rates for the models and agents you use; see the Gemini API pricing page.”

Self-hosting cost

Gemini API CLI is open source. Self-hosting does not add a software license fee, but you still pay for infrastructure, operations, and any external model or API usage.

Free & cheaper Terminal & CLI Tools

same category, free plan or open-source license

Claude CodeClaude Code is included in Claude paid plans: Pro at $20/month ($17/month billed annually), Max at $100/month (5x Pro usage) and Ultra at $200/month (formerly Max 20x; 10x Pro usage every week, no 5-hour limit for verified accounts), and Team seats at $25/seat/month ($20 billed annually) for Standard or $125/seat/month ($100 billed annually) for Premium (5x Standard usage). Enterprise is $20/seat/month billed annually plus usage at API rates. A Free plan is available without Claude Code, and developers can also use API keys billed per token.AmpAmp pricing (vendor_documented, as-of 2026-09-17): free Hobby tier with all product features, pay-as-you-go orbs or free own Runners, and BYOK / linked ChatGPT (and other) subscriptions with no Amp token fees or limits on non-Enterprise tiers. Self-hosted orbs (your own compute via amp orb provider) are free for individuals and teams; Enterprise workspaces pay standard orb pricing for them from October 29, 2026. Optional Individual plans: Megawatt $20/month and Gigawatt $200/month, each bundling included agent usage and orb minutes (vendor Individual cards describe ~45,000 minutes of orb time). Teams workspaces add sharing and pooled credits at no extra workspace fee; members can sit on Hobby, Megawatt, or Gigawatt. Enterprise is custom (SCIM, audit/network controls, pooled credits, priority support).Ghosttyopen sourceGhostty is 100% free and open-source software licensed under MIT. It operates with zero licensing fees, zero paywalled tiers, and no cloud dependencies.WarpWarp offers Free ($0) with Warp AI or bring-your-own, Build at $20/month ($18 billed annually) with $20 of agent usage, Max at $200/month ($180 billed annually) with $200 of agent usage, and Business at $50/user/month ($45 billed annually, up to 25 seats) with $20 of agent usage per seat.

FAQ

How much does Gemini API CLI cost?

The CLI is free and open source under the Apache License 2.0. It calls the Gemini API with your own API key (GEMINI_API_KEY from Google AI Studio), so requests are billed, or count against free-tier limits, at standard Gemini API rates for the models and agents you use; see the Gemini API pricing page.

Does Gemini API CLI have a free plan?

Yes — Gemini API CLI is open source and free to use.

Can you self-host Gemini API CLI for free?

Gemini API CLI is open source. Self-hosting does not add a software license fee, but you still pay for infrastructure, operations, and any external model or API usage.

What are free or cheaper Gemini API CLI alternatives?

Claude Code, Amp, Ghostty are in the same category with a free plan or open-source license.

pricing is editorial catalog data (last verified October 24, 2026) — vendors change plans; confirm on the official site before you buy. Reuse this data under CC-BY 4.0 via /data.