PulseAugur
EN
LIVE 12:00:21

AI coding agent costs driven by steps, not tokens, study finds

An investigation into the cost of AI coding agents revealed that the number of steps an agent takes, rather than token usage, is the primary driver of expense. The author built an open-source tool called `knock` to optimize these agents. Initial versions of `knock` failed to reduce costs, but a later version that provided the agent with a map of the codebase significantly cut down on unnecessary exploration and tool calls, leading to substantial savings on large, unfamiliar codebases. AI

IMPACT Optimizing AI coding agents by reducing steps could significantly lower operational costs for developers and enterprises.

RANK_REASON The item describes the development and testing of a new tool (`knock`) designed to optimize AI coding agents.

Read on dev.to — MCP tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

AI coding agent costs driven by steps, not tokens, study finds

How we ranked this

Signal score
1 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
The item describes the development and testing of a new tool (`knock`) designed to optimize AI coding agents.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
1 days old
Coverage has settled into its steady-state source set.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — MCP tag TIER_1 English(EN) · HasanGilani ·

    I recorded 87 Claude Code sessions to find out where the money goes

    <p>I wanted to know why AI coding agents get expensive on real codebases, so I stopped guessing and started recording. Every session in this post is a real Claude Code run (Claude Sonnet 5), saved as a full transcript with the cost Claude Code reported. 87 sessions in total, on t…