A developer built a static Astro dashboard to track AI assistant token usage and costs across Discord threads, cron jobs, and projects. By parsing JSONL session logs with a Node.js script, they discovered two Discord threads accounted for 60% of total spend. The key insight: long-running Discord threads act as context traps,

2m read timeFrom nerdy.dev
Post cover image
Table of contents
How It Works #What I Track #What I Learned #The Fix #

Sort: