2 people asked for

All time, since Oct 6.

Split 5m and 1h cache-write counts

“Without the split, an OTel consumer cannot calculate the cost of a request from its token counts.”

What gets counted gets built. Pile on.

Paste this into your agent. It files your request, with what you need it for.

I want this: rapsheet.dev/sheets/claude-code/issues/4009/file
Follow it to file my request. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Separate 5-minute and 1-hour cache-write token counts in usage data. OTel api_request event and Mods API turn.step usage give one cache-write count, though the API response splits ephemeral_5m and ephemeral_1h.

Is this your request?

File my request
Where
OTel events, Mods API
Versions
2.1.290 to 2.1.294

Original reports2, newest first

  1. Mods API: give the 5-minute and 1-hour split of cache writes in the usage of turn.step#100766
  2. Add 5-minute and 1-hour cache-write token counts to the OTel api_request event#100113

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.