What gets measured
Tokonomics captures the following metrics for every LLM call:
Cache token fields are populated only when the provider reports them (for example, Anthropic prompt caching or OpenAI cached input tokens). When the provider does not report cache activity, both fields are
0.
Usage events
Each proxied call produces a UsageEvent — a structured record stored in your account and available via the API. Every UsageEvent contains:id— UUID uniquely identifying this eventmodel— the model name as reported by the provider (e.g.gpt-4o,claude-3-5-sonnet-20241022)provider— the provider slug (e.g.openai,anthropic)input_tokens— prompt token countoutput_tokens— completion token countcache_read_tokens— cache read token countcache_creation_tokens— cache creation token countcost_usd— calculated cost in USDlatency_ms— upstream latency in millisecondstags— key-value pairs attached via metering headerscreated_at— ISO 8601 timestamp of when the event was recorded
Spend analytics
Tokonomics aggregates your UsageEvents into three levels of reporting so you always have the right level of detail:Monthly summary
Total spend for the current billing month and what percentage of your configured budget has been used.
Daily trends
Day-by-day spend for up to the past 90 days, useful for spotting cost spikes and correlating spend with deployments.
Per-tag breakdowns
Spend grouped by any tag key you attach — for example, total cost per team, per feature, or per tenant.