Codex vs. Grok Build
Comparison between Codex and Grok Build across the Artificial Analysis Coding Agent Index, including benchmark scores, cost, execution time, and token usage.
For details relating to our methodology, see our methodology page.
Explore other comparisons
vs
Highlights
Comparison
Side-by-side comparison of Codex and Grok Build.
Coding Agent Comparison
Metric | Analysis | ||
|---|---|---|---|
Agent Harness | Codex | Grok Build | |
Representative Model | GPT-5.5 (xhigh) | Grok 4.5 | |
Coding Agent Index | 76 | 76 | Codex has a higher Coding Agent Index than Grok Build |
DeepSWE | 64% | 60% | Codex has a higher DeepSWE score than Grok Build |
Terminal-Bench v2 | 84% | 85% | Grok Build has a higher Terminal-Bench v2 score than Codex |
SWE-Atlas-QnA | 81% | 84% | Grok Build has a higher SWE-Atlas-QnA score than Codex |
Cost per Task | $5.07 | $2.59 | Grok Build has a lower cost per task than Codex |
Time per Task | 10.1m | 16.5m | Codex has a lower time per task than Grok Build |
Turns per Task | 106.3 | 60.9 | Grok Build has a lower turns per task than Codex |
Token Usage per Task | 12.3M | 3.6M | Grok Build has a lower token usage per task than Codex |
Cache Hit Rate | 94% | 93% | Codex has a higher cache hit rate than Grok Build |
Model Variants
Evaluated model variants for Codex and Grok Build.
Model Variants
76 | 64% | 84% | 81% | $5.07 | 10.1m | 12.3M | ||
71 | 57% | 76% | 79% | $2.75 | 6.4m | 7M | ||
71 | - | 70% | 72% | $2.27 | 7.1m | 5.7M | ||
76 | 60% | 85% | 84% | $2.59 | 16.5m | 3.6M |
Performance
Performance across the Artificial Analysis Coding Agent Index.
Artificial Analysis Coding Agent Index
Composite average pass@1 across DeepSWE, Terminal-Bench v2, and SWE-Atlas-QnA · Higher is better
Token Usage
Token consumption across the Artificial Analysis Coding Agent Index.
Token Usage per Task
Average input, cache, and output tokens per task
Prompt cache hit rates can vary significantly by provider routing, which can materially change effective cost.
Artificial Analysis Coding Agent Index vs. Total Tokens
Artificial Analysis Coding Agent Index vs. average total tokens per task
Most attractive quadrant
Cost
Pay-per-token API cost across the Artificial Analysis Coding Agent Index, based on current per-token pricing.
Cost per Task
Average pay-per-token API cost per task (USD) · Lower is better
Artificial Analysis Coding Agent Index vs. Cost per Task
Artificial Analysis Coding Agent Index vs. average pay-per-token API cost per task (USD)
Most attractive quadrant
Execution Time
Active agent runtime across the Artificial Analysis Coding Agent Index.
Time per Task
Average agent wall time per task · Lower is better
Artificial Analysis Coding Agent Index vs. Execution Time
Artificial Analysis Coding Agent Index vs. average agent wall time per task
Most attractive quadrant