我追踪了 30 天内每个 AI 代币的消费——结果让我大吃一惊

📄 中文摘要

在过去的一个月里,作者追踪了自己在 Claude、OpenAI 和 Google API 上的每一笔 AI 代币消费。通过构建一个菜单栏工具,实时显示每次请求的代币成本,作者发现自己的月消费在 250-300 美元之间,但并不清楚具体花费的去向。经过 30 天的追踪,发现 60% 的请求并不需要使用昂贵的模型,这一发现改变了作者使用 AI 编码工具的方式。

📄 English Summary

I Tracked Every AI Token I Spent for 30 Days — Here's What I Found

Over the past month, the author tracked every AI token spent across Claude, OpenAI, and Google's APIs. By building a menu bar tool that displays token costs for each request in real time, the author discovered that their monthly spending was around $250-300, but the specifics were unclear. After 30 days of tracking, it was found that 60% of the prompts did not require expensive models, which significantly changed the author's approach to using AI coding tools.

Powered by Cloudflare Workers + Payload CMS + Claude 3.5

数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等