Works with the AI Agents you already use

    LLM Cost Cutter: Find Waste in Your AI Calls

    by Signal Over Noise

    1

    Your LLM bill went up and nobody can say which feature or habit is driving it.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    LLM Cost Cutter: Find Waste in Your AI Calls

    LLM Cost Cutter: Find Waste in Your AI Calls

    Example session with this skill installed

    Here is our gateway export (1% sample, two days) and a price table. Find where we are wasting money on LLM calls and tell us what to fix first. nightly-summaries can run as a batch job.

    • Read your context and instructions
    • Compiled the llm cost cutter
    Northwind Labs: LLM cost audit (log 2026-11-02 to 2026-11-03, 1% sample, x1,500 monthly scale)
    Estimated monthly spend: $4,586.82. Price table matches billed cost (+0.0%).
    Savings overlap. Do not add them. Fix in this order and re-run after each.
    
    1. doc-qa retries (~$808.50/mo). CONFIRMED in code.
       api/docqa/client.py sets timeout=2s; a 50k-token answer takes 6 to 9s, so every slow
       call fires twice more. Wrapper retries on any exception, and the SDK retries too.
       Change: timeout 30s, retry only 429/5xx/timeout, backoff with jitter, 3 attempts total,
       SDK retries off. Measure: zero same-hash repeats under 5s in next week's log.
       Ranked #2 by dollars, done first: lowest risk, no quality impact.
    
    2. doc-qa context (~$1,055.88/mo at 30% trim). CONFIRMED partly.
       Retriever sends top-12 chunks of 3,000 tokens; answers cite at most 3. Change: top-5.
       That alone cuts about 21,000 tokens per request (~45%), above the 30% assumed.
       Gate: run the 60-question doc-qa eval set; keep top-5 only if accuracy holds.
    
    3. ticket-tagger on model-large (~$230.66/mo). LOG-ONLY until eval.
       Output is one of 14 tag names. Plan: 40 real tickets, acceptance = exact tag match
       with the human label, switch only if model-small matches at least as many as model-large.
    
    4. report-writer output cap (~$111.60/mo). CONFIRMED.
       The 7,900- and 5,200-token outputs repeat the same table 6 and 4 times. No max set.
       Change: max output 1,900; on a 'length' stop, retry once at 3,000, then return
       the report with a "truncated" banner.
    
    5. ticket-tagger cache order (~$103.54/mo). CONFIRMED.
       Prompt starts with "Ticket received at {timestamp} from {customer}" before the
       1,400-token tagging instructions. Change: instructions first, ticket last.
       Verify the instruction block meets the provider's minimum cacheable size.
       If #3 ships, this saving shrinks to about $2/mo on model-small.
    
    6. support-chat cache order (~$100.94/mo). CONFIRMED.
       System prompt embeds today's date and the agent's name at line 1.
       Change: move both into the final user turn.
    
    7. nightly-summaries to batch (~$39.74/mo). Ready. Verify batch turnaround fits the 09:00 read time.
    
    8. ticket-tagger duplicate (~$24.64/mo). CONFIRMED: help-desk webhook redelivers after a
       slow 200. Change: dedupe on ticket event ID before calling the model.
    
    Checked, not worth it now: search-suggest duplicates ($0.48/mo).
    

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Your LLM bill went up and nobody can say which feature or habit is driving it. Dashboards show totals by model. They do not tell you that one endpoint retries three times in two seconds, or that a timestamp at the top of a prompt is killing every cache hit.

    What you get

    • A seven-check method: prompt-cache ordering, oversized context, expensive model on simple tasks, missing max output caps, retries without backoff, duplicate identical calls, and offline jobs that could use a batch discount.
    • A tested Python script (standard library only, no network) that reads a per-request usage CSV plus your own price table and prints a ranked list: estimated monthly dollars, the evidence from the log, the assumptions behind each estimate, and one concrete action.
    • A procedure for confirming each finding in code before anyone promises savings, with decision rules for when a finding is dead.
    • A full worked example: 54-request log, report, and the final write-up.

    What makes it different

    Every dollar figure carries its assumption. The report checks your price table against billed cost and warns when they disagree. It scales sampled logs correctly. It tells you which checks it skipped and why, instead of reporting a clean result it never tested. It refuses to add overlapping savings into one inflated headline.

    What it does not do

    It does not edit your code, choose a provider, or ship prices. Model swaps it flags still need a paired eval. Cache minimums and batch terms vary by provider; you verify them.

    Requires Python 3.10+. Requires request_hash in logs for retry/duplicate detection. Estimates assume 30% context reduction and 50% cache hit potential. Does not support real-time billing APIs.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    Software
    Python 3.10+ (standard library only)

    A per-request usage log exported as CSV. A price table you copy from your providers' current price pages

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill identifies invisible token waste by analyzing your request logs against current provider pricing. It detects cost leaks from poor prompt cache ordering, oversized context windows, redundant retries, duplicate requests, and tasks that could be handled by cheaper model tiers.

    You need to provide a CSV log of your per-request usage, a price table with your provider's current rates, and read access to your application's source code. The logs should include timestamps, features used, and token counts, while a request hash is required if you want to detect retries and duplicates.

    You will receive a ranked report listing savings opportunities by estimated monthly dollar impact. Each finding includes the evidence found in your logs, the assumptions behind the estimate, and a concrete action step to fix the waste in your code or configuration.

    This skill is designed for cost auditing and optimization rather than real-time billing integration or invoice disputes. It does not perform latency tuning, automated code changes, or evaluations for migrating to entirely new model providers.

    To start, provide your usage and price CSV files to your agent and ask it to run the cost cutter analysis. You can also specify parameters like your sample rate or identify which features are eligible for offline batch processing to refine the estimates.

    All dollar figures are estimates based on your provided price table and the sample rate of your logs. To ensure accuracy, the skill includes a verification step that compares your calculated costs against your billed totals to flag any discrepancies in your price table before you act on findings.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.