GitHub - sudo-ai-git/token-analytics: Deterministic agent-token-cost intelligence from real usage data. Reproducible JSON reports (per-request economics, cache split, actionable cost tail). no-LLM. · GitHub
Skip to content

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

token-analytics

Deterministic agent-token-cost intelligence from real agent usage data. Turns DeepSeek/OpenRouter usage CSVs into a JSON data product: per-request economics, cache-hit split, and the actionable cost tail.

Run: python3 analyze_usage.py → emits a deterministic JSON report (no LLM, reproducible byte-for-byte).

Sample output (our measured stack, 2026-08-22..28)

  • 962 req | 278,113,375 input tokens | 289,099 tok/req
  • 99.22% cache-hit (native) | 2,171,677 cache-miss input tokens/day
  • Cache-miss input ≈ $0.96/day ≈ $29/mo on one model — the slice a client-side dedupe layer (mcp-token-saver) reclaims.

This is the raw-material discipline that produces honest, verifiable numbers — the same contract as the rest of the sudo-ai-git family.

About

Deterministic agent-token-cost intelligence from real usage data. Reproducible JSON reports (per-request economics, cache split, actionable cost tail). no-LLM.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages