/cost
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Alias for /usage
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
8Releases whose published page names /cost.
-
v2.1.284
Saved cost data with impossible token totals is now rejected
Saved cost data is now rejected when its token totals across models are larger than the limit allowed for a single number
found in this entry's text
-
v2.1.277
Usage-limit display can show a per-model breakdown
Usage/limit displays can now show a separate line per model instead of one combined limit
found in this entry's text, named in this entry
-
v2.1.242
New
modelPricingmanaged setting bills usage at contracted ratesOrganizations can bill your reported spend at contracted rates everywhere costs appear.
found in this entry's text
-
v2.1.239
Sonnet 5 repriced to $2 input / $10 output
Sonnet 5 is priced at $2/$10 per million, so your reported spend drops by about a third.
named in this entry, found in this entry's text
-
v2.1.234
/cost gets a shorter line in the slash-command menu
/cost now shows a shorter description in the slash command menu.
named in this entry, found in this entry's text
-
v2.1.119
Slash Command Aliases
found in this entry's text
- v2.1.118
-
v2.1.118
Unified /usage Command (replaces /cost)
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.