Two terminal / coding agents, side by side. Facts below link to their sources; last checked 2026-10-17.
| Codex CLI | Gemini CLI | |
|---|---|---|
| Type | terminal / coding agent | terminal / coding agent |
| Pricing | From $20/month | From $20/month |
| Free tier | Yes | Not listed |
| Open source | Yes | Yes |
| Latest release | — | — |

Open-source (Apache-2.0) coding agent from OpenAI that runs on your machine. Sign in with ChatGPT or use an API key; also available as IDE extension, desktop app and cloud agent. source

Open-source (Apache-2.0) AI agent for the terminal: coding, research and task automation with Gemini models and MCP tools. source
Codex CLI: OpenAI's open-source coding agent that runs locally in your terminal. Gemini CLI: Google's open-source terminal agent; free tier moved to Antigravity CLI in 2026.
Codex CLI: From $20/month (free tier available). Gemini CLI: From $20/month. Prices change often; confirm on the official pricing pages.