# OpenAI Codex

> OpenAI's coding agent for CLI, IDE and cloud.

- Page: https://vibetoolrank.com/tools/codex/
- Markdown: https://vibetoolrank.com/tools/codex.md
- Official: https://openai.com/codex
- Category: Coding Agents (CLI & Cloud) (https://vibetoolrank.com/best/terminal-agents/ · https://vibetoolrank.com/best/terminal-agents.md)
- Pricing: Included in every ChatGPT plan (Free, Go, Plus, Pro, Business, Enterprise, Edu); usage limits vary by plan. Codex Cloud needs Plus, Pro, Business, Enterprise or Edu. Plus/Pro buyers can add credits. Plan prices on chatgpt.com/pricing
- Free tier: Yes: Codex CLI, IDE extension and app on ChatGPT Free and Go with plan usage limits (no Codex Cloud)
- Last checked: 2026-11-13

## Agent test

- Overall: **9.7/10** (outcome 10, speed 9.9, cost 10, DX 8, reliability 10)
- Cost per run: $0.0036 / run
- Tested: 2026-11-16 · Runs: 3 runs · Edition: Codex CLI 0.166.0, ChatGPT login, model gpt-6-luna, codex exec --json. Headline is T3+T4+T5 (rubric v0.3). IDE and Cloud were not tested.
- Score label: rubric v0.3
- Summary: Headline 9.7 is the mean of T3 9.7, T4 9.7, and T5 9.6 (rubric v0.3). T3, T4, and T5 were 4/4, 12/12, and 20/20 on all three runs. Headline cost per run is $0.003552, the mean of all nine official runs, token-priced at official gpt-6-luna Standard short-context rates. The previous v0.3 headline of 9.4 (T5 20/20/19, cost Not measured) and the v0.2 headline of 9.7 stay in labelled history.
- Evidence: docs/tests/codex/RESULTS.md

## Pros / cons

- Pro: Fixed the seeded T3 bug in 3 of 3 runs (11–15s) and scored 12/12 held-out T4 and 20/20 held-out T5 tests on every run with OpenAI gpt-6-luna via a ChatGPT login
- Pro: Official unattended `codex exec --json` in workspace-write mode, with split input, cached, and output token counts on every official run
- Pro: Token-priced mean $0.003552 per run across the nine official T3+T4+T5 runs at official gpt-6-luna Standard rates
- Con: A ChatGPT login is required for OpenAI’s models; plan usage limits still apply (we did not measure remaining quota)
- Con: Codex IDE and Codex Cloud were not tested in this sitting
- Con: CODEX_HOME under /tmp is refused by the official CLI (helper binaries); an outer pid namespace also hangs Codex’s own workspace-write sandbox — the official isolation used an amp-matching bwrap and a home under /home/box

## Adoption signals (not part of the score)

- GitHub stars: **132k** (132,490) on [openai/codex](https://github.com/openai/codex)
- Fetched: 2026-11-01 · Last push: 2026-10-31
- These figures are public GitHub metrics for context only. They do **not** affect VibeToolRank scores or rankings.

## Sources

- https://openai.com/codex
- https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan

Methodology: https://vibetoolrank.com/methodology/
