Hchen1218

Turn AI token usage into a receipt with a punchline.

18
0
100% credibility
Found Apr 30, 2026 at 18 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

Tool that creates visual, receipt-style summaries of AI chat token usage and costs by reading local conversation logs from coding interfaces like Claude Code and Codex.

How It Works

1
💻 Chat with your AI coding buddy

You're working on code ideas with your favorite AI helper, sending messages back and forth.

2
🤔 Wonder about your usage

You get curious about how much 'brainpower' or words you've used in this chat so far.

3
🧾 Ask for a receipt

Just type 'token receipt' or 'usage bill' in the chat, and a fun, receipt-like summary pops up instantly.

4
🔧 Set up auto receipts

Run a quick setup so it automatically shows a bill at the end of every chat session.

5
🖨️ Save or print it

Copy the receipt, save it as a file, or turn it into a printable page for your records.

😎 Track spending with style

Now you have shareable, screenshot-ready bills that make watching your AI costs feel entertaining and honest.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 18 to 18 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is token-receipt?

This Python tool turns your AI chat token usage into a shareable ASCII receipt, complete with pricing estimates and a snarky punchline footer. It pulls real logs from tools like Claude Code, Codex, or Trae, itemizing input/output tokens, cache hits, and costs without needing a dashboard. Run it via CLI (`python token_receipt.py --agent-tool claude-code`), trigger in-chat with "token receipt", or auto-print on session end after a quick hook install.

Why is it gaining traction?

Unlike bland token trackers, it spits out screenshot-perfect thermal-paper artifacts with software-specific logos and bilingual (en/zh-CN) support, plus HTML export for token receipt download or print. The generated punchlines—like "THE LOGO LOOKS CALM. THE BILL DOES NOT."—make sharing token bills fun, while honest pricing from official rates avoids guesswork. Devs love the zero-setup chat integration over manual spreadsheets.

Who should use this?

AI prompt engineers in Claude Code or Codex who track per-session costs before they spiral. Teams using Trae for manual token receipt format checks during reviews. Anyone tired of vague dashboards, needing a quick token receipt PDF or word format equivalent for reports.

Verdict

Grab it if you live in AI chats—solid docs, validation tests, and CLI flexibility make it production-ready despite 18 stars and 1.0% credibility score. Still early; watch for Trae auto-import and printer presets.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.