• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • LLMUsageTracker
  • LLMUsageTracker Class

    SQLite-persisted per-model token usage tracking with budget enforcement. More...

    Header: #include <LLMUsageTracker>
    Since: 1.0
    Inherits: QObject

    Detailed Description

    Records every LLM request's token counts and estimated cost into a local SQLite database. Supports configurable budget periods (daily, weekly, monthly, or unlimited) and emits a signal when the budget is exceeded.