Gemini CLI is Google's open-source (Apache 2.0) AI agent for the terminal, with a 1M-token context window that can hold entire codebases, MCP servers, Google Search grounding, and shell command execution in an agentic loop. It is no longer free: on June 18, 2026 Google stopped serving Gemini CLI to free accounts and to Google AI Pro and Ultra subscribers, and replaced it for those users with Antigravity CLI. Gemini CLI itself is still maintained and now runs on a Gemini Code Assist Standard or Enterprise licence or a paid Gemini API key.
Gemini CLI uses the models and billing its vendor provides; there is no Standard Compute setup for it. Agents with a custom API setting, such as OpenCode, Cline or Codex CLI, can use Standard Compute, where each step goes to the cheapest model that can do it, on providers we vet for price, uptime and speed.
Bars show editorial scores from hands-on testing. Percentages showGemini CLI's live community win rate in head-to-head votes, shown once a category has 10 or more votes.
Runs on: macOS · Linux · Windows (terminal)|Best for: Teams on Gemini Code Assist or the paid Gemini API who want an open-source terminal agent with huge context
Every agent on this page runs on Standard Compute
Not any more. On June 18, 2026 Google stopped serving Gemini CLI to free accounts and to Google AI Pro and Ultra subscribers, and moved them to Antigravity CLI, which has a free Individual plan with weekly limits. Gemini CLI itself is still open source and maintained, and now runs on a Gemini Code Assist Standard or Enterprise licence or a paid Gemini API key.
Huge-context work: exploring or summarizing large codebases with its 1M-token window, inside an open-source terminal agent your team can audit. It suits organizations already paying for Gemini Code Assist or the Gemini API.
Antigravity CLI, part of Google Antigravity. Google announced the switch on May 19, 2026 and made it on June 18. Antigravity's Individual plan is free with weekly rate limits Google doesn't put numbers on; Google AI Pro and Ultra raise them.
No. Gemini CLI only speaks Google's Gemini API: GOOGLE_GEMINI_BASE_URL can point it at a proxy, but that proxy has to answer in the Gemini format, and Google closed the request for OpenAI-compatible endpoints (issue #23385) without adding them. Qwen Code, which began as a Gemini CLI fork, does take OpenAI- and Anthropic-compatible providers, so it is the closest drop-in if you want Claude, GPT or open models in the same kind of terminal agent.