⌘K
Change language Switch ThemeSign In
Narrow Mode
Agentic Metric: A Real-Time Token and Cost Monitor for AI Coding Tools
Agentic Metric: A Real-Time Token and Cost Monitor for AI Coding Tools
 ### GitHubDaily@GitHub_Daily
用 Claude Code、Codex 写代码,Token 花了多少、费用怎么样,心里一直没个数,想看看每天的消耗情况还挺麻烦。
可以安装 Agentic Metric 这个开源工具,相当于给它们装了个「资源监视器」,所有数据都在本地,不联网不上传。
直接在终端里打开一个实时仪表盘,自动检测正在运行的智能体进程,Token 用量、费用估算一目了然。
GitHub:github.com/MrQianjinsi/ag…
同时支持 Claude Code、Codex、VS Code Copilot、OpenCode、Qwen Code 等多个主流工具,还能查看 30 天的历史趋势和每日汇总。
内置了常见模型的价格表,也可以自己添加或覆盖定价。甚至能把费用摘要嵌入 tmux、vim 状态栏里,随时瞄一眼就知道今天花了多少。
如果你同时用好几个 AI 编程工具,想搞清楚 Token 都花在哪了,这个工具值得装一个。Show More
Apr 8, 2026, 4:00 AM View on X
0 Replies
0 Retweets
0 Likes
106 Views  GitHubDaily @GitHub_Daily
One Sentence Summary
Agentic Metric is an open-source local monitoring tool that tracks Token usage and costs for AI coding assistants like Claude Code and Copilot in real-time.
Summary
To address the difficulty developers face in tracking costs while using AI coding tools like Claude Code, Codex, and VS Code Copilot, GitHubDaily recommends the open-source tool Agentic Metric. Acting as a "Resource Monitor" for AI agents, it features a terminal-based real-time dashboard that automatically detects processes and estimates expenses. Key advantages include complete data privacy (local-only, no cloud upload), 30-day historical trend analysis, and the ability to embed cost summaries into tmux or vim status bars, helping developers maintain precise control over AI development budgets.
AI Score
84
Influence Score 0
Published At Today
Language
Chinese
Tags
Agentic Metric
AI Coding
Token Monitoring
Claude Code
GitHub Open Source HomeArticlesPodcastsVideosTweets