Gemini CLI vs OpenAI Codex
Gemini CLI (Google) and OpenAI Codex (OpenAI) side by side on public data, as of Nov 20, 2026.
OpenAI Codex has 53.8x the weekly package downloads of Gemini CLI (26.6M against 495K). OpenAI Codex has 14.7x the VS Code extension installs of Gemini CLI (16.9M against 1.2M). OpenAI Codex has 1.2x the GitHub stars of Gemini CLI (136K against 109K). Over the last 30 days downloads moved +7% for Gemini CLI and +7% for OpenAI Codex.
Which should you choose?
Choose OpenAI Codex if
- you want to start free: it has a free plan, Gemini CLI does not
- you need to run local models
- you want to work from a browser
- you want to check in from your phone
- you prefer the more widely used tool, with more docs and answers around (Gid Score 84 against 62)
Built from documented features, official prices, status pages and usage data on this page; it does not judge output quality.
Side-by-side numbers
| Metric | Gemini CLI | OpenAI Codex |
|---|---|---|
| Gid Score | 62 | 84 |
| Usage data as of | Nov 19 | Nov 19 |
| Rank by Gid Score | #15 | #2 |
| Downloads, last 7 days | 495K | 26.6M |
| Downloads, 7-day change | up 16.9% | up 2.4% |
| Downloads, 30-day change | up 6.8% | up 7.4% |
| VS Code installs | 1.2M | 16.9M |
| Marketplace rating | 4.1 / 5 (21) | 2.7 / 5 (975) |
| GitHub stars | 109K | 136K |
| Homebrew installs, 30 days | 21.5K | 529K |
| Hacker News mentions, 30 days | 10 | 1,429 |
| Latest stable release | 0.69.0 · yesterday | 0.168.0 · 7d ago |
| Terminal-Bench (best run) | 65.8% · v2.1 | 62.1% · v4.1 |
| Price | API usage or license | Free + $8/mo |
| Usage limits | requests per day all plans | 5-hour limit, weekly limits may apply Go: GPT-6 Luna in the desktop app; limits not published all plans |
| Incidents, last 30 days | — | 1 |
| License | Apache-2.0 | Apache-2.0 |
| First released | June 2025 | April 2025 |
| Interfaces | CLI, IDE extension | CLI, IDE extension, Desktop, Web, Mobile, SDK |
| Models | Google Gemini models (Gemini 3 per site) via a Gemini/Vertex AI API key or a Code Assist license | OpenAI GPT models (GPT-6 family per current docs) via ChatGPT sign-in or an OpenAI API key |
A dash means there is no public data for that metric as of Nov 20, 2026. The Terminal-Bench results come from different versions (v2.1 and v4.1), so they are not directly comparable.
Trends
Gemini CLI
Google's open-source terminal agent that brings Gemini models to the command line for code editing, shell commands and MCP tools. Since 2026-06-18 it no longer serves free, Google AI Pro/Ultra or Google One users, who were moved to Antigravity CLI.
Pricing: As of 2026-06-18 the free Code Assist for individuals tier and Google AI Pro/Ultra access ended; Gemini CLI continues with paid Gemini/Vertex API keys (pay as you go) and Gemini Code Assist Standard/Enterprise licenses (1,500/2,000 requests per user per day per the quota docs). Antigravity CLI is free to everyone.
Latest release 0.69.0:
- fix(core,cli): preserve literal $ characters during template placeholder replacement
- feat(cli): add /stats heatmap subcommand for daily token usage
- fix(core): prevent GCLI_EXPAND_TARGET env collision in expandEnvVars
- chore(release): bump version to 0.69.0-nightly.20261104.g89e9d25d6
OpenAI Codex
OpenAI's coding agent, offered as an open-source terminal CLI, an IDE extension, a desktop app and a cloud agent that works on repositories. Users sign in with a ChatGPT account or use an OpenAI API key; with an API key, Codex works in the CLI, SDK and IDE extension without cloud features such as GitHub code review and Slack. On the Free and Go plans Codex runs in the desktop app (subject to rollout); the web, CLI and IDE extension come with Plus and higher.
Pricing: Included in ChatGPT plans: Free $0, Go $8/month, Plus $20/month, Pro from $100/month ($100, $200 or $500 tiers), Business $20/user/month billed annually ($25 monthly), Enterprise and Edu by contact. API-key use is billed at API rates (no cloud features).
Latest release 0.168.0:
- Browse model providers under Sessions → Model providers and choose the default for new chats.
- Enable features.tui_workspace to view a side conversation beside the main chat. Drag the divider to resize the panes or press leader z to zoom the focused pane.
- Attach recordings when using an audio-capable model. Codex skips confirmed rejected recordings on later turns and uses clip duration to keep more short recordings in context.
- Enable features.image_generation_animation to generate or edit animated GIFs with optional frame count and timing controls.
Gemini CLI vs OpenAI Codex: common questions
How do Gemini CLI and OpenAI Codex prices compare?
Gemini CLI: API usage or license. OpenAI Codex: Free + $8/mo. Prices come from each vendor's pricing page.
Which is more popular, Gemini CLI or OpenAI Codex?
OpenAI Codex has a Gid Score of 84 against 62 for Gemini CLI. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.
Do Gemini CLI and OpenAI Codex support local models?
OpenAI Codex documents support for local models; Gemini CLI's documentation does not.