CLOUD & CAPITAL AI COST LENS

AI COST LENS · FREE TOOL

Is the cheaper AI
actually costing you more?

Compare two tools or plans, including the time you spend checking and fixing their work. Or start with a bill to see the costs you can account for.

No account or connection needed. Your files are read in this browser.

A lower subscription price is only part of the picture. Extra review time and fewer usable outputs can change which option costs less.

Read the guide

PROVIDER REPORTED

OPENAI BILL REVIEW

What can this bill actually prove?

Saved dashboard exports

Total cost and usage mix are real evidence. Unsupported allocations stay blank.

THE FINANCE READ

USAGE MIX

Where the requests and tokens went

These are observed usage measures. They are not billed dollars by model.

ModelRequestsInputOutputCache shareBilled cost

THE JUDGMENT

What to act on, and what to leave alone

This separates what the bill proves from what still needs testing.

NEXT EVIDENCE

FINANCE FIRST AI SPEND REVIEW

What did one ready result really cost?

EXPLORE TWO EXAMPLES

THE RECEIPT

What one ready result costs

Model usage is one part of the cost. The evidence label travels with the numbers.

THE FINANCE READ

THE WORK

How the two routes compare

Total spend can mislead when volume or quality changes. This view uses the same ready-to-use outcome on both sides.

WHAT THE COMPARISON FOUND

What the comparison says

The next step follows the cost per ready result and the checks behind it.

THE DECISION

RECURRING COST BOUNDARY

MODEL + SHARED INFRASTRUCTURE + HUMAN REVIEW

COST ANATOMY

The bill is bigger than tokens.

A cheaper rate can disappear after retries, review, or infrastructure. The breakdown keeps each part visible instead of burying everything in one total.

WORKLOAD BEHAVIOR

Where the economics changed

These measures cover all provider requests, including retries. Cost per ready result uses only outputs that cleared the quality rule.

FINANCIALLY RANKED FINDINGS

OVERLAP REMOVED FROM THE HEADLINE

OPPORTUNITIES

Where is the credible opportunity?

Each finding shows its evidence basis, financial confidence, overlap, and next step. Candidate amounts are never added together and called savings.

REQUEST-LEVEL REVIEW

Find the calls behind the pattern

LOCAL FILE · NO PROMPTS REQUIRED

Add a CSV or JSON request log, including a LiteLLM spend-log export, to break down spend, calculate an evidence-gated run rate, and detect duplicate records, failed and repeated calls, retry loops, repeated uncached prefixes, oversized inputs, excessive outputs, reasoning intensity, and repeated tool use. Gateway spend remains separate from provider billing evidence. Your source file is parsed in this browser and is not uploaded.

Download template

Rows with invalid values or the wrong number of CSV fields are excluded from a scoped review. Download the issue list, correct the source, and analyze again for a whole-log comparison.

Use one row per AI request or trace observation. For LiteLLM, export all pages of individual spend logs; a single paginated response is incomplete. The CLI canonical CSV is a separate period-level billing format and is not interchangeable with this request log.

Budget and allocation settings (optional)
Add compute, data, network, tooling, pipeline, and human costs

Use totals for the same period and currency as the request log. Enter only costs not already included in provider request cost or another category. Blank means unknown. Enter zero only when you confirmed there was no cost. AI Cost Lens shows a fully loaded total only when every request is priced and every category is supplied.

OBSERVED SHAPE · PROPOSED PRICE

SIMULATION IS NOT VERIFICATION

SIMULATE

What if the workload changed?

Reprice the observed token shape under one proposed model or operating change. Quality, latency, tools, and model behavior remain unproven until you test them.

Token totals come from the selected route. The model price changes; output and retry behavior change only when you explicitly model them.

SAME WORK · SAME RULE · BLIND WHEN POSSIBLE

QUALITY BEFORE ROUTE CHANGE

VERIFY

Did the cheaper route still do the job?

Price can nominate a candidate. A comparable output sample determines whether it belongs in the decision.

THE TEST

Use one decision rule for both routes

Review model names only after scoring when practical.

  1. 01
    Choose the same tasks

    Use representative work from one bounded workload.

  2. 02
    Hide the route

    Blind model names and randomize order when practical.

  3. 03
    Apply the same rule

    Mark ready, needs correction, or needs escalation and record review time.

  4. 04
    Return to the decision

    Cost, quality, policy, and evidence must pass together.

PAIRED OUTPUT CHECK

