Bridge by Wekoya / Guides / Claude Code vs Codex CLI
Claude Code vs Codex CLI
In short: Claude Code is Anthropic's terminal coding agent; Codex is OpenAI's, open source under Apache-2.0. Both read and edit your code and run commands, and both run on Bridge by Wekoya with Claude, GPT, DeepSeek or any model with tool calling, paid in naira. The model you choose sets the cost, not the agent.
Updated · Other companies' prices checked , rechecked every 90 days
Side by side
| Claude Code | Codex CLI | |
|---|---|---|
| Made by | Anthropic | OpenAI |
| Source | Not open source (© Anthropic, all rights reserved) | Open source, Apache-2.0 |
| Install | curl -fsSL https://claude.ai/install.sh | bash | npm install -g @openai/codex |
| Sign in on its own | A Claude Pro, Max, Ultra, Team or Enterprise plan, or an API account; not the free plan | Any ChatGPT plan (Free and Go as a limited trial), or an API key |
| Project instructions file | CLAUDE.md | AGENTS.md |
| Speaks | Anthropic's Messages API | OpenAI's Responses API |
| Connect to Bridge | Two environment variables | A provider in ~/.codex/config.toml |
| Models through Bridge | Any Bridge model with tool calling | Any Bridge model with tool calling |
| Web search through Bridge | Yes, billed per search | No: its web search runs on OpenAI's servers |
| Windows | Native installer | Native installer, or WSL2 |
From Claude Code's setup page, its licence, Codex on GitHub, Codex's sign-in docs and Codex pricing, checked on 2 December 2026.
Which is better?
Neither wins everywhere: both edit files, run commands and work through a task step by step, and the model behind them matters more than the agent. Claude Code is built around Claude and its own project file, CLAUDE.md; Codex is open source and reads AGENTS.md, which many other agents read too. Try both on a real task from your own project: on Bridge each costs only what its model uses, and you can run Claude inside Codex or DeepSeek inside Claude Code.
What they cost
The agents are free to install; you pay for the model they call. In our test on 2 December 2026, Claude Code fixed a bug and wrote and ran a test in three requests for ₦231 on Claude Opus 5.5, and fixed a similar bug in five requests for ₦2.59 on DeepSeek V4.1 Flash. Today's prices for the models most used with them:
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Claude Opus 5.5 | ₦6,292 | ₦31,460 | 1,000,000 |
| Claude Sonnet 5.5 | ₦3,146 | ₦15,730 | 1,000,000 |
| GPT-5.6 Terra | ₦3,461 | ₦20,764 | 1,050,000 |
| DeepSeek V4.1 Flash 1017 | ₦182 | ₦547 | 1,048,576 |
Set up either on Bridge
- Claude Code: set
ANTHROPIC_BASE_URL=https://wekoya-api.wekoya.techandANTHROPIC_AUTH_TOKENto your Bridge key. Full steps. - Codex: add Bridge as a provider in
~/.codex/config.tomlwithbase_url = "https://wekoya-api.wekoya.tech/v1"andwire_api = "responses". Full steps. - Or Wekoya Code, Wekoya's own terminal coding agent, which is set up for Bridge from the start: install it, run
wekoya login, and it uses your balance with nothing to configure.
Common questions
Is Claude Code better than Codex?
Neither is better for every job. Both edit code and run commands; the model behind them matters more. Claude Code is built around Claude, Codex is open source and reads AGENTS.md. Try both on a task from your own project.
Is Codex open source?
Yes. OpenAI's Codex CLI is open source under the Apache-2.0 licence. Claude Code is not open source: its licence reserves all rights to Anthropic.
Can Codex use Claude, or Claude Code use GPT?
Yes, through Bridge. Codex runs Claude with model = "claude-sonnet-5-5" and Bridge as its provider; Claude Code runs GPT with ANTHROPIC_MODEL=gpt-5.6-terra and Bridge as its base URL.
Which is cheaper, Claude Code or Codex?
Both are free to install; the cost is the model. On Bridge either is paid per request at the model's naira price, so a cheaper model costs less in either agent.