Skip to content

Comments

Report LLM token usage from API side#370

Merged
shubhadeepd merged 2 commits intodevelopfrom
dev/nsingal/report-llm-token-usage-from-api
Feb 25, 2026
Merged

Report LLM token usage from API side#370
shubhadeepd merged 2 commits intodevelopfrom
dev/nsingal/report-llm-token-usage-from-api

Conversation

@niyatisingal
Copy link
Collaborator

@niyatisingal niyatisingal commented Feb 19, 2026

Add token usage metrics (prompt_tokens, completion_tokens, total_tokens) in RAG generate API response.

@niyatisingal niyatisingal self-assigned this Feb 19, 2026
@niyatisingal niyatisingal marked this pull request as draft February 19, 2026 04:56
@niyatisingal niyatisingal force-pushed the dev/nsingal/report-llm-token-usage-from-api branch 5 times, most recently from 70a5373 to 2c2f4b7 Compare February 23, 2026 05:17
@niyatisingal niyatisingal marked this pull request as ready for review February 23, 2026 05:21
@niyatisingal niyatisingal force-pushed the dev/nsingal/report-llm-token-usage-from-api branch 2 times, most recently from e5555cc to 249dd89 Compare February 24, 2026 10:25
…recated SpanAttributes (#377)

Signed-off-by: Swapnil Masurekar <smasurekar@nvidia.com>
@niyatisingal niyatisingal force-pushed the dev/nsingal/report-llm-token-usage-from-api branch from 249dd89 to d53e4fc Compare February 24, 2026 10:43
Signed-off-by: Niyati Singal <nsingal@nvidia.com>
@niyatisingal niyatisingal force-pushed the dev/nsingal/report-llm-token-usage-from-api branch from 210b6b9 to ac09e40 Compare February 24, 2026 10:53
@shubhadeepd shubhadeepd merged commit 3fd8779 into develop Feb 25, 2026
16 of 18 checks passed
@shubhadeepd shubhadeepd deleted the dev/nsingal/report-llm-token-usage-from-api branch February 25, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants