Kimi Code CLI vs. Opencode

Comparison between Kimi Code CLI and Opencode 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

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

Comparison

Side-by-side comparison of Kimi Code CLI and Opencode.

Coding Agent Comparison

Metric
Kimi Code CLI
Kimi K3
Opencode
Muse Spark 1.1 (xhigh)
Analysis
Agent Harness
Kimi Code CLI
Opencode
Representative Model
Kimi K3
Muse Spark 1.1 (xhigh)
Coding Agent Index
57
49
Kimi Code CLI has a higher Coding Agent Index than Opencode
DeepSWE
64%
54%
Kimi Code CLI has a higher DeepSWE score than Opencode
Terminal-Bench v2
84%
73%
Kimi Code CLI has a higher Terminal-Bench v2 score than Opencode
SWE-Atlas-QnA
23%
19%
Kimi Code CLI has a higher SWE-Atlas-QnA score than Opencode
Cost per Task
$3.18
$1.43
Opencode has a lower cost per task than Kimi Code CLI
Time per Task
23.8m
12.6m
Opencode has a lower time per task than Kimi Code CLI
Turns per Task
124.6
55.4
Opencode has a lower turns per task than Kimi Code CLI
Token Usage per Task
10.6M
12.2M
Kimi Code CLI has a lower token usage per task than Opencode
Cache Hit Rate
95%
95%
Both agents have the same cache hit rate

Model Variants

Evaluated model variants for Kimi Code CLI and Opencode.

Model Variants

Kimi Code CLI
Kimi K3
57
64%
84%
23%
$3.18
23.8m
10.6M
Opencode
Muse Spark 1.1 (xhigh)
49
54%
73%
19%
$1.43
12.6m
12.2M
Opencode
Opus 4.7 (medium)
45
40%
75%
22%
$2.93
12.2m
7.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

The Artificial Analysis Coding Agent Index is a composite score built from DeepSWE, Terminal-Bench v2, 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 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.

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

Reused prompt tokens billed through provider prompt caching when that telemetry is available, rather than being processed as a fully fresh input each time.

Some providers route repeated requests across different backend replicas. When prompt cache state is not shared consistently across those replicas, a model may receive fewer cache hits even when the benchmark task flow is otherwise identical.

We do not add custom relay headers or provider-specific affinity controls to force higher cache reuse, because that would make the benchmark less representative of a typical user setup. As a result, reported costs reflect the cache behavior observed through the configured provider path, not an optimized best-case cache scenario.

Tokens returned by the model in its visible response during the task.

Artificial Analysis Coding Agent Index vs. Total Tokens

Artificial Analysis Coding Agent Index vs. average total tokens per task
Most attractive quadrant

Each point represents a coding-agent variant. Farther right means higher benchmark performance, while lower token usage appears farther left. Agents toward the upper-left use fewer tokens for a given level of performance.

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

This chart shows the average pay-per-token API cost per task across the Artificial Analysis Coding Agent Index, spanning DeepSWE, Terminal-Bench v2, 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. Cost per Task

Artificial Analysis Coding Agent Index vs. average pay-per-token API cost per task (USD)
Most attractive quadrant

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

Execution Time

Active agent runtime across the Artificial Analysis Coding Agent Index.

Time per Task

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. Execution Time

Artificial Analysis Coding Agent Index vs. average agent wall time per task
Most attractive quadrant

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