Wrap LLM API calls with a single block to capture token counts, latency, and cost per call — attributed by domain and tagged with arbitrary metadata. Persists to your own Postgres database. No SaaS required.
Required Ruby Version
>= 3.2.0
Authors
Rockwell Windsor Rice