Gemini CLI vs. Opencode

Vergleich von Gemini CLI und Opencode im Artificial Analysis Coding Agent Index, einschließlich Benchmark-Werten, Kosten, Ausführungszeit und Tokenverbrauch.

Einzelheiten zu unserer Methodik finden Sie auf unserer Methodikseite.

Weitere Vergleiche entdecken
vs

Wichtigste Ergebnisse

Artificial Analysis Coding Agent Index v1.4 · Higher is better
Average agent wall time per task · Lower is better
Average API cost per task (USD) · Lower is better

Vergleich

Direkter Vergleich von Gemini CLI und Opencode.

Programmieragenten-Vergleich

Metrik
Gemini CLI
Gemini 3.1 Pro (high)
Opencode
Gemini 3.7 Flash (high)
Analyse
Agent-Harness
Gemini CLI
Opencode
Repräsentatives Modell
Gemini 3.1 Pro (high)
Gemini 3.7 Flash (high)
Coding Agent Index
33
60
Opencode hat einen höheren Coding Agent Index als Gemini CLI
DeepSWE
14%
57%
Opencode hat einen höheren DeepSWE-Wert als Gemini CLI
Terminal-Bench v2.1
76%
91%
Opencode hat einen höheren Terminal-Bench v2.1-Wert als Gemini CLI
SWE-Atlas-QnA
9%
31%
Opencode hat einen höheren SWE-Atlas-QnA-Wert als Gemini CLI
Kosten pro Aufgabe
$1.04
$1.27
Gemini CLI hat geringere Kosten pro Aufgabe als Opencode
Zeit pro Aufgabe
11.1m
8.8m
Opencode hat eine geringere Zeit pro Aufgabe als Gemini CLI
Runden pro Aufgabe
31
83.4
Gemini CLI hat weniger Runden pro Aufgabe als Opencode
Token-Nutzung pro Aufgabe
4.7M
18.5M
Gemini CLI hat eine geringere Token-Nutzung pro Aufgabe als Opencode
Cache-Trefferquote
87%
86%
Gemini CLI hat eine höhere Cache-Trefferquote als Opencode

Modellvarianten

Bewertete Modellvarianten für Gemini CLI und Opencode.

Modellvarianten

Gemini CLI
Gemini 3.1 Pro (high)
33
14%
76%
9%
$1.04
11.1m
4.7M
Opencode
Gemini 3.7 Flash (high)
60
57%
91%
31%
$1.27
8.8m
18.5M
Opencode
Muse Spark 1.2 (xhigh)
59
53%
80%
44%
$1.91
17.7m
16.4M
Opencode
Muse Spark 1.1 (xhigh)
55
54%
77%
33%
$1.44
12.7m
12.3M
Opencode
Opus 4.7 (medium)
51
40%
78%
36%
$2.94
12.5m
7.6M
Opencode
Gemini 3.6 Flash (high)
47
41%
79%
22%
$2.08
10.4m
13M

Leistung

Leistung im Artificial Analysis Coding Agent Index.

Artificial Analysis Coding Agent Index

Artificial Analysis Coding Agent Index v1.4 incorporates 3 benchmarks: DeepSWE, Terminal-Bench v2.1, and SWE-Atlas-QnA · Higher is better
Since benchmarking, we have observed a higher rate of content safety filtering on this endpoint.

The Artificial Analysis Coding Agent Index is a composite score built from DeepSWE, Terminal-Bench v2.1, and SWE-Atlas-QnA.

It is useful for quick comparison, but it should be read alongside the per-eval breakdowns. Two agents with similar index values can still have different strengths across repository tasks, terminal workflows, and rubric-based evaluations.

Token-Nutzung

Token-Verbrauch im Artificial Analysis Coding Agent Index.

Token-Nutzung pro Aufgabe

Durchschnittliche Eingabe-, Cache- und Ausgabe-Tokens pro Aufgabe
Prompt cache hit rates can vary significantly by provider routing, which can materially change effective cost.

Non-cached input tokens sent to the model, including prompts, instructions, tool context, and task context that were not served from prompt cache.

Artificial Analysis Coding Agent Index vs. Gesamt-Tokens

Artificial Analysis Coding Agent Index vs. durchschnittliche Gesamt-Tokens pro Aufgabe
Most attractive quadrant

Each point represents a coding-agent variant. Farther left means lower average total token usage per task, while higher on the chart means higher benchmark performance. Agents toward the upper-left achieve stronger results with fewer tokens.

Kosten

Pay-per-Token-API-Kosten im Artificial Analysis Coding Agent Index, basierend auf den aktuellen Preisen pro Token.

Kosten pro Aufgabe

Average pay-per-token API cost per task (USD) · Lower is better

This chart shows the average pay-per-token API cost per task across the Artificial Analysis Coding Agent Index, spanning DeepSWE, Terminal-Bench v2.1, and SWE-Atlas-QnA.

Where applicable, that cost model includes standard input pricing, discounted cached-input pricing, separate cache-write charges, and output pricing rather than treating all prompt tokens as if they were billed at the same uncached input rate.

It is intended to show pay-per-token API cost, not consumer plan pricing or the full operational cost of deploying the system in production. Infrastructure, engineering, and supervision costs are not the focus of this metric.

Artificial Analysis Coding Agent Index vs. Kosten pro Aufgabe

Artificial Analysis Coding Agent Index vs. durchschnittliche Pay-per-Token-API-Kosten pro Aufgabe (USD)
Most attractive quadrant
Pareto line

Each point represents a coding-agent variant. Farther left means lower average cost per task, while higher on the chart means higher benchmark performance. The most efficient agents sit toward the upper-left: stronger results at lower cost.

Ausführungszeit

Aktive Agent-Laufzeit im Artificial Analysis Coding Agent Index.

Zeit pro Aufgabe

Average agent wall time per task · Lower is better

This chart uses agent wall time: how long the agent process was actively running on each task.

It does not include environment startup, verifier or judge time, or other harness overhead, so it is a cleaner comparison of how long the agent itself was working.

Artificial Analysis Coding Agent Index vs. Ausführungszeit

Artificial Analysis Coding Agent Index vs. durchschnittliche Agent-Laufzeit pro Aufgabe
Most attractive quadrant

Each point represents a coding-agent variant. Farther left means shorter average agent runtime per task, while higher on the chart means higher benchmark performance. Agents toward the upper-left deliver stronger results in less active agent time.