AIToday
Large Language ModelsAI Coding AssistantsAI Business & IndustryGIGAZINE AIPublished: Nov 2, 2026, 10:00 JST

Flamerix AI: Claude Code agent summary burns 15-20% of tokens

Send on LINE
Flamerix AI: Claude Code agent summary burns 15-20% of tokens

3 Key Points

  1. What happened

    Flamerix AI analyzed OpenTelemetry exports and found Claude Code's agent summary feature consumes roughly 15-20% of total token spending, about one in five API requests, and 18-26% on Opus models.

  2. Why it matters

    A cost overhead of 15-20% of tokens, rising to 18-26% on Opus, lands on teams paying per token for Claude Code usage, according to the analysis.

WHO IT HITSDevelopers and teams running Claude Code, especially those using Opus models, may be paying for token consumption they did not intend, based on Flamerix AI's measurements.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

Claude Code's agent summary works by sending each background agent's full transcript to its own model roughly every 30 seconds, asking for a 3-5 word description of its latest action. That answer serves only to refresh the status line in the agent panel, not to inform the model or the conversation, according to Flamerix AI's analysis. The feature has been enabled by default since Claude Code version 2.1.232, and Flamerix AI says it cannot be turned off through settings.

Flamerix AI's measurements, drawn from OpenTelemetry exports, put the feature at roughly 15-20% of overall token spending, with about one in five API requests tied to it. The share climbs to 18-26% when Opus models are used, making cost growth particularly noticeable there. To address the lack of an off switch, Flamerix AI built no-agent-summary.js, a Bun preload script of about 70 lines that wraps the global setTimeout() function and blocks callbacks containing a specific anchor such as "[AgentSummary] Timer fired", leaving other timers untouched. Because it loads via Bun's --preload option without modifying the Claude Code binary, updates do not disable it, though changes to the anchor would break it.

Flamerix AI lists the visible effect as zero agent summary requests and no per-agent panel status updates, with overhead rising from about 10ms to about 17ms as Function.prototype.toString is called per timer callback but cached in a WeakMap. Compatibility reports cover Linux, macOS and Windows, the last only limited. Separately, the Claude Code lab run by IT venture Arrowheads points to the anchor-change risk and notes that using the BUN_OPTIONS environment variable loads the script into every Bun on the machine, and says it does not recommend the workaround. A further issue reported on Opus concerns the User-Agent header including the user's email address.

FAQ
How does the agent summary feature work?
About every 30 seconds, Claude Code sends each background agent's full conversation transcript to its own model and asks it to describe its latest action in 3-5 words. The answer only updates the agent panel's status line.
Can I turn off agent summary in Claude Code settings?
No, the feature cannot be disabled through settings. Flamerix AI released no-agent-summary.js, a roughly 70-line Bun preload script that blocks only the timers tied to agent summary.
What are the downsides of the no-agent-summary.js workaround?
Overhead rises slightly from about 10ms to about 17ms, and a Claude Code update that changes the script's anchor would break it. Arrowheads' Claude Code lab says it does not recommend using it.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleLockheed backs Contextere iMAPLE AI with C$10M