OBSERVABILITY

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

01This session

Input and output tokens associated with the active engineering conversation.

02Today

Daily prompt, completion, and call-count totals.

03All time

Persisted cumulative usage across application restarts.

04Detailed view

Recent daily series and the highest-usage sessions with recorded model names.

Collection model

  1. 1
    Provider responds

    The configured model integration returns usage fields.

  2. 2
    ChemAgent records

    Prompt and completion counters are added to session, date, and total buckets.

  3. 3
    The console aggregates

    The user sees totals, calls, trends, and top sessions.

  4. 4
    History persists

    A compact local store retains aggregate counters across restarts.

Interpretation

Operational telemetry, not an invoice

Provider tokenization, cached-input rules, tool billing, media pricing, and delayed usage fields can differ. Use the provider billing console for financial reconciliation.