Head to head
OpenAI's coding agent with CLI, IDE, and cloud modes — the fastest-growing challenger on the leaderboard. Versus: anthropic's terminal-first coding agent — the tool that defined the agentic CLI category and still drives the most spend on the board. Whether you searched Codex vs Claude Code or Claude Code vs Codex, this page compares them on what developers actually run: 1,312 developers' monthly spend, tokens per day and overlap from ccusage data submitted to the leaderboard.
API-equivalent spend per developer per month, one row per developer, normalised to 30 days. Spend covers every tool a developer runs; the single-tool row isolates one. Medians are hidden below 10 developers. Methodology.
| Codex | Claude Code | |
|---|---|---|
| Developers measured | 533 | 1,276 |
| Median monthly spend (all tools) | $2,598/mo | $1,606/mo |
| Median, single-tool devs | $1,954/mo (n=16) | $1,189/mo (n=689) |
| Median tokens / day | 112.4M | 60.2M |
| Also use the other | 93% | 39% |
| OpenAI Codex | Claude Code | |
|---|---|---|
| Maker | OpenAI | Anthropic |
| Pricing | Included with ChatGPT paid plans, or pay-as-you-go via the OpenAI API | Included with Claude Pro ($20/mo) and Max ($100–$200/mo), or pay-as-you-go via the Claude API |
| Models | OpenAI GPT-5 era Codex models | Claude models (Opus, Sonnet, Haiku) |
| Devs on board | 535 | 1,335 |
| Top spender | $1,810,971 · 3.1T tokens | $1,810,971 · 3.1T tokens |
Claude Code has more developers on the board (1,276 vs 533), and 93% of Codex developers also use Claude Code. Many people don't pick one; they run both and route work between them.
Developers who use only Codex run a median $1,954/month of API-equivalent usage (16 developers); Claude Code-only developers run $1,189 (689). By that measure Claude Code users consume less. Consuming less is not the same as paying less: most developers here are on flat subscriptions, so compare your own volume with the plan prices above.
Pick Codex if you already pay for ChatGPT, prefer OpenAI's models, or want cloud tasks alongside the CLI. Pick Claude Code if you want a terminal agent that runs long, multi-step tasks on Claude models and you'll use it enough to justify a Max plan.
Where do you land?
One command reads your local Codex and Claude Code logs and puts your real usage on the board — code and prompts never leave your machine.
npx viberank-cliNeither wins across the board, and we don't publish benchmark scores we didn't run. What we can measure: Codex has 535 developers on the board and Claude Code has 1,335, and 497 developers use both. Pick Codex if you already pay for ChatGPT, prefer OpenAI's models, or want cloud tasks alongside the CLI. Pick Claude Code if you want a terminal agent that runs long, multi-step tasks on Claude models and you'll use it enough to justify a Max plan.
On list price: Codex is included with ChatGPT paid plans, or pay-as-you-go via the OpenAI API; Claude Code is included with Claude Pro ($20/mo) and Max ($100–$200/mo), or pay-as-you-go via the Claude API. Developers who use only Codex run a median $1,954/month of API-equivalent usage (16 developers); Claude Code-only developers run $1,189 (689). By that measure Claude Code users consume less. Run npx ccusage@latest daily to see what your own usage is worth.
On the Viberank leaderboard, Claude Code currently has more developers submitting real usage data (1,335 vs 535). Adoption shifts monthly — the numbers on this page update from live ccusage submissions.
Yes: 497 developers on the board do. ccusage reads local logs from every supported agent, and a single npx viberank-cli submission records your usage per tool, so your profile shows how your spend splits between them.
From developers who submit their ccusage data to Viberank: token counts and API-equivalent cost computed from local session logs, validated server-side. Each developer counts once (their largest submission), normalised to a 30-day month; submissions under 7 days are left out. Spend covers every tool the developer ran, so the single-tool rows are the cleanest read on one tool. Medians are hidden below 10 developers. It is what the usage would cost at list prices, not what anyone was billed.
Related reading: Codex vs Claude Code vs Gemini CLI in depth, what Claude Code actually costs, or which subscription your usage justifies.