Originally published on Extenify .
LLM cost per user is the number that tells you whether your AI feature earns money or quietly burns it. Your OpenAI, Claude or Gemini invoice shows the monthly total, but not that one user ran 4,000 summaries while the median user ran 30. Every response already reports its token usage, so you can build the per-user view yourself.
Provider dashboards stop at the API key
Provider reporting follows your account structure. Anthropic's Usage and Cost Admin API, for example, groups spend by API key, workspace, model and service tier. That helps you check an invoice, but a typical AI extension or SaaS backend sends every user's request through one server and one key.
The per-user fields that do exist are for abuse detection, not billing:
OpenAI's safety_identifier helps OpenAI spot users who break its usage policies.
Anthropic's metadata.user_id is an external user ID Anthropic may use to detect abuse.
Send a hashed ID in both, but don't expect a cost report from them.…