How is the Claude-4-sonnet consumption record calculated

Once sent, recorded many times in usage, is this a bug or incorrect functionality

They do some insane imaginary token caching for each tool call.

Switch to gemini-2.5 pro. Gemini does it all in one pass while claude-4 tool calls each trigger a full usage cost.

Claude-4 and even 3.7 are just not sustainable with this dumb pricing model they just introduced

2 Likes

@Dream yoiu can find the detailed breakdown of each record when you use the top right view option “Tokens” in Dashboar > Usage.

It will show following 4 columns

  • Input tokens (prompt, rules, attached files, mcp tools, tools,…)
  • Output tokens (chat text, code, tool calls, mcp tool calls, …)
  • Cache Write (writing chat session to cache so it can be reused in your next chat request on same thread)
  • Cache Read (reading that session cache, cheapest token of all 4 as it does not require pre-processing anymore)

API providers have the pricing on their page (add 20% from Cursors side as per documentation)