一个微型 macOS 菜单栏工具,实时显示 LLM 令牌使用情况
📄 中文摘要
在使用 OpenAI 或 Claude API 进行开发时,开发者常常面临一个问题:在调试或测试过程中,令牌的使用量并不明确。尽管可以在日志或仪表板中查看令牌使用情况,但这对于正在进行中的编码工作并不十分有帮助。开发者在测试提示、快速实验 API、构建 LLM 工具和调试响应时,常常希望能够即时获取令牌使用量的信息。为了解决这一问题,开发者创建了一个小型的 macOS 菜单栏工具,可以实时显示 API 调用的令牌使用情况,从而提高开发效率。
📄 English Summary
A tiny macOS menu bar tool that shows LLM token usage in real time
When developing with OpenAI or Claude APIs, developers often encounter a common issue: the unclear token usage during debugging or testing. While token usage can be reviewed later in logs or dashboards, this is not particularly helpful during active coding. Developers frequently seek immediate answers regarding token usage while testing prompts, running quick API experiments, building LLM tools, and debugging responses. To address this need, a tiny macOS menu bar tool has been created that displays real-time token usage for API calls, enhancing development efficiency.
Powered by Cloudflare Workers + Payload CMS + Claude 3.5
数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等