Claude Code token usage up to 30 times higher than others in agent framework test

icon MarsBit
Share
AI summary iconSummary
The Composio team recently conducted a benchmark test on new token listings, comparing token usage across three agent frameworks—Claude Code, Hermes, and Kimi Code—using the Kimi K3 model on 28 identical tasks. The token launch announcement highlights that Claude Code used up to 30 times more tokens than the others, with a median of 340,000 tokens versus 61,000 for Kimi Code. Costs reached $2 per task for Claude Code, compared to $0.22 for Kimi Code. The test demonstrates that agent design significantly impacts token efficiency and cost.

Everyone says Claude Code wastes tokens—just how much does it really cost? Finally, someone has calculated the numbers.

Recently, there was an interesting comparative experiment conducted by the Composio team. They used the same model Kimi K3, run separately in three different agent frameworks—Claude Code, Hermes, and Kimi Code—— A total of 28 identical tasks were tested.

Model orchestration

As a result, the success rates of the three harnesses completing the task are similar: Kimi Code succeeded in 22 out of 28, Hermes in 21, and Claude Code in 20. The differences are not significant.

What truly makes the difference is token consumption. For the same task, the token usage can vary by up to 30 times depending on the harness used.

Median-wise, Kimi Code uses about 61,000 tokens, Hermes around 67,000, while Claude Code jumps directly to 340,000, roughly Kimi Six times the code.

Model orchestration

Press Kimi At a rate of $3 per million input tokens for K3 (input tokens typically account for about 95% in agent workflows), the average cost per task is approximately: Kimi Code is $0.22, Hermes is $0.28, and Claude Code reaches $2. The difference is clear.

They also differ in speed. The median time taken is fastest with Hermes at 179 seconds; Kimi Code 297 seconds; Claude Code 348 seconds.

So the fastest is Hermes, and the most token-efficient is Kimi Code, and the two do not overlap.

The Composio team drew a direct conclusion from this: if you want to reduce agent costs, first examine which harness you're using, rather than rushing to switch models. Their data shows that the harness alone can cause a 9-fold difference in costs, while model performance is roughly equivalent.

Model orchestration

Sebastian Raschka also posted about this result, noting that it aligns with his previous observations using Qwen3.6: Claude Code typically uses two to three times as many tokens as many other harnesses, despite having similar success rates.

Model orchestration

He suggested several possible reasons: was it poorly optimized? Did it have a bug? Or was it intentionally designed this way (because it might help with harder tasks)? He said he needs to spend more time investigating carefully.

He then added observations from when he wrote his article on local coding agents last month. At that time, he analyzed why Claude Code used more tokens and found that the difference primarily lay in the input tokens, not the output tokens. In other words, Claude did not generate twice as much content. Logs showed that Claude’s harness repeatedly feeds additional context back into the model during multi-turn interactions, including previous messages, tool calls, command outputs, and file contents. For example, in one instance, Claude used approximately 578,000 input tokens but only around 4,500 output tokens across 25 turns. Thus, a more likely explanation is that Claude’s harness accumulates or includes a larger prompt history during multi-step agent execution.

Model orchestration

These test results reveal a significant trend: the importance of harness is now on par with the model itself.

A recent paper from Writer, a company building an enterprise-grade AI agent platform, systematically demonstrates this: it uses controlled variable experiments to show that switching the harness layer reduces costs more than switching models, and all models benefit.

Model orchestration

Specifically, they conducted a rigorous "control variables" experiment: keeping 22 enterprise tasks and six foundational models (Claude Sonnet 4.6, Gemini 3.1, Gemini Flash 3.5, Qwen 3.6, GLM 5.1, Palmyra X6) constant, they replaced only the orchestration layer—substituting the traditional production-grade agent loop with Writer’s own Harness.

Experimental results show: average cost per task decreased by 41% (from $0.21 to $0.12), median latency reduced by 44% (from 48 seconds to 27 seconds), and Token consumption dropped by 38% (from 14.2k to 8.8k), while task completion quality remained nearly unchanged (0.78 to 0.81—considered statistically insignificant due to small sample size). In terms of cost-efficiency, quality gained per dollar increased by 82%, and the number of tasks completed per million Tokens rose from 54.9 to 92.0.

So, after the model becomes like "water, electricity, and gas," is harness the air conditioner that determines your electricity bill? In other words: previously, people said "the model is the product"; now is it "harness is the product"?

Model orchestration

Since harness is so important, shouldn't the subsequent accounting be more detailed?

Some have pointed out that we need to add a "harness tax" to our existing benchmarks, especially since this tax does not grow linearly once tool calls and retries enter a loop.

Model orchestration

In other words, in future agent competitions, the first half will be about “whether it can be done,” while the second half will be about “who can do the same thing more efficiently”—and the secret to saving costs lies not in the model, but in the harness.

Model orchestration

Have you had a similar experience while running an Agent? Feel free to discuss in the comments.

This article is from the WeChat public account "Machine Heart" (ID: almosthuman2014), authored by Machine Heart.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.