Best terminal coding agent
Short answer: Claude Code is our initial pick for terminal coding agent, with OpenAI Codex as the runner-up, based on verified features and pricing (hands-on tests coming).
⚠ Initial picks, hands-on tests coming. No scores yet: we only publish scores from real test runs. Last checked 2026-10-22.
Agents that run in your shell and edit across a repo. Claude Code has verified paid plans from $20/mo; Gemini CLI, OpenCode, Aider and the Codex CLI are open source (Gemini CLI now needs a paid Gemini API key or Code Assist license).
The picks
Claude Code
Terminal-first devs doing multi-file changes
Pro $20/mo billed monthly ($17/mo annual); Max $100/mo (5x Pro usage every 5 hours and every week); Ultra $200/mo (10x Pro weekly usage, no 5-hour limit for verified accounts); Team standard seat $25/mo monthly ($20 annual), premium seat $125/mo ($100 annual); Enterprise $20/seat/mo plus API-rate usage (checked 2026-12-01)
Terminal coding agentOpenAI Codex
ChatGPT subscribers wanting an agent
Free $0 and Go $8/mo (GPT-6 Luna in the desktop app, subject to rollout); Plus $20/mo (CLI, IDE, web, iOS); Pro from $100/mo ($100/$200/$500); Business $20/user/mo annual ($25 monthly, 2+ users); Enterprise & Edu custom; or pay API rates with an API key (checked 2026-11-10)
open sourcefree tierTerminal coding agentGemini CLI
Teams already on Gemini Code Assist Standard/Enterprise or paid Gemini API keys
No free sign-in tier since June 18, 2026: use a paid Gemini or Gemini Enterprise Agent Platform API key (usage-based), Vertex AI, or a Gemini Code Assist Standard/Enterprise license (checked 2026-10-22)
open sourceTerminal coding agentOpenCode
Free terminal agent with any model
Free (open source, bring your own provider); optional OpenCode Zen pay-as-you-go models at listed per-token prices; OpenCode Go $10/mo or Go Plus $40/mo model subscriptions (checked 2026-11-23)
open sourcefree tierTerminal coding agentAider
Bring-your-own-key terminal coding
Free (open source; bring your own LLM API key) (checked 2026-11-11)
open sourcefree tierTerminal coding agent
FAQ
What is the best terminal coding agent?
Claude Code is our initial pick for terminal coding agent, with OpenAI Codex as the runner-up, based on verified features and pricing (hands-on tests coming).
Which of these have a free tier?
Verified free tier: OpenAI Codex, OpenCode, Aider. Not verified or no free tier: Claude Code, Gemini CLI.
Which are open source?
OpenAI Codex (Apache-2.0), Gemini CLI (Apache-2.0), OpenCode (MIT), Aider (Apache-2.0).
How much do they cost?
Claude Code: Pro $20/mo billed monthly ($17/mo annual); Max $100/mo (5x Pro usage every 5 hours and every week); Ultra $200/mo (10x Pro weekly usage, no 5-hour limit for verified accounts); Team standard seat $25/mo monthly ($20 annual), premium seat $125/mo ($100 annual); Enterprise $20/seat/mo plus API-rate usage (checked 2026-12-01). OpenAI Codex: Free $0 and Go $8/mo (GPT-6 Luna in the desktop app, subject to rollout); Plus $20/mo (CLI, IDE, web, iOS); Pro from $100/mo ($100/$200/$500); Business $20/user/mo annual ($25 monthly, 2+ users); Enterprise & Edu custom; or pay API rates with an API key (checked 2026-11-10). Gemini CLI: No free sign-in tier since June 18, 2026: use a paid Gemini or Gemini Enterprise Agent Platform API key (usage-based), Vertex AI, or a Gemini Code Assist Standard/Enterprise license (checked 2026-10-22). OpenCode: Free (open source, bring your own provider); optional OpenCode Zen pay-as-you-go models at listed per-token prices; OpenCode Go $10/mo or Go Plus $40/mo model subscriptions (checked 2026-11-23). Aider: Free (open source; bring your own LLM API key) (checked 2026-11-11).
Are these rankings paid?
No. Rankings are never for sale. These are initial picks from verified features and pricing; hands-on test scores will be published after real test runs.