AI agents / Coding agents

OpenAI Codex
by OpenAI
OpenAI's coding agent across CLI, IDE extension, desktop app, web and cloud tasks.
Open sourceFree optionCoding agents
- Limited access even on ChatGPT Free and Go
- Open-source CLI (Apache-2.0)
- Cloud tasks and automatic GitHub code review on paid plans
- Companion Codex Security plugin and open-source CLI find, validate and patch vulnerabilities
- Cloud features need Plus or higher
- Usage is metered by model and task and shared with ChatGPT Work
- Limits vary a lot by model
| Best for | ChatGPT subscribers who want local and cloud coding agents in one plan |
|---|---|
| Not for | Teams that must avoid any OpenAI account dependency |
| Pricing | Included in ChatGPT Free and Go ($8/mo) with limits, Plus ($20/mo), Pro ($100, $200 or $500/mo), Business (from $20/user), Edu and Enterprise; or API-key billing |
| Open source | Yes (Apache-2.0 (Codex CLI)) |
| Category | Coding agents |
| Verified | 2026-11-22 |
What OpenAI Codex is used for
- Switch from Claude Code or Cursor: type /import in a local Codex CLI session to bring over your setup, project files and recent chats.
- Use the ChatGPT desktop app's import instead to bring over setup from Claude Code, Claude Cowork or Cursor.
- Check remaining usage during a Codex CLI session with /status.
OpenAI Codex pricing and key facts
- Codex is included in ChatGPT Free, Go, Plus, Pro, Business and Enterprise plans. Local messages and cloud chats share your plan's usage allowance, and weekly limits may also apply.
- /import turns instruction files into AGENTS.md and settings.json into config.toml, and can also bring over skills, plugins, MCP server config, hooks, slash commands (as skills), subagents and Claude Code project memories.
- The Codex CLI imports up to 50 chats from the last 30 days.
- Importing doesn't change or delete your existing setup in the other tool.
- /import isn't available while a task is running, in a remote session, or while connected to a local app-server daemon.
From the official site, checked 2026-10-28: learn.chatgpt.com/docs/import, chatgpt.com/codex/pricing.
OpenAI Codex FAQ
Can I move from Claude Code or Cursor to Codex?
Yes. In a local Codex CLI session, type /import, choose the source and pick what to bring over. Your existing setup isn't changed or deleted.
What should I check after importing into Codex?
OpenAI suggests reviewing tool permissions in imported skills and agents, MCP servers that need you to sign in again, hooks, and plugins that need manual follow-up.
How do I see my Codex usage limits?
In the Codex usage dashboard, or with /status during an active Codex CLI session.
Alternatives
AI-first code editor with an agent that plans and edits across your codebase.
+ Full editor built around agent workflows
− Plus ($8/mo) is limited to Grok models; third-party models cost extra at API list price
Closed sourceFree optionCoding agents
GitHub's AI pair programmer and coding agent that works from issues to pull requests.
+ Free tier and low-cost Pro
− Agent and chat usage is metered in AI credits
Closed sourceFree optionCoding agents
Autonomous software engineer from Cognition; Windsurf is now Devin Desktop.
+ Delegates whole tasks asynchronously
− Overages billed at model/API pricing
Closed sourceFree optionCoding agents
Open-source AI pair programmer in your terminal that edits files in your git repo.
+ Free and open source
− Terminal only
Open sourceFree optionCoding agents
Related task guides
Sources
- https://chatgpt.com/codex/pricing/
- https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan
- https://github.com/openai/codex
Logo used to identify the product; trademarks belong to their owners. Pricing changes often, so confirm on the official site.