{
    "products": [
        {
            "slug": "claude-code",
            "name": "Claude Code",
            "kind": "app",
            "website": "https://claude.com/product/claude-code",
            "page": "https://listme.name/software/claude-code",
            "tagline": "Anthropic's agentic coding tool for the terminal, IDE, Slack and web",
            "summary": "Claude Code is Anthropic's agentic coding tool. It reads a codebase, edits files, runs commands and works through bug fixes, tests and migrations, from a terminal, an IDE, Slack or the web.",
            "developer": "Anthropic",
            "platforms": [
                "cli",
                "web"
            ],
            "pricing": "subscription",
            "price_note": "Included in Claude Pro and Max plans; no separate free tier is listed",
            "free_to_use": false,
            "open_source": false,
            "strengths": [
                "Works from the terminal, an IDE, Slack and the web",
                "Edits files and runs commands in a project",
                "Included in Pro and Max plans"
            ],
            "limits": [
                "Needs a paid Claude plan",
                "Heavier use needs Max, which costs more"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "overview": "Claude Code is Anthropic's coding agent. According to its product page, it understands a codebase, edits files, runs commands and handles tasks such as a bug fix, a test or a multi-day migration. Developers steer it from the terminal, an IDE, Slack or the web, and review its changes before they are merged.\n\nThe product page lists Claude Code as included in the Pro plan at $17 a month billed annually or $20 billed monthly, and in Max plans from $100 a month. Pro is described for short sprints in smaller codebases, and Max for everyday use in larger ones. Other coding agents in this category include Cline and Aider, which are open source, and Cursor and GitHub Copilot, which are commercial."
        },
        {
            "slug": "openai-codex",
            "name": "OpenAI Codex",
            "kind": "app",
            "website": "https://github.com/openai/codex",
            "page": "https://listme.name/software/openai-codex",
            "tagline": "OpenAI's open-source coding agent for the terminal",
            "summary": "OpenAI Codex is a coding agent from OpenAI that runs locally in the terminal. Its Codex CLI is open source under the Apache-2.0 license and is published on GitHub.",
            "developer": "OpenAI",
            "platforms": [
                "cli"
            ],
            "pricing": "open-source",
            "price_note": "Open-source CLI under Apache-2.0; README covers use with a ChatGPT plan",
            "free_to_use": true,
            "open_source": true,
            "license": "Apache-2.0",
            "source": "https://github.com/openai/codex",
            "strengths": [
                "Apache-2.0 licensed with source on GitHub",
                "Runs locally in the terminal",
                "README covers installation and quickstart"
            ],
            "limits": [
                "Terminal-only interface",
                "Tied to OpenAI sign-in and model access"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "overview": "Codex CLI is OpenAI's coding agent for the terminal. Its GitHub README describes it as a coding agent that runs locally on the user's computer, and it links to installation and quickstart guides. The README also includes a section on using Codex with a ChatGPT plan.\n\nThe source is published under the Apache-2.0 license, so the behavior of the local program can be read and built. Model access goes through OpenAI's services, which makes an OpenAI account part of the setup. For a terminal agent that can use several model providers, Aider and Cline are the open-source options listed in this category."
        }
    ],
    "differences": [
        "Only Claude Code runs on Web.",
        "OpenAI Codex is open source; Claude Code is not.",
        "OpenAI Codex has a free plan or free version; Claude Code does not.",
        "Claude Code: subscription. OpenAI Codex: free and open source."
    ],
    "shared_rankings": [
        {
            "list": "terminal-coding-agents",
            "name": "Terminal coding agents",
            "page": "https://listme.name/best/terminal-coding-agents",
            "of": 13,
            "results": [
                {
                    "product": "claude-code",
                    "rank": 1,
                    "score": 93,
                    "verdict": "Mature terminal agent with MCP servers and subagents. It runs Claude models only, and its source is closed, so the model choice is fixed.",
                    "best_for": "Professional work in a large codebase on Claude",
                    "spec": {
                        "providers": "Claude models through Anthropic or cloud hosts",
                        "local_models": false,
                        "mcp": true
                    }
                },
                {
                    "product": "openai-codex",
                    "rank": 2,
                    "score": 91.5,
                    "verdict": "Open source under Apache 2.0, with MCP servers and built-in Ollama and LM Studio providers next to OpenAI models. Other vendors need a custom provider entry.",
                    "best_for": "Open-source terminal agent for OpenAI models",
                    "spec": {
                        "providers": "OpenAI models plus custom OpenAI-compatible providers",
                        "local_models": true,
                        "mcp": true
                    }
                }
            ]
        },
        {
            "list": "ai-coding-assistants",
            "name": "AI coding assistants",
            "page": "https://listme.name/best/ai-coding-assistants",
            "of": 10,
            "results": [
                {
                    "product": "claude-code",
                    "rank": 1,
                    "score": 93,
                    "verdict": "Agentic coding from the terminal, IDE, Slack or the web, included in Pro and Max. It has no free tier, and heavier daily use points to the Max plan.",
                    "best_for": "Terminal-first agentic coding inside a Claude plan",
                    "spec": {
                        "interface": "Terminal, IDE, Slack and web",
                        "model_choice": "Anthropic models",
                        "git_commits": "Not listed"
                    }
                },
                {
                    "product": "openai-codex",
                    "rank": 8,
                    "score": 81,
                    "verdict": "An Apache 2.0 terminal agent from OpenAI that runs on the user's computer. The pages checked tie model access to OpenAI sign-in, and it offers no graphical interface.",
                    "best_for": "Open-source terminal agent in the OpenAI ecosystem",
                    "spec": {
                        "interface": "Terminal",
                        "model_choice": "OpenAI models",
                        "git_commits": "Not listed"
                    }
                }
            ]
        }
    ],
    "ranks_higher_in_closest_shared_list": "claude-code",
    "page": "https://listme.name/compare/claude-code-vs-openai-codex",
    "json": "https://listme.name/api/v1/compare/claude-code-vs-openai-codex.json",
    "notes": [
        "Scores are editorial and only comparable inside one list. Products with connected_to_publisher true receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}