llm_cost_tracker 0.6.1
Tracks token usage, latency, and estimated costs for RubyLLM, OpenAI, Anthropic, Google Gemini, OpenRouter, DeepSeek, and OpenAI-compatible APIs. Works through Faraday middleware or explicit track/track_stream helpers, with ActiveRecord storage, tag-based attribution, price sync tasks, and budget guardrails.
Gemfile:
=
install:
=
Runtime Dependencies (3):
Development Dependencies (10):
activerecord
>= 7.1, < 9.0
nokogiri
~> 1.16
railties
>= 7.1, < 9.0
rake
~> 13.0
rspec
~> 3.0
rubocop
~> 1.0
simplecov
~> 0.22
simplecov-lcov
~> 0.8
sqlite3
>= 1.4, < 3.0
webmock
~> 3.0
Owners:
Pushed by:
Authors:
-
Sergii Khomenko
SHA 256 checksum:
=
Provenance:
Source Commit
Build File