Urgent.News

What's breaking now, across thousands of outlets.

AI

Claude Code Subagents Were 48% of My Bill. Their Output Was 0.9%

I thought my expensive Claude Code habit was long sessions. I was half right. When I finally broke down a month of usage, Claude Code subagents cost 48% of my entire bill , and the tokens they wrote back to me were 0.9% of the total. Almost all of the money went into reading, not writing. Each subagent starts with roughly 51K tokens of context , and it re-reads that context on every single…

Claude Code subagents made up 48% of the total budget, while the output they generated accounted for only 0.9%. The cost primarily consisted of input tokens, not output tokens. Each subagent begins with around 51K tokens of context, and it re-reads this context on every request it makes, which significantly inflates the cost. Fan-out workflows contributed to 48% of the Claude Code expense, while main sessions saw 54% of the costs when request sizes exceeded 400K tokens.

To reduce Claude Code costs, it is suggested to cap the number of agents per run, batch small units into one agent, reduce the starting context size, and hand off to a new session before the context becomes too large.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

In 2018 I hand-wrote a C++ deep learning framework so I'd never pad a batch. In 2023 LLM serving landed on the same structure.

There's a sentence in the README of a library I wrote that I've been thinking about lately: "To summarize, we believe that Padding-free Dynamic Batching is the feature that NLPers will dive into but…

  • In 2018, master's student created C++ deep learning library InsNet
  • InsNet's design eliminated need for padded tensors by using flat buffers
  • Batching in InsNet grouped nodes by type signature, not input shape

Agentes LLM: un presupuesto para cada acción

Un agente LLM puede redactar un plan excelente y aun así ejecutar una acción equivocada. El riesgo aparece cuando una herramienta le permite enviar un correo, crear una cuenta o repetir una operación…

The Cleaner vs Data Leaks: Sanitizing LLM Context

In Part 1 of this series , we laid out the anatomy of an agentic disaster and introduced our in-process tactical squad: The AG-Men .

  • The Cleaner prevents data leaks by sanitizing LLM context.
  • Operates on zero-trust doctrine, masking PII in memory.
  • Intercepts payloads at front door and tool boundary to enforce boundary isolation.

Supervise the agents that build your OpenSpec changes

First published on openspec-ui.dev . OpenSpec gives an agent something to build from: a proposal, a design, a list of tasks, and the spec deltas the change will leave behind.

  • OpenSpec Workbench runs agent CLI during changes.
  • Provides real-time updates and stop capability.
  • Supports Claude, GitHub Copilot, Codex, Gemini, DeepSeek agents.

More from Thursday 24 September →