How much is Claude Code costing me?
Run /usage in a session to see its token usage and cost estimate. For history across sessions, read the local session logs: npx skillhawk tokens --days 7 totals tokens and estimated cost per day, repo and session. Anthropic's documentation says the average across enterprise deployments is around $13 per developer per active day, and below $30 per active day for 90% of users.
Ways to see it
/usageinside Claude Code: the current session's tokens and a dollar figure computed locally at list price. On a Pro, Max or Ultra plan, usage is included in the subscription, so that dollar figure is not your bill.- Your session logs: Claude Code writes each session to a JSONL file under
~/.claude/projects/, with token counts per response. Tools such asccusageandskillhawk tokensread them. --max-budget-usdcaps what a headless run may spend.
What spends while you are away
- Every new turn re-sends the conversation, so a long session costs more per turn even for a one-line question.
- Idle sessions can still start turns: scheduled tasks, messages from your other sessions and goal check-ins each send the full context, according to the Claude Code docs.
- Headless agents on a schedule run whether or not anyone reads the result.
A worked example
For a session still working with no human message, skillhawk agents shows the estimated cost since a human last wrote. The line format, from example data:
! aaaaaaaa repo
last human message 5h 0m ago; last activity 5m ago; since then 2 turns, 3 tool calls, about $0.85 (estimate)
The Skillhawk command that helps
Read-only, from your own logs; nothing is uploaded:
npx skillhawk tokens --days 7 # per day, repo, skill and session
npx skillhawk agents # sessions still spending with no human
Dollar figures are estimates from token counts at list prices; your plan or contract decides what you actually pay.
Questions
What does Claude Code cost per day?
Anthropic's documentation reports an average of around $13 per developer per active day across enterprise deployments, with 90% of users below $30 per active day. Your own logs give your number.
Why did my cost go up when I was not using it?
An open session can start turns while idle (scheduled tasks, cross-session messages, goal check-ins), and headless agents on a schedule keep running. Each turn re-sends the conversation.
Sources
- Claude Code docs: Manage costs effectively
"the average cost is around $13 per developer per active day" - Claude Code docs: CLI reference
- ccusage on GitHub