llm_cost_tracker 0.1.2
Tracks token usage and estimated costs for OpenAI, Anthropic, Google Gemini, OpenRouter, DeepSeek, and OpenAI-compatible calls. Works as Faraday middleware for Ruby clients, with ActiveRecord storage, per-user/per-feature attribution, budget alerts, and budget enforcement.
Gemfile:
=
install:
=
Runtime Dependencies (2):
activesupport
>= 7.0, < 9.0
faraday
>= 1.0, < 3.0