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

  1. 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 agent
  2. OpenAI 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 agent
  3. Gemini 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 agent
  4. OpenCode

    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 agent
  5. Aider

    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.

Related rankings

Vibe Coding

Best AI app builder for beginners

#1 Lovable

Vibe Coding

Best AI code editor

#1 Grok Build (formerly Cursor)

Vibe Coding

Best free AI coding tools

#1 GitHub Copilot

Vibe Coding

Best open-source coding agent

#1 Cline

All Vibe Coding tools →