LLM ReferenceLLM Reference
CLIOpen Source

OpenAI Codex CLI

by OpenAI
Supports 7 models · CLI · Free open-source

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

ModelLabReleasedContextReasoningOpen source
GPT-5.4OpenAI2026-03-051MYesNo
GPT-5.4 MiniOpenAI2026-03-05400KYesNo
GPT-5.3-CodexOpenAI2026-02-05NoNo
GPT-5.2 CodexOpenAI2025-12-18YesNo
GPT-5.2OpenAI2025-12-11256KYesNo

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.

Explore Related Pages

Last reviewed: 2026-05-04. Data sourced from harness documentation and provider pages.