token-tracker

agent
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Track token usage across local AI agents (Claude Code, Codex) — CLI dashboard with cost analysis, rate limit monitoring, and session tracking

README.md

Token Tracker

本地 AI Agent Token 消耗追踪工具,CLI Dashboard 一目了然。

支持 Claude CodeCodex — 实时查看 token 用量、等效成本、限额状态。

Python License

English

Token Tracker Dashboard

功能

  • 多 Agent 追踪 — Claude Code + Codex 统一面板,左右键切换
  • 限额监控 — 实时 5h / 7d 配额百分比 + 重置倒计时
  • 成本分析 — 按会话、日、周、月维度的等效成本统计
  • 会话洞察 — 项目、模型、时长、消息数一览
  • 5h 计费块分析 — burn rate、活跃/空闲检测
  • 零配置 — 自动检测已安装的 Agent,直接读取本地数据

安装

curl -sSL https://raw.githubusercontent.com/stormzhang/token-tracker/master/install.sh | bash

或者通过 pip:

pip install token-tracker

使用

tt                # 交互式 Dashboard(方向键切换 Agent)
tt claude         # 仅 Claude Code
tt codex          # 仅 Codex

环境要求

  • Python 3.10+
  • Rich(自动安装)

License

MIT

Reviews (0)

No results found