Comparison

Gemini CLI vs OpenCode

A like-for-like, spec-level comparison. Both entries are verified against their docs and repo.

Gemini CLI

Google's open-source terminal agent for Gemini.

  • + Open source and free to start
  • + Tight Gemini grounding (search, docs)
  • − Gemini models only
  • − Newer than incumbents

OpenCode

A model-agnostic, local-first coding agent TUI.

  • + Clean TUI with strong BYOK support
  • + Local-first and privacy-friendly
  • − Younger ecosystem
  • − Terminal-only
Spec Gemini CLI OpenCode
Category coding-agent coding-agent
License Apache-2.0 MIT
Open source Yes Yes
Self-hostable No Yes
MCP support Yes Yes
Pricing freemium free
Starting price Free tier with Gemini API BYOK usage cost
Models gemini claude, gpt, gemini, local, byok
Languages typescript typescript, go
GitHub stars 105.5k 178.4k
Last activity 2026-06-25 2026-06-25