Skip to content

Token count mismatch between ADK UI and Opik's trace #2132

@whanyu1212

Description

@whanyu1212

** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.

Describe the bug
For the same task, the total count in ADK UI is not the same as Opik

Image Image Image

I'm wrapping a sub agent inside an agent tool and the UI totally misses out the tokens within that sub agent.

Model Information:
Gemini-2.5-pro

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

tracing[Component] This issue is related to OpenTelemetry tracing

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions