Codex CLI
📊 Scores
🚀 Quick Start
Install Steps
- 1 Subscribe to ChatGPT Plus ($20/mo, CLI included); or get an OpenAI API Key
- 2 Install Node.js 22+, run: npm install -g @openai/codex
- 3 Sign in with ChatGPT: codex login; or set API Key: export OPENAI_API_KEY=sk-xxx
- 4 Run in your project directory: codex "describe your task"
💲 Pricing
| Plan | Price | Limits | |
|---|---|---|---|
| ChatGPT Plus | $20/mo | Codex CLI + Web + IDE extension, token billing, base usage | Official → |
| ChatGPT Pro | $100/mo | 5x usage vs Plus (10x promo through 2026-05-31); full Pro exclusive models | Official → |
| ChatGPT Premium | $200/mo | Highest usage, full o3/o4 model series | Official → |
| API Key(按量计费) | Billed by token, supports o3, o4-mini; flexible but unpredictable cost | Official → | |
| Business / Enterprise | Team management, automated Code Review, Slack integration, audit logs | Official → |
Codex CLI
Paid subscription with free trial period
✨ Key Features
🎯 Best For
📝 Changelog
📖 Related Articles
AI Coding Tool Monthly Cost Comparison 2026: Copilot, Cursor, Codex, Claude Code, and China Coding Plans
Compare monthly fees, quota models, China accessibility, and overage risk across GitHub Copilot, Cursor, OpenAI Codex, Claude Code, Volcengine Ark, MiniMax, Alibaba Bailian, and other AI coding setups.
Claude Code vs Cline 2026: Top CLI Agent vs Most Flexible VS Code Plugin
Claude Code vs Cline compared: terminal CLI vs VS Code plugin, pricing, China accessibility, Agent capabilities, and model freedom — helping you pick the right AI coding tool for your workflow.
AI Coding API Relay Guide: How to Use Claude Code from China at Lower Cost
A comprehensive comparison of major API relay services (AICodeMirror, SSSAiCode, GAC Code, UniVibe, etc.) across 8 dimensions including pricing, stability, and security — helping developers choose the best way to access Claude Code, Codex, and Gemini CLI.
Aider vs Cline 2026: Two Open-Source Free AI Agents Compared
Aider vs Cline compared: Git-first Python CLI vs VS Code plugin Agent — privacy, pricing, workflow, MCP support, and China accessibility to help you choose the best free AI coding tool.
Claude Code vs Codex 2026: Latest AI Coding Agent Comparison
Updated on 2026-06-03: Claude Code vs Codex across pricing, models, platforms, MCP, privacy, parallel tasks, PR workflows, and buyer recommendations.