Skip to content
Arara Code

Guides and comparisons

Codex vs Claude Code: differences and when to use each

Codex, from OpenAI, and Claude Code, from Anthropic, are coding agents that run in the terminal, in editors, on the desktop, and on the web. Codex CLI is licensed under Apache-2.0 and accepts ChatGPT sign-in or an API key. Claude Code uses a Claude subscription or an Anthropic Console account. Both read instruction files and support MCP. Decide by testing the same task on your own repository.

Arara Code

Published by the Arara Code project based on the official documentation cited.

What Codex and Claude Code are and where they run

According to its official GitHub repository, Codex CLI is a coding agent from OpenAI that runs locally on your computer, in the terminal. Codex also has an extension for your code editor, a desktop app that opens with “codex app”, and Codex Web, the cloud agent at chatgpt.com/codex. The CLI repository is licensed under Apache-2.0. After installing it, for example with “npm install -g @openai/codex”, run “codex” in the terminal to get started.

Anthropic's documentation describes Claude Code as an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools. It runs in the terminal, in IDE extensions, in a desktop app, and in the browser at claude.ai/code. The desktop app does not need the CLI, but the plugin for JetBrains IDEs requires the CLI installed separately. Every surface connects to the same Claude Code engine.

Codex CLI on GitHub (OpenAI)

Access and accounts for each tool

For Codex, the README recommends running “codex” and selecting “Sign in with ChatGPT” to use Codex as part of a Plus, Pro, Business, Edu, or Enterprise plan. You can also use an API key, with some extra setup. On the Codex pricing page, OpenAI says the API key option suits automation in shared environments such as CI, works in the CLI, SDK, and IDE extension, has no cloud features, and is billed at API pricing.

For Claude Code, the overview says most surfaces require a Claude subscription or an Anthropic Console account, and that the terminal CLI also supports third-party providers. It asks you to log in on first use. If you set the ANTHROPIC_API_KEY environment variable and approve the key when asked, it skips the login prompt. The desktop app requires a paid subscription. Quotas and terms stay with each provider, and Arara Code is not affiliated with OpenAI or Anthropic.

Claude Code overview (Anthropic)

Instructions, permissions, and MCP side by side

Both read project instruction files. On the Codex pricing page, the feature table includes custom instructions with AGENTS.md, and OpenAI suggests nesting these files in your repository to control how much context goes in. In Claude Code, CLAUDE.md files hold persistent instructions. Both also use MCP: Codex lists MCP among its features, and in Claude Code your repository's CLAUDE.md files and MCP servers work across every surface.

Claude Code's permissions page describes modes such as Manual, the default, which asks for permission on first use of each tool; acceptEdits, which accepts file edits automatically; plan, which reads and explores without editing your source files; and bypassPermissions, which skips prompts except for actions no mode approves on its own. The “/permissions” command shows your allow, ask, and deny rules. For Codex, OpenAI lists sandboxing, permission controls, and automatic review of approval requests.

Claude Code: configure permissions (Anthropic)

How to decide and use both in Arara Code

To decide, test on your repository. Download Arara Code and, in the side chat, pick Codex or Claude Code in the platform, model, and effort picker. Without the CLI, “Download and install” runs the official installer in the background, then moves to sign-in. Create two branches from the same commit and send the same task, with acceptance criteria, to each assistant. Then run the tests on both and compare the diffs and how much of the limit each answer used.

To continue with the other assistant, the ⇄ button transfers the conversation to that platform, into chat 1, 2, or 3, with its history. Register your MCP servers once in Arara settings › MCPs, in a JSON with “mcpServers”. Saving validates the JSON and syncs the servers to Codex and Claude Code, and “Check connection” starts a server and lists its tools. You also approve or refuse each edit and command in the chat.

Arara Code repository on GitHub

Sources and further reading

Read as Markdown

Keep exploring

Make room for your next idea.

Get to know Arara Code in your own project. Start with the installer and review the changes your assistant makes.