1 / 3
TOKENJAR — Real-Time Claude & OpenAI Spend Monitor — image 1
1 / 3

TOKENJAR — Real-Time Claude & OpenAI Spend Monitor

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

A tiny desk monitor that shows your live Claude and OpenAI API spending — built from ~$8 of ESP32 parts.

Rating
0 / 5
Likes
16
Downloads
49
Makes
0
Views
666
Reviews
0

Updated at source:

Model information

Category
Electronics
License
Creative Commons — Attribution

TokenJar is a tiny open-source desk gadget that tells you how much you've spent on AI APIs — right now, at a glance, without opening a browser tab.

If you've ever woken up to a surprise Claude or OpenAI bill from a script that went feral overnight, you know the feeling. TokenJar is the little jar-sized thing on your desk that tells you before it happens. Rotate the knob to change the time window, click to flip between providers.

It tracks three things, any or all of which you can turn on:

- Your Anthropic API spend (today, month, tokens, budget %)

- Your OpenAI API spend (today, month, tokens, budget %)

- Your Claude Pro/Max subscription usage — 5-hour session %, weekly cap, Opus vs. Sonnet split, overage dollars

The whole thing is ~$8 in parts: an ESP32-S3 SuperMini, a 2-inch IPS display, and a rotary encoder. The case prints in two pieces with no supports and takes about 3 hours.

Setup is a QR code — plug it in, join the device's WiFi, scan, paste your API keys from a browser. After that, OTA updates over WiFi.

---

### Everything you need to build it

Firmware, wiring diagrams, the web setup portal, API-key walkthroughs, and all the build instructions live on GitHub. MIT-licensed.

→ https://github.com/Zhaor3/tokenjar

---

### Print notes

- Print the front and back panels flat on their faces

- No supports

- PLA or PETG, 15% infill is plenty

### License

STL files: CC BY 4.0 — remix freely, just credit the design. Firmware: MIT.

If you build one, post a Make — I'd love to see it on your desk.

Tags