Codex or Claude Code: which works better with Clay?
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
Clay AI agent benchmark: Codex vs Claude Code
With Clay, Codex with GPT-6 Sol had the highest average score of the three setups, 83.2 out of 100 across five GTM data tasks, and used the fewest Clay credits and the least time: 1,313 credits for one average run of all five tasks, and 140.8 minutes across all 15 runs. Claude Code with Opus 5.5 passed the most runs, 14 of 15 against Codex's 8. On job changes, Claude Code ran one enrichment per profile, about 14 credits per person, and Sonnet scored 92 to 94 in every run.
By The Prompting Company · Snapshot November 5, 2026
The question
We ran Codex with GPT-6 Sol, Claude Code with Opus 5.5 and Claude Code with Sonnet 5 through the same five tasks with Clay, three runs each, and compared score, runs passed, Clay credits, time and model cost. Clay credits are measured as the change in the Clay workspace credit balance.
Task by task
Primary score out of 100, averaged over three runs; credits are per-task averages.
| Task | Codex | Opus | Sonnet | Codex credits | Opus credits | Sonnet credits |
|---|---|---|---|---|---|---|
| Work emails | 93.0 | 86.0 | 93.0 | 416 | 392 | 374 |
| Company data | 90.5 | 90.7 | 83.5 | 490 | 894 | 612 |
| CMO | 73.3 | 79.3 | 75.0 | 387 | 289 | 1,127 |
| Job changes | 73.0 | 62.7 | 93.3 | 0 | 938 | 1,407 |
| Target list | 86.0 | 92.7 | 70.7 | 20 | 400 | 277 |
| All five | 83.2 | 82.3 | 83.1 | 1,313 | 2,913 | 3,797 |
Opus's job change average includes one run that reached the 60-minute limit and counts as 0.
| Codex | Opus | Sonnet | |
|---|---|---|---|
| Runs passed, of 15 | 8 | 14 | 10 |
| Total minutes, 15 runs | 140.8 | 213.8 | 201.9 |
| Reported model cost | $14.38 (15 runs) | $15.06 (14 runs) | $25.25 (15 runs) |
Minutes are measured from run start to grading.
The three averages are within one point. The difference is in how often each setup cleared the pass line, and at what cost.
Where Codex did best
Target list. Codex built its list from Clay's company search in 4.2 to 4.8 minutes for 10 to 31 credits, with 88, 88 and 82 qualifying companies. Opus scored 91 to 94 for 129 to 913 credits in 7.7 to 12.8 minutes.
Company data. Codex averaged 98.3 on domain, HQ country and headcount, the best of any agent, by checking the candidates in Clay's company search before enriching. Opus led on funding rounds, 75.3 against 67.0.
Work emails. Codex found 93 of 100 in every run. In its third run it went straight to Work Email and spent 335.5 credits, about 3.4 per contact.
Where Claude Code did best
Job changes. Sonnet ran Clay's Enrich Person and Find Contact Details once per LinkedIn profile, decided every row and scored 92 to 94 in every run. Opus used the same enrichment and scored 94 in both of its finished runs. Codex used Clay's search, spent 0 credits and scored 78, 73 and 68.
CMO. Opus used free people search to choose each CMO, then Work Email for that one person: 74 to 82 for 285 to 293 credits. Codex scored 81, 73 and 66.
Which one should you use with Clay?
For tasks that can be done from Clay's search alone, such as building a target list or matching companies, Codex was the fastest and lowest-cost of these three setups. For tasks that need one paid lookup per row, such as job changes, Claude Code, with either model, spent about 14 credits per person and decided all or nearly all rows in every run it finished. If you use Codex for those tasks, tell it to run one enrichment per profile and to decide every row. Opus passed the most runs of the three. By spread between best and worst run, Sonnet and Codex were steadier across all five tasks, with sums of spreads of 35.75 and 36.5; Opus's 108.25 includes its one timeout and falls to 14.25 without it. For all seven agents, see "Which AI coding agent gets the most out of Clay?", and for the two Claude models, "Claude Opus or Sonnet: which is better at using Clay?".
How we tested
Seven agents, including Codex with GPT-6 Sol and Claude Code with Opus 5.5 and with Sonnet 5, ran each of five tasks three times, one agent at a time, in a fresh sandbox with the same Clay key, the same 19 saved Clay routines and a 60-minute limit. A timeout counts as 0; platform failures were rerun. Pass lines: 70 for emails; 90 for domain and HQ and 70 for headcount and funding; 70 for CMO name and title and 60 for email; 80 for job changes; 70 qualifying companies and a full list of 100 for the target list. Counting only runs that kept every value from Clay, Opus passed 13. Opus's timeout had no reported model cost. Tasks and graders: github.com/promptingcompany/clay-bench.
Try it yourself
The Clay Agent Plugin ships Clay's skills to your agent up front, including the habits that keep credit use down; setup is one prompt (about 15 minutes), and there is no additional cost to use it. Install the Clay Agent Plugin in Codex or Claude Code, or give either a Clay API key and the Clay Public API docs. Name the Clay method in the prompt: company search for lists, Work Email directly for emails, people search before any paid lookup for CMOs, and one enrichment per profile for job changes.
Common questions
Codex or Claude Code: which works better with Clay? Codex had the highest average, 83.2 of 100, on the fewest credits; Claude Code with Opus 5.5 passed the most runs, 14 of 15 against Codex's 8.
Which used fewer Clay credits? Codex: 1,313 for one average run of all five tasks, about 2.6 credits per record, against 2,913 for Opus and 3,797 for Sonnet.
What works best for job changes? One Enrich Person and Find Contact Details call per profile, at about 14 credits per person. It decided every row in Sonnet's runs, which scored 92 to 94; Codex's search-only runs spent 0 credits and scored 68 to 78.
Which was fastest? Codex, at 140.8 minutes for all 15 runs, against 201.9 for Sonnet and 213.8 for Opus.
