Llm usage normalizer
@agentcosts/llm-usage-normalizer
Convert Anthropic and OpenAI usage exports, or your own app's token logs, into one usage schema with customers, tasks, cached and uncached tokens, and cost from a price table you edit. Fixes the classic mistake of counting cached tokens twice, and lists unmapped keys and unpriced models.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
- 1provider,model,input_per_mtok,output_per_mtok,cache_read_per_mtok,cache_write_per_mtok,checked_on,notes
- 2anthropic,claude-opus-5-5,4.00,20.00,0.20,5.00,2026-10-06,Example values. Check the provider's current pricing page before relying on them.
- 3anthropic,claude-sonnet-5-5,2.00,10.00,0.20,2.50,2026-10-06,Example values. Check the provider's current pricing page before relying on them.
- 4anthropic,claude-haiku-5-5,0.10,0.50,0.01,0.125,2026-10-06,Example values. Cache prices assumed at the usual ratios; check before relying on them.
- 5anthropic,claude-sonnet-4-6,3.00,15.00,0.30,3.75,2026-10-06,Example values. Check the provider's current pricing page before relying on them.
- 6anthropic,claude-haiku-4-5,1.00,5.00,0.10,1.25,2026-10-06,Example values. Check the provider's current pricing page before relying on them.
- 7openai,gpt-5,1.25,10.00,0.125,0,,Example values from memory. Check the provider's current pricing page and set checked_on.
- 8openai,gpt-5-mini,0.25,2.00,0.025,0,,Example values from memory. Check the provider's current pricing page and set checked_on.
