{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "jazzenchen-agent-hud-native-open--review-token-spend-by-agent-and-model",
 "repo": "jazzenchen/agent-hud-native-open",
 "repo_url": "https://github.com/jazzenchen/agent-hud-native-open",
 "repo_slug": "jazzenchen-agent-hud-native-open",
 "title": "Review 30 days of token spend by agent and model",
 "page_title": "How to review 30 days of token spend by agent and model with Agent Hud Native Open",
 "summary": "Open the statistics window to see tokens and API-priced cost by time, agent, model and session.",
 "who": "A developer or team lead who wants to know which agent, model or session is using the most tokens and what it would cost at API prices.",
 "problem": "Token use is spread across several agents and sessions, so the total cost and the heavy sessions are hard to see.",
 "outcome": "A statistics view showing token history by time, agent, model and session, with an estimated cost.",
 "steps": [
  "Build and open the app with `make run`",
  "Let your agents run so the app collects token history, which is kept for 30 days on your Mac",
  "Open the statistics window and choose a time range of 5 hours, 24 hours, 7 days or 30 days",
  "Switch to the by agent and model view and narrow the chart to the models and token kinds you need",
  "Open a session to see tokens per turn and how full the context window got"
 ],
 "agent_prompt": "Use agent-hud-native-open on this Mac after make run to open the statistics window and read the 30 day token totals for each agent. Report the top three models by tokens and their estimated cost. Verify that costs marked with the approximate symbol are noted as estimates.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Costs are priced at API prices where a model has one and are only an estimate on a subscription, not a charge.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "swift",
 "requirements": [
  "A Mac running macOS 14 or later",
  "Xcode or the Xcode Command Line Tools with a Swift 6 toolchain",
  "git, to clone the repository",
  "At least one supported agent installed and signed in, for live data (not needed for sample data)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/jazzenchen-agent-hud-native-open/review-token-spend-by-agent-and-model/",
 "md": "https://dedupedai.com/use-cases/jazzenchen-agent-hud-native-open/review-token-spend-by-agent-and-model/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/jazzenchen-agent-hud-native-open--review-token-spend-by-agent-and-model.json",
 "api_version": "v1"
}
