Skip to content
Free tool · No signup

AI Cost Diagnostic

Estimate what your workload costs today, then see which of the five cost levers saves you the most. Applied in order, because each one only works on what the last left behind.

What does this workload do?

The model loops with tools. Every step re-sends the conversation.

Steps it takes to finish one job.

Finished outcomes, not raw API calls.

Model tier you run today

System prompt, tools, fixed docs.

Genuinely new input each step.

Output costs 5x to 8x input on current models.

Your rates, per million tokens
$
$

List price of Claude Opus 5.5, checked 30 Sep 2026. Overwrite with the rates on your bill.

Estimated now
$16,160/mo
$0.323 per completed task · 3.2B input tokens/mo
After the levers that apply
$2,143/mo
$0.043 per task · saves $14,017 (87%)

A best case. It assumes every lever lands cleanly and quality holds. Treat the first one or two as plannable and the rest as direction.

Start here
Fix the application layer

Biggest first move on your numbers: $6,502 a month.

The levers, in order, on your numbers

Each row acts on what the row above it left behind, which is why the order matters and why the savings do not add up to the total.

  1. 1Measure cost per completed taskno saving

    No direct saving. Without it the levers below are guesses about which workload is actually expensive.

    Cost per completed task
  2. 2Fix the application layersaves $6,502/mo

    Assumes iteration caps and circuit breakers remove ~20% of steps as retry overhead, and that carrying a summary plus the last two turns replaces the full transcript (~65% less carried context).

    AI agent costs

    Bill after this lever: $9,658/mo

  3. 3Right-size the modelsaves $5,444/mo

    Assumes 70% of steps in this workload are narrow enough for a small model, with 15% of those escalating back to the frontier tier on low confidence or a schema failure.

    Small models vs LLMs

    Bill after this lever: $4,214/mo

  4. 4Make each request cheapersaves $2,071/mo

    Assumes 90% of the stable prefix becomes cache reads at a tenth of input price, capping max_tokens and asking for structured output trims 20% of output tokens.

    Prompt caching

    Bill after this lever: $2,143/mo

  5. 5Decide where inference runsno saving

    Below the volume where self-hosting pays. A GPU costs the same idle as busy, so an API is cheaper and simpler here.

What this model assumes

Three things drive the numbers above. Each lever states its own assumption inline, so you can disagree with any of them and see the effect.

Context compounds

Every agent step re-sends the conversation so far, so input tokens grow with the square of the step count. This is usually the largest line on the bill and the one nobody instruments.

Order beats technique

Levers multiply, they do not add. Caching a request you should never have sent saves 90% of a number that should be zero, which is why the tool reports a waterfall.

Per task, not per call

A cheap model that fails and retries three times costs more than one strong call. Cost per completed task is the only figure that survives a model swap.

This is the diagnostic front end to the full playbook on LLM cost optimization. For the caching lever specifically, size it with the prompt caching calculator.

AI cost diagnostic FAQ

How do I know which AI cost lever to pull first?+

Work down the layers rather than starting with the easiest technique. Measure cost per completed task first so you know which workload is expensive, then look at the application layer (how many calls one finished outcome makes), then model choice, then per-request technique like caching and token discipline, and only then where inference runs. Most teams start at caching because it ships in an afternoon, and discover afterwards that the real problem was an agent loop running twelve steps when three would do.

Why does this tool apply the levers in order instead of adding up percentages?+

Because they are not independent. Each lever only works on what the previous one left behind, so the savings multiply rather than add. Cutting an agent loop from twelve steps to five removes most of the tokens that caching would otherwise have discounted, so quoting both savings separately would double-count. The waterfall shows the honest sequential figure.

Why are agents so much more expensive than a single call?+

Because context accumulates. A twelve-step agent run does not send twelve equal requests, it sends twelve growing ones, each carrying the system prompt, the tool definitions and every prior thought and tool result. Total input tokens grow with the square of the step count, not linearly. That is why one agent run commonly costs 19x to 50x a single completion, and why the tool asks for steps per completed task rather than calls per month.

Are the prices in this tool current?+

They are representative mid-2026 list prices, deliberately round, and they are editable inputs rather than fixed constants. Model pricing moves every few months, so overwrite them with the actual rates on your bill. Every figure the tool reports is derived from whatever numbers you put in those two fields.

When is self-hosting an LLM actually cheaper than an API?+

Only above a volume where the GPU would be genuinely busy. A GPU costs the same at 9% utilisation as at 90%, and the honest calculation also includes the engineering time to run serving infrastructure, handle model updates and manage failover. Below that threshold an API is cheaper and simpler, so this tool reports no saving rather than inventing one.

What is cost per completed task?+

What one finished user outcome costs, rather than what one API call costs. It is the number that has to sit below what the user pays you. Cost per call flatters cheap models that fail and retry: a weak model that gets it wrong three times can cost more than a single strong call. Measuring per completed task is what makes model comparisons meaningful.

Free consultation

Cut your AI bill without cutting quality

The diagnostic shows which lever to pull. We build the instrumentation, loop controls and routing that capture it. Book a free cost review.

Book a Free 30-Minute Call

We map one workflow that eats your team’s week and show you what an engineer and a few AI agents could take off it. No slide deck, no sales pitch. Just a working session.

Don’t want a call? Email [email protected]

Book a free call
  • One workflow mapped with you, live
  • A clear first step for your team
  • Reply within one working day

We worked with Seif on the React Native app for our vehicle-appraisal platform. What stood out most was how much ownership he takes: he thinks a feature through, raises edge cases before they turn into bugs, and delivers something that actually works. And then there is one more thing why I wanted to work with Seif after our very first call: Exceptional clear and consistent communication. It is a pleasure to work with him and his team!

Michael EmaschowFounder, RepairCheck
Teams we’ve built for
  • RepairCheck
  • Locus Digital
  • MasterPilot
  • Tabeebi
  • Sure-Bid
  • Hengcheng
Seif SgayerFounder ·View LinkedIn

Free Strategy Call

30 minutes · Google Meet · Free

No packages, no sales pitch. You leave with a clear first step.

By sending you agree to the privacy policy.

  • 30 min
  • Google Meet
  • Calendly
  • No commitment
  • The plan is yours to keep
  • Built for teams at Tabeebi, RepairCheck and MasterPilot