OpenAI Codex CLI
OpenAI Codex CLI is an open-source command-line tool for AI-assisted coding, built by OpenAI (released 2025-05). OpenAI Codex CLI integrates with 7 verified models, including GPT-5.4 Mini, GPT-5.4, and GPT-5.3-Codex. It's free and open source. Use this page to compare model coverage, pricing, release timing, source availability, and adjacent harnesses before choosing an AI coding workflow.
Overview
Open-source command-line coding agent released April 2025 that runs code, browses files, and executes multi-step tasks in a sandboxed environment using OpenAI models.
Featured Model Specs
| Model | Lab | Released | Context | Reasoning | Open source |
|---|---|---|---|---|---|
| GPT-5.4 | OpenAI | 2026-03-05 | 1M | Yes | No |
| GPT-5.4 Mini | OpenAI | 2026-03-05 | 400K | Yes | No |
| GPT-5.3-Codex | OpenAI | 2026-02-05 | — | No | No |
| GPT-5.2 Codex | OpenAI | 2025-12-18 | — | Yes | No |
| GPT-5.2 | OpenAI | 2025-12-11 | 256K | Yes | No |
Underlying Models
Compare to Similar Harnesses
FAQ
What is OpenAI Codex CLI?
OpenAI Codex CLI is an open-source command-line tool for AI-assisted coding, built by OpenAI (released 2025-05). Engineers run it from a terminal, where it can inspect repositories, edit files, call tools, and drive repeatable agentic coding workflows across local projects. It is primarily used for agentic coding from a local shell.
What models does OpenAI Codex CLI support?
OpenAI Codex CLI runs GPT-5.4 Mini, GPT-5.4, GPT-5.3-Codex, GPT-5.2 Codex, GPT-5.2, and 2 more.
How much does OpenAI Codex CLI cost?
OpenAI Codex CLI is free and open source. You pay only for the underlying model API usage.
Is OpenAI Codex CLI open source?
Yes, OpenAI Codex CLI is open-source software.
What are alternatives to OpenAI Codex CLI?
Alternatives include Claude Code, Aider, and Warp.
When was OpenAI Codex CLI released?
OpenAI Codex CLI was released in 2025-05.