llm_get_analytics
Retrieve cost, token usage, and latency analytics for LLM queries, with breakdowns by provider or model. Option to reset ledger statistics.
Instructions
Retrieve comprehensive cost, token usage, and latency analytics from the Antigravity Local LLM Ledger. View total tokens spent, estimated USD expenditure, breakdowns per provider (Dahl, Groq, DeepSeek, Ollama) and per model, or reset ledger statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of recent query transactions to include (default 20). | |
| model | No | Optional filter: get analytics or transactions for this specific model. | |
| action | No | Action to perform: 'get' (default) returns current analytics and recent transactions; 'clear' resets the ledger counters. | |
| provider | No | Optional filter: get analytics or transactions specifically for this provider alias. |