OpenAI Codex

OpenAI's coding agent, available as an open-source CLI and in ChatGPT plans.

open sourcefree tierTerminal coding agent

Pricing source: developers.openai.com/codex/pricing (re-checked 2026-11-10, prices unchanged; Plus lists GPT-6.1 Sol and GPT-6 Luna, Ultrafast mode is on Pro $500). Codex usage is shared with ChatGPT Work. The CLI, IDE extension and cloud features start at Plus; API-key sign-in works in the CLI, SDK and IDE extension without cloud features (GitHub code review, Slack). GPT-5.5 retired from Codex with ChatGPT sign-in on Oct 14, 2026. Nov 17, 2026: GPT-6.2 Astra and GPT-6.2 Sol are available in Codex (Astra for the hardest projects, Sol for everyday coding; Ultrafast for GPT-6.2 Sol on Pro $200, both models on Pro $500), per developers.openai.com/codex/changelog (checked 2026-11-18). API rates for the GPT-6.2 models (verified on openai.com/index/introducing-gpt-6-2-astra-sol and developers.openai.com/api/docs/pricing, 2026-11-24): GPT-6.2 Astra $8 input / $0.40 cached input / $40 output per 1M tokens (20% below GPT-6 Astra, 60% off cached input); GPT-6.2 Sol $2 / $0.10 / $10, same as GPT-6.1 Sol. Relevant when you run Codex with an API key. Nov 30, 2026: Codex can now use a browser and desktop in Codex Cloud to build and test features or reproduce bugs; you can try the running app via a private preview link or connect over SSH, and start in the Default environment without a repo or with a GitHub or GitLab repo (official @OpenAIDevs post, x.com/OpenAIDevs/status/2127535412822659537, checked 2026-12-01; developers.openai.com/codex/cloud documents the Default environment). Plan availability for the browser/desktop feature was not stated in that post.

Visit OpenAI Codex ↗

Websitehttps://openai.com/codex
Best forChatGPT subscribers wanting an agent
PricingFree $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 (last checked 2026-11-10, source)
Free tierYes
Open sourceYes
LicenseApache-2.0
Hands-on testTest coming

Machine-readable: Markdown · JSON dataset

Ranked in

Vibe Coding

Best terminal coding agent

#1 Claude Code

For makers: add this badge

OpenAI Codex is in our initial picks. Show it on your site or README; the badge links back to this page. About badges

#2 pick · Best terminal coding agent · VibeTested

OpenAI Codex FAQ

How much does OpenAI Codex cost?

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 on https://developers.openai.com/codex/pricing).

Does OpenAI Codex have a free tier?

Yes, OpenAI Codex has a free tier.

Is OpenAI Codex open source?

Yes, under the Apache-2.0 license.

What are some alternatives to OpenAI Codex?

Other Terminal coding agent tools listed on VibeTested include Aider, Claude Code, Gemini CLI, Grok Build CLI.

Alternatives to OpenAI Codex

Aider

Open-source AI pair programming in your terminal, works with git and many LLMs.

open sourcefree tierTerminal coding agent

Claude Code

Anthropic's agentic coding tool that runs in your terminal and works on your codebase.

Terminal coding agent

Gemini CLI

Google's open-source AI agent that brings Gemini to the terminal.

open sourceTerminal coding agent

Grok Build CLI

SpaceXAI's open-source terminal coding agent (the grok CLI): a full-screen, mouse-interactive TUI that edits files, runs commands and searches the web, with plan mode, subagents, skills, hooks, MCP…

open sourcefree tierTerminal coding agent

All Vibe Coding tools →