C

Codex CLI

cli Website ↗ Verified 2026-05-10 · Stale

📊 Scores

Coding Ability
9.0
Value
6.0
Flexibility
8.0
China Access
1.0

🚀 Quick Start

Install Steps

  1. 1 Subscribe to ChatGPT Plus ($20/mo, CLI included); or get an OpenAI API Key
  2. 2 Install Node.js 22+, run: npm install -g @openai/codex
  3. 3 Sign in with ChatGPT: codex login; or set API Key: export OPENAI_API_KEY=sk-xxx
  4. 4 Run in your project directory: codex "describe your task"
Register / Get Account ↗
🇨🇳 China Access Note: Requires OpenAI account; accessing OpenAI from China requires a proxy; can substitute with OpenAI-compatible Chinese APIs (e.g. DeepSeek, Moonshot)

💲 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

Try Now ↗

✨ Key Features

Code Completion
Chat
Agent Mode
Multi-file Edit
MCP Support
shell_exec
full_screen_tui
Context Window 标准上下文窗口
web_search
hooks_engine
Supported Models GPT-5.4, GPT-5.3-Codex, GPT-5.4 mini, Codex-Spark (研究预览), o3, o4-mini
ide_base 终端
supported_os macOS, Windows, Linux
jetbrains_support
Git Integration

🎯 Best For

Developers already subscribed to ChatGPT Plus (no extra cost)Complex coding tasks that need OpenAI o3/o4 reasoning capabilityOpenAI users who prefer terminal workflows

📝 Changelog

2026-05-08 v0.130.0: Plugin sharing with metadata and discoverability controls; new codex remote-control as headless app-server entrypoint; thread pagination for app-server large sessions; AWS Bedrock authentication improvements
2026-04-29 v0.128.0: Persistent /goal workflows with model tools and TUI controls; enhanced permission profiles with sandbox CLI selection; plugin marketplace with remote bundle caching and remote uninstall; MultiAgentV2 configuration enhancements
2026-04-23 v0.124.0: TUI reasoning depth keyboard shortcuts (Alt+, and Alt+.); Amazon Bedrock support stable; hooks configuration moved to config.toml; ChatGPT Fast service tier as default for eligible plans
2026-04-23 v0.123.0: Built-in Amazon Bedrock model provider with AWS SigV4 auth and AWS profile support; enhanced /mcp verbose diagnostics; MCP file format compatibility; host-specific remote sandbox config
2026-04-15 v0.121.0: Plugin marketplace (GitHub/git/local install); TUI prompt history Ctrl+R search; Memory mode controls; MCP Apps namespaced registration; Realtime API output modality; secure devcontainer + bubblewrap

📖 Related Articles

📚 Related Guides

🔗 Related Tools

💬 Comments

Last Verified: 2026-05-10 Next Review: 2026-06-10 Confidence: medium Report Error →