Repository navigation
feat(ai-monitoring): Add conversation token breakdowns - #127009
Merged
Merged
Conversation
Return cache-read, cache-write, and reasoning token totals for the whole conversation alongside existing per-model values. Refs TET-3079
vgrozdanic
marked this pull request as ready for review
October 9, 2026 11:14
obostjancic
approved these changes
Oct 9, 2026
vgrozdanic
enabled auto-merge (squash)
October 9, 2026 11:19
vgrozdanic
added a commit
that referenced
this pull request
Oct 9, 2026
Conversation details page now displays input, output, cache, reasoning, and total token counters exactly as the API returns them. It no longer guesses whether provider counters include cache or reasoning values, keeping web output aligned with CLI and MCP consumers. Depends on #127009 landing first so conversation-wide cache and reasoning totals are part of the response contract. Closes [TET-3079](https://linear.app/getsentry/issue/TET-3079/return-canonical-conversation-token-breakdowns)
This was referenced Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Conversation details now include conversation-wide cache-read, cache-write, and reasoning token totals, matching values already exposed for each model. API, CLI, and MCP consumers can read complete token usage directly without reducing
usageByModelthemselves.This keeps existing token fields compatible and documents that input totals include cache reads and writes.
Refs TET-3079