# token-lens

Token consumption analytics for Ulpi: records exact per-call usage from pre/post_api_request hooks, decomposes every request into categories.

- Type: Plugin
- Version: 0.1.0
- Updated: 22 Nov 2026
- Publisher: patrickluvsoj
- Category: General

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Token consumption analytics for Ulpi: records exact per-call usage from pre/post_api_request hooks, decomposes every request into categories (system prompt, built-in and per-MCP-server tool schemas, skills, memory, history, tool results, output, reasoning) calibrated to billed totals, and adds a Token Lens dashboard tab plus a Sessions-page card with deterministic and AI-evaluated token-reduction suggestions.

## Review notes

What an owner reads and accepts before the install is approved.

- no licence file

## More in General

- [tokenwatch](https://www.ulpi.io/en/marketplace/plugins/tokenwatch): Monitor Ulpi token usage, notify at thresholds, and freeze tool/gateway activity at configured limits.
- [turn-usage](https://www.ulpi.io/en/marketplace/plugins/turn-usage): Usage and cost footer appended to every reply — tokens, cache hit rate, cost and context occupancy.
- [Ukrainian](https://www.ulpi.io/en/marketplace/plugins/ukrainian): Ukrainian localization for the original Ulpi CLI, TUI and Desktop.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
