Claude Code vs. Gemini CLI
Comparación entre Claude Code y Gemini CLI en el Artificial Analysis Coding Agent Index, incluidos resultados de benchmarks, coste, tiempo de ejecución y uso de tokens.
Para más detalles sobre nuestra metodología, consulta nuestra página de metodología.
Explora otras comparaciones
vs
Destacados
Comparison
Side-by-side comparison of Claude Code and Gemini CLI.
Coding Agent Comparison
Metric | Analysis | ||
|---|---|---|---|
Agent Harness | Claude Code | Gemini CLI | |
Representative Model | Opus 5 (xhigh) | Gemini 3.1 Pro (high) | |
Coding Agent Index | 67 | 30 | Claude Code has a higher Coding Agent Index than Gemini CLI |
DeepSWE | 60% | 14% | Claude Code has a higher DeepSWE score than Gemini CLI |
Terminal-Bench v2 | 85% | 68% | Claude Code has a higher Terminal-Bench v2 score than Gemini CLI |
SWE-Atlas-QnA | 55% | 9% | Claude Code has a higher SWE-Atlas-QnA score than Gemini CLI |
Cost per Task | $8.23 | $2.00 | Gemini CLI has a lower cost per task than Claude Code |
Time per Task | 23.6m | 10.8m | Gemini CLI has a lower time per task than Claude Code |
Turns per Task | 153 | 30.7 | Gemini CLI has a lower turns per task than Claude Code |
Token Usage per Task | 21.8M | 4.7M | Gemini CLI has a lower token usage per task than Claude Code |
Cache Hit Rate | 97% | 87% | Claude Code has a higher cache hit rate than Gemini CLI |
Model Variants
Evaluated model variants for Claude Code and Gemini CLI.
Model Variants
67 | 60% | 85% | 55% | $8.23 | 23.6m | 21.8M | ||
66 | 66% | 83% | 49% | $11.71 | 23.4m | 14M | ||
66 | 63% | 85% | 49% | $8.95 | 23.7m | 23.9M | ||
63 | 61% | 80% | 49% | $3.80 | 13.4m | 9.7M | ||
62 | 63% | 79% | 44% | $3.14 | 12.2m | 7.9M | ||
61 | 56% | 79% | 47% | $7.70 | 23.1m | 17.9M | ||
58 | 51% | 81% | 43% | $5.67 | 17.6m | 13.8M | ||
57 | 57% | 74% | 39% | $2.18 | 9.5m | 5.2M | ||
57 | 52% | 80% | 39% | $3.72 | 12.3m | 9.1M | ||
54 | 49% | 75% | 36% | $3.26 | 12.4m | 7.8M | ||
50 | 40% | 74% | 37% | $5.63 | 15.7m | 15.9M | ||
47 | 41% | 73% | 28% | $2.15 | 8.5m | 5.2M | ||
43 | 29% | 72% | 29% | $6.51 | 25.1m | 6.5M | ||
40 | 27% | 71% | 23% | $1.68 | 6.3m | 4.6M | ||
38 | 29% | 64% | 20% | $2.01 | 13.5m | 8.5M | ||
36 | 19% | 65% | 25% | $4.33 | 19.6m | 25.9M | ||
36 | 19% | 65% | 24% | $6.23 | 10.6m | 8.7M | ||
33 | 17% | 65% | 16% | $1.19 | 41.0m | 11.5M | ||
31 | 9% | 66% | 20% | $0.27 | 17.9m | 9.8M | ||
46 | - | 71% | 22% | $1.28 | 8.0m | 4.5M | ||
30 | 14% | 68% | 9% | $2.00 | 10.8m | 4.7M |
Performance
Performance across the Artificial Analysis Coding Agent Index.
Artificial Analysis Coding Agent Index
Artificial Analysis Coding Agent Index v1.3 incorporates 3 benchmarks: 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
Pareto line
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