What does API-equivalent cost mean?

It answers a hypothetical pricing question: what is this recorded activity worth under the model rates and calculation rules used by the tracker? The estimate combines different token categories and supported charges. It can help compare usage patterns or investigate a subscription, but it does not establish an invoice, remaining quota or productivity.

Why can my tracker show $500 when my subscription costs much less?

A subscription payment and a per-token valuation measure different things. Imagine a hypothetical $100 monthly subscription and $500 of API-equivalent activity. The tracker has valued the recorded work at $500; it has not created another $500 charge. If your billing records show only the $100 subscription payment, that is the payment to report. Check separately for additional charges or purchases. These figures are illustrations, not current plan quotes.

What is the difference between cost, payment and quota?

Use the right source for each question. Invoices and account billing records establish charges and payments. Provider-reported usage shows allowances. Local trackers estimate the activity represented in their logs. A high token total does not directly reveal a subscription reset time, and a low dollar estimate does not guarantee that a lower tier can handle your busiest session.

How are token costs calculated?

For a basic token-only estimate, add uncached input tokens times their rate, cached reads times their rate, supported cache writes times their rate, and output tokens times their rate. Divide by one million when rates are quoted per million tokens. Apply relevant model-specific adjustments and supported tool charges separately. Avoid double-counting cached input already included in an input total or reasoning already included in output.

Can you show a simple calculation?

Consider hypothetical rates of $2 per million uncached input tokens, $0.20 per million cached input tokens and $10 per million output tokens. One million uncached input tokens costs $2, five million cached tokens costs $1, and 200,000 output tokens costs $2. The token-only estimate is $5. This excludes cache writes and other charges; it is an arithmetic example, not a quote for any particular model.

Why do two usage trackers disagree?

First align the date window, timezone, machines and accounts. Then compare model aliases, price dates, cache categories, unsupported records, archived sessions and deduplication. Some tools use recorded cost fields while others recalculate from tokens. A zero may mean a missing recorded price rather than free usage. Comparing a calendar month with a rolling 30-day report can also produce a difference without either tool being wrong.

Why might an API estimate differ from an API invoice?

Even on API billing, a local report may omit another device, cloud work, tools or unsupported records. Discounts, applicable credits, taxes, currency conversion and pricing changes can affect reconciliation. Align service periods and distinguish usage charges from prepaid credit purchases: buying credits is not necessarily consumption in the same period. Check line items before calling a mismatch an overcharge.

Does a large API-equivalent total prove my subscription saved money?

It suggests the plan may provide useful value relative to that pricing assumption. It does not prove you would have purchased identical usage through the API, achieved the same results, or paid list rates. A subscription also includes features beyond recorded coding activity. Describe the result as API-equivalent usage covered, not guaranteed savings.

How should I use the estimate before renewal?

Start with complete, representative history. Review unpriced calls and separate observed cost from a monthly projection. Compare actual payments and other benefits, then check busy-period capacity and upcoming work. Keep the estimate as one input to a renewal decision rather than a substitute for billing records.

How can I check my own usage locally?

Run the checker in your terminal on the machine where you use Claude Code or Codex:

curl -fsSL https://ganivra.com/check.sh | sh

The default check covers supported local records from the rolling last 30 days. It requires Python 3.8 or later and downloads the checker and public prices. It does not upload usage data by default; the separate import mode is not enabled by this command. Inspect the shell script and Python source if you want to review the implementation.

Follow the 30-day usage guide for filters, JSON export and missing-history troubleshooting. For Claude context analysis, see the Ganivra Claude Code plugin.

Frequently asked questions

Does ccusage show my actual bill?

Do not assume so. Its documented cost modes can use recorded costs or token-based calculations depending on the source and mode. Check the mode, coverage and price basis, then reconcile with provider billing records.

Does a Claude Code cost estimate mean I owe that amount?

No. A session or local API-equivalent estimate is not an extra subscription charge. Check your actual billing arrangement and provider records for charges.

Are Codex credits the same as API dollars?

Do not treat them as interchangeable. A local API-token estimate is different from subscription allowance or credit accounting. Check current provider terms for your plan.

Can missing prices make usage appear cheaper?

Yes. Unpriced calls may be excluded from a priced total. Review the omissions before comparing tools or plans; unpriced does not mean free.

Does trimming tokens immediately reduce my subscription payment?

Usually a fixed subscription payment does not change merely because recorded tokens fall. Lower usage may help capacity or inform a future plan change. Additional usage charges depend on the billing arrangement.

Can I use estimated costs for a client invoice?

Only under an agreed billing method that identifies estimates clearly. API-equivalent cost is not proof of your vendor expenditure. Keep actual charges, allocations and contractual markups distinct.

Where can I verify the details?

Reviewed November 25, 2026. Product capabilities and prices can change. The following primary sources support product-specific claims; the decision examples and evaluation workflow are editorial guidance.

Which related question should I explore next?