Token Cost

Measure before optimizing — estimate token counts locally with stated heuristics, price them at your model's rates, and quantify before/after savings, because token optimization without measurement is vibes. Use when asked how many tokens is this, what does this context cost per call, is this optimization worth it, or compare these two versions' cost. Produces the estimate with both heuristics shown, the cost math at your prices across your call volume, and the before/after comparison that decides whether an optimization earned its complexity.

Mohit Aggarwal 11ddd68 2 files · 8.4 KB Updated

File contents

mohitagw15856/pm-claude-skills/tree/main/skills/token-cost commit 11ddd6889c

Frequently asked questions

npx skillmds add mohitagw15856/token-cost