Idea · Jun 24, 2026
Live API Cost Meter
A shared classroom dashboard where a class budget ticker ticks up in real time as students make AI API calls, turning prompt efficiency into a live competitive lesson visible on the projector.
What it would do
A shared classroom dashboard that shows AI API costs accumulating in real time as students make calls during a lab session. A large 'class budget' ticker ticks up on the projector while individual student rows show their token counts, latency, and cost per call. Students compete to write the most cost-efficient prompt that still passes a quality rubric, making cost-awareness a hands-on lesson rather than a slide topic.
Key features
- Real-time cost ticker per student and class aggregate, powered by Supabase Realtime
- Per-call breakdown: input tokens, output tokens, model tier, latency, USD cost
- Efficiency leaderboard ranking students by cost per quality point (rubric scored by Claude)
- Professor view: pause the class, replay a student's call history, compare two prompting strategies side-by-side