Test the same cases locally

OUTPUTS ARE NOT SAVED

Import one baseline row and one candidate row for every case. AI Cost Lens can check valid JSON, required or forbidden terms, required JSON fields, an exact label, and a maximum length. Separate multiple terms or JSON fields with a semicolon (;), as shown in the separate illustrative example. Human outcomes and review time remain separate evidence.

Score the outputs here

AI Cost Lens will hide route names, randomize A/B order separately for every case, and clear the rendered outputs after the last score.

Already scored elsewhere? Keep the outcomes in the CSV, then describe how that review was run.

Every case must use the same deterministic rules on both routes. Arbitrary regular expressions and executable schemas are deliberately not run.

DECISION RECORD

NO PROVIDER CREDENTIALS REQUIRED

EVIDENCE CHECK

What can we actually prove?

Every conclusion should show where the cost came from, what counted as a good result, what was reviewed, and what is still missing.

NEXT RECORDS TO COLLECT

Make the next test count

The workspace archive includes completed sections and customer IDs when supplied. Keep it private. “Open saved review” accepts the decision record separately.

    Download outcome log template

    ACCOUNTING BOUNDARY

    POST-CHANGE RECONCILIATION

    MODELED → OBSERVED → REALIZED

    ACTUALS

    Did the savings appear after the change?

    Enter the post-change period from your records. Compare recurring costs at the same ready-result volume, then show any one-time implementation cost separately. Amounts stay in the review currency.

    Baseline period
    Post-change period

    Enter observed post-change figures here. A proposed route is not an actual result.

    No checked box is inferred from the current review. Confirm each gate only when the record supports it.

    CLOUD & CAPITAL · AI COST LENS

    AI spend decision memo

    FINANCE DECISION

    THE NUMBERS

    What changed

    DECISION RULES

    What the review counted

    EVIDENCE

    What finance can rely on

    NEXT STEP

    NEW LOCAL REVIEW

    What would you like to check?

    Your files stay in this browser. AI Cost Lens reads them locally; source files are not uploaded.
    File limits and comparison boundaries

    File limit: 5 MiB and 20,000 rows. For comparisons, use equally long, complete periods.

    Use non-negative costs after documented discounts. Reconcile credits and refunds first, and use the same gross or net basis on both sides.

    Choose what you have. You can add more evidence later.

    Other ways to start Upload records, analyze usage, price a prompt, and examples

    Not sure? Start with one bill. The review becomes more detailed as you add the usage or outcome data you already have. Read the guide with a worked example.

    RATE SCENARIO · LOCAL ONLY

    Price a prompt before you test a route.

    Compare current direct API list prices or one rate you supply. The estimate can find a route worth testing; it cannot prove equivalent quality or savings.

    Your prompt stays in this browser. No API key is requested. Prompt text is not included in the estimate record.
    01

    THE WORKLOAD

    Describe one call

    OpenAI raw text is counted locally with its o200k_base encoding. Other providers use a clearly labeled 4-characters-per-token estimate. Enter a known count below to override both.

    Advanced cache assumptions

    Cached input is treated as a repeated prefix. Add refreshes only when the provider publishes a separate cache-write rate. A refresh replaces one cache-read call; it is not added on top of the same call.

    For explicit caches, token-hours equal cached tokens multiplied by retained hours across the month. Separate storage cost is added only where the provider publishes that rate. Zero means storage is excluded, not free.

    02

    THE ROUTES

    Choose what to compare

    Useful for negotiated prices and providers outside the curated catalog. The rate stays local and is never presented as provider-verified.
    Advanced rate controls

    Each route defaults to standard processing and the provider's global or default location. Change these only when they match how the request will actually run.

    Current
    Alternative 1
    Alternative 2
    Alternative 3
    Use one custom or contract rate

    Choose Custom or contract rate in any route above, then enter its USD rates per 1M tokens. The values stay local. Do not paste agreement text or secrets; use a short source label.

    Optional batch rates

    Enter the same cached-input rate as input when your rate card has no cache discount. Enter zero only when the applicable source explicitly makes that token category free.

    Search the model catalog

    Compare verified text list prices and published token limits. Price is not a capability or quality score; your workload test remains the decision evidence.

    LUMEN · GUIDED EXPLAINER

    Choose what you want explained.

    This is a deterministic record explainer, not a general AI chat. It uses only the calculated review in this browser and does not contact an AI API. Your file is not uploaded.