What
The /cost command shows how much a session has spent. For a remote session, if the server's answer contains no cost text, /cost now shows Remote cost unavailable. Before, it showed an empty or undefined value.
Why
You get a clear message instead of a blank or broken result when the cost of a remote session cannot be fetched.
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 Create custom subagents.
Each subagent runs in its own context window with a custom system prompt, specific tool access, and your [permission rules](https://code.claude.com/docs/en/permissions.md). It also sends its own requests, which count toward the same [usage…sub-agents see the edit
Added since
A small documentation edit on Best practices for Claude Code touched a line naming /cost after this was published.
With a 1M-token window on most current models and [auto-compaction](https://code.claude.com/docs/en/model-config.md#default-auto-compact-thresholds) before it fills, you'll rarely run out of context. You can still *pay* for context you don…best-practices see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
A small documentation edit on Best practices for Claude Code touched a line naming /cost after this was published.