LLMUsageTracker

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

Declared in src/libs/libllm/llm/LLMUsageTracker.hpp
Inherits QObject
Group libllm

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.

In this section