Gemini CLI logo
OpenAI Codex logo

Gemini CLI vs OpenAI Codex

A side by side look at Gemini CLI and OpenAI Codex: pricing, features and what each one is best for.

All comparisons

What it costs

Pricing
Open source
Pricing details
The CLI is free and open source under Apache 2.0; model access needs a Gemini Code Assist license (Standard $22.80/user/month, or $19 on a 12-month commitment; Enterprise $54, or $45) or a paid Gemini API or Vertex AI key billed per token.
Free option
Free tier

What it is

What it does
Gemini CLI is Google's open-source terminal agent: it reads and edits codebases, runs shell commands and automates tasks, now aimed at Code Assist teams.

The details

GitHub stars
108,780stars
Language
TypeScript
License
Apache License 2.0
Last commit
11 Nov 2026

What it costs

Pricing
Freemium
Pricing details
Codex has no standalone price. It is bundled with ChatGPT plans (Free, Go, Plus, Pro, Business, Enterprise) and is usable on the free ChatGPT tier. The Codex CLI itself is Apache-2.0 and free to install.
Free option
Free tier

What it is

What it does
OpenAI's coding agent, shipping as an Apache-2.0 CLI, an IDE extension, a macOS desktop app and a cloud runner, all tied to a single paid ChatGPT account.

The details

GitHub stars
119,150stars
Language
Rust
License
Apache License 2.0
Last commit
27 Aug 2026
Gemini CLI logo
OpenAI Codex logo

Read the full reviews

What each one is actually like to use, tested by hand rather than summarised from the vendor’s own page.

What we wrote about these