Unclear Nothing here says what mods are or how one is added to a session.
What
Claude Code keeps a running total of what a session costs, which you can see in the cost summary. That total now tracks the cost of model calls made by mods as a separate figure, modelCallCostUSD.
- New summary line. The cost summary shows a "Mods' model calls:" line whenever that cost is above zero.
- Kept across resume. The saved snapshot of a session's cost now stores and restores
modelCallCostUSD, so the figure is not lost when you come back to a session. - Unknown-cost fix. The flag
hasUnknownModelCost, which marks that some cost could not be worked out, was previously read from the wrong saved field (restoredTokens). It is now restored from the right one.
Why
You can see how much of a session's cost came from mods, and resumed sessions report their cost more accurately than before.
Names in the bundle/cost
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up /cost, on Explore the .claude directory.
| `usage-data/` | `report.html` and timestamped report copies written by [`/insights`](https://code.claude.com/docs/en/costs#analyze-your-usage-patterns), plus cached per-session analysis data used to build them |claude-directory see the edit
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Nothing here says what mods are or how one is added to a session.
Anthropic's documentation agrees
Anthropic's documentation has since written up /cost, on Explore the .claude directory.