I built a Claude Code usage tracker with TimescaleDB.
I store one row per API request. That gives me the timestamp, model, and $ spent I need (minus the conversation).
A time series database is the perfect fit for this workload.
Full walkthrough: https://youtu.be/ke-gFRP6TJ8
