Cost + token totals grouped by the model that produced them.
Aggregates session_model_usage rows (one per session × model),
so a session that used multiple models splits its cost correctly.
Filters on session_records.last_activity_at to scope by
range — requires a join back to the session row.
Documentation Index
Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
Use this file to discover all available pages before exploring further.