- Home
- Skills
- Agents & Orchestration
- LLM Spend Receipt
Works with the AI tools you already use
LLM Spend Receipt
Convert LLM usage exports into automated daily spend receipts with cache analysis and cost caps.
$5
LLM Spend Receipt
Example session with this skill installed
Run a spend receipt for usage.csv dated 2025-05-14. The typical daily spend is $5.00. Focus on the 'project_id' tag.
- Read your context and instructions
- Compiled the llm spend receipt
Spend receipt processed for 2025-05-14. Identified a cost spike driven by prompt cache misses in the production workspace.
Spend receipt — 2025-05-14
Total: $12.45
Cache: 12% of input tokens were hits (~$0.85 vs miss-price)
Tokens: 1.2M in / 450k out / 180k cache-read / 50k cache-write
Requests: 1,420
By model
- claude-3-5-sonnet $8.10 65% 800k in / 300k out cache 15%
- claude-3-opus $4.35 35% 400k in / 150k out cache 5%
By tag
- production-api $9.50 76%
- staging-tests $2.95 24%
Blew up
- production-api — $9.50 (76% of day)
- day is 2.49× typical ($5.00)
Cap
- production-api: hard-cap near $6.50/day
- claude-3-5-sonnet: cache hit 15% — reorder the prompt (static prefix first, variable text last)
- account: page if a day exceeds $7.50 (1.5× typical)
Next steps
- Review the
production-apisystem prompt to increase cache hits. - Apply the $6.50 hard-cap in the provider dashboard for the
production-apikey. - Update
typical_usdto $10.00 if this new volume is the new baseline.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
Usage dashboards are often buried behind auth walls or cluttered with irrelevant metrics. Developers lack a simple, automated way to see exactly where their daily LLM budget went without manual reconciliation.
What it does
- Parses provider usage CSVs or API responses into a phone-sized text receipt.
- Calculates real cache-hit rates to show actual savings versus list prices.
- Identifies "blow-up" events where a specific model or tag consumed a disproportionate share of the daily budget.
- Generates actionable caps, such as hard-cap suggestions or prompt reordering for better caching.
- Distinguishes between cache-miss, cache-read, and cache-write token buckets for accurate pricing.
Frameworks & tools
Python 3.10+ standard library (csv, pathlib). Supports any provider exporting CSV usage data (Anthropic, OpenAI, etc.).
Why this beats prompting it yourself
General-purpose prompts often fail at token bucket math, incorrectly pricing cached tokens as standard input tokens. This skill enforces strict normalization across different header aliases and ensures $0 rows from local or seat-based models are retained for an accurate view of total system load.
Use cases
- Automate a morning Slack/email notification showing yesterday's total model spend.
- Audit a large agent run to see if caching strategies are actually reducing costs.
- Identify runaway jobs in a multi-tenant environment using tag-based grouping.
- Set baseline 'typical spend' alerts to catch billing spikes before the invoice arrives.
Known limitations
It is a daily operator view, not an accounting tool for invoice disputes or tax reconciliation. It does not perform multi-month forecasting.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 day ago
- Passed all security checks, Safe to install