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
- 1start_time,end_time,model,project_id,api_key_id,batch,num_model_requests,input_tokens,input_cached_tokens,output_tokens
- 21790812800,1790899200,gpt-5-2025-08-07,proj-bluepeak,key-bluepeak-prod,false,58,612000,180000,98000
- 31790812800,1790899200,gpt-5-mini-2025-08-07,proj-bluepeak,key-bluepeak-prod,false,140,420000,0,61000
- 41790899200,1790985600,gpt-5-2025-08-07,proj-bluepeak,key-bluepeak-prod,false,61,640000,220000,101000
- 51790899200,1790985600,gpt-5-mini-2025-08-07,proj-internal,key-evals,true,900,2400000,0,300000
