Token Usage
For supported model integrations, ChemAgent records prompt tokens, completion tokens, and call counts. The Web console exposes session, daily, and cumulative totals together with recent trends.
Reporting scopes
Input and output tokens associated with the active engineering conversation.
Daily prompt, completion, and call-count totals.
Persisted cumulative usage across application restarts.
Recent daily series and the highest-usage sessions with recorded model names.
Collection model
- 1Provider responds
The configured model integration returns usage fields.
- 2ChemAgent records
Prompt and completion counters are added to session, date, and total buckets.
- 3The console aggregates
The user sees totals, calls, trends, and top sessions.
- 4History persists
A compact local store retains aggregate counters across restarts.
Interpretation
Provider tokenization, cached-input rules, tool billing, media pricing, and delayed usage fields can differ. Use the provider billing console for financial reconciliation.