Skip to content
SlashClone

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.

SkillDatav1.0.0 (latest)Tested
Activity
New: be the first to try it
  1. 1start_time,end_time,model,project_id,api_key_id,batch,num_model_requests,input_tokens,input_cached_tokens,output_tokens
  2. 21790812800,1790899200,gpt-5-2025-08-07,proj-bluepeak,key-bluepeak-prod,false,58,612000,180000,98000
  3. 31790812800,1790899200,gpt-5-mini-2025-08-07,proj-bluepeak,key-bluepeak-prod,false,140,420000,0,61000
  4. 41790899200,1790985600,gpt-5-2025-08-07,proj-bluepeak,key-bluepeak-prod,false,61,640000,220000,101000
  5. 51790899200,1790985600,gpt-5-mini-2025-08-07,proj-internal,key-evals,true,900,2400000,0,300000