Hacker News new | ask | show | jobs
by simonw 430 days ago
With Claude Code you can at least type "/code" at any point to see how much it's spent, and it will show you when you end a session (with Ctrl+C) too.

The output of /cost looks like this:

  > /cost 
    ⎿  Total cost: $0.1331
       Total duration (API): 1m 13.1s
       Total duration (wall): 1m 21.3s
1 comments

Aider shows how much you've spent after each command :-). It shows the cost of the command as well as the session.