See which workflow moved the AI bill.
Attribute aggregate token usage to projects and features, apply the exact provider rate card, and compare cost per accepted answer. Import or export a transparent canonical CSV; everything runs locally in your browser.
Rate snapshot verified 2026-08-16 · no login · no usage upload
Replace one total
with accountable rows.
Provider reports group usage differently and do not know your application's feature names. Add project and workflow labels when you log requests, aggregate the token fields, then map each row to the exact rate band here.
Canonical CSV schema and provider-report limits
project,workflow,rate_card_id,input_tokens,cached_input_tokens,output_tokens,attempts,accepted_answers
OpenAI organization usage can group by project, user, API key, model, batch, and service tier. Anthropic can group by workspace, API key, model, service tier, and context window. Neither report supplies your application's workflow label, so add that label in your own request log before aggregating. TokenGauge does not pretend the provider exports are interchangeable.
$8.32 modeled token spend
Support replies is the largest row at 78.4% of modeled spend.
These are rate-card estimates, not an invoice. Map each aggregate to the price band that covered its individual requests. Tools, cache writes/storage, media, regional or priority uplifts, taxes, credits, and provider rounding remain outside rows that do not explicitly represent them.
Fixed £75 attribution setup for one workflow.
I can instrument one authorized Node.js/TypeScript or Python codebase, add project/workflow and retry-aware usage fields, export this ledger schema, and verify it with focused tests. Read the implementation model first →
Portable does not mean provider-blind.
OpenAI grouping
The organization Usage API can group completions by project, user, API key, model, batch, and service tier. Its Costs endpoint is the financial reconciliation source.
Official Usage API ↗Anthropic grouping
The Messages Usage Report separates uncached input, cache creation, cache reads, and output, with workspace, API-key, model, tier, and context dimensions.
Official usage report ↗Application attribution
OpenTelemetry defines provider, model, workflow, input, output, cache-read, and reasoning attributes, but cost and retry metrics remain an active standardization problem.
Official GenAI attributes ↗