This guide answers the renewal questions developers bring to Google, ChatGPT and Claude. It covers personal Claude Code usage and explains how to check Codex on the same machine. API-equivalent estimates are not invoices, subscription quota measurements or guaranteed savings.

How do I check my last 30 days of Claude Code usage locally?

Run the Ganivra plan checker in your terminal on the machine where you use Claude Code. It reads supported usage logs already on that machine and compares the recorded activity with public model prices.

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

The default check covers the last 30 days and includes Codex if it finds supported logs. It can ask which plan you use so it can compare the estimate with your monthly payment.

  • API-equivalent cost and active days.
  • Model-level input, cached and output token breakdowns.
  • Your busiest five-hour period valued at API prices.
  • Top project folders by estimated cost.
  • Available history, unpriced models and a plan comparison.

To check Claude Code only:

curl -fsSL https://ganivra.com/check.sh | sh -s -- --tool claude --days 30

The checker requires Python 3.8 or later. You can inspect the shell script and Python source first. The command downloads and executes the checker; the default check downloads public prices but does not upload your usage data. See the plan checker guide for more context.

What does “usage at API prices” actually mean?

It values recorded model activity at API rates; it does not tell you what your subscription billed you. A report showing $300 of API-equivalent usage does not create a $300 charge.

The estimate combines each model’s uncached input, cached reads, supported cache writes and output at the corresponding rates, plus supported applicable adjustments. It depends on the records available and the price list used. Inspect the reported price source and date, and resolve unpriced calls before making a decision.

Anthropic distinguishes Claude Code’s session dollar estimate from subscription billing too. Consult the official Claude Code cost documentation and your billing records when reconciling actual payments.

A historical estimate also does not guarantee your future API bill: workload, model choices, cache behavior and prices may change.

Should I renew my subscription, downgrade or switch to API billing?

Use the cost comparison to narrow your options, then check capacity and the benefits you actually use. Compare like periods and currencies, include additional usage charges, and account for any applicable credits without counting the same benefit twice.

How to interpret a representative month of coding usage
What you findWhat to consider next
API-equivalent usage well above your paymentKeeping the subscription may offer good value if its limits meet your needs.
Usage consistently well below your paymentInvestigate a cheaper tier or API billing, including benefits you would lose.
Estimated cost close to your paymentPredictability, features and capacity may outweigh a small estimated difference.
Usage concentrated in a few intense sessionsCheck provider-reported limits before choosing a lower tier; monthly totals hide bursts.
Incomplete history or unpriced modelsGather more evidence before relying on the recommendation.

Check the current Claude plans and pricing and Claude API pricing. Subscription names, features, credits and prices can change. Use what you actually pay, rather than assuming a published headline price matches your account.

The checker’s verdict is a heuristic comparison. It does not model every subscription benefit or prove that a particular tier can accommodate your workload. A lower coding estimate can coexist with a subscription that is worthwhile for other work.

What would a subscription-versus-API comparison look like?

Suppose your monthly payment is $100 and a complete, representative month of coding has an API-equivalent value of $35. API billing is worth investigating, but the $65 difference is not established savings. You might also use other Claude features or credits, and next month’s coding could be heavier.

Now suppose that same payment covers $400 of API-equivalent coding activity. Keeping the plan may make sense if its limits and capabilities fit your work. Neither example establishes a universal break-even token count: models and token categories have different prices.

These figures are illustrative. They are not measured customer results, current plan quotes or promises of savings.

What if the report projects a month from a shorter history?

Separate recorded usage from the projected monthly amount. A projection based on a new installation or a busy project week may misrepresent your normal month. Review the coverage notice, active days and expected upcoming work. Even five or more active days do not guarantee a representative sample.

How do I find out why Claude Code is using so many tokens?

Inspect starting context and the sessions, projects and models behind the total. The free Ganivra Claude Code plugin provides a local context audit and usage reports.

Inside Claude Code, add the marketplace and install the plugin:

/plugin marketplace add ProdMoh/ganivra-claude-plugin
/plugin install ganivra@ganivra

Then run:

/ganivra:audit
/ganivra:report

The audit reviews starting context across recent sessions and highlights MCP servers and skills loaded but rarely used. The report breaks down usage and cost by project, model and day. Review necessary instructions before disabling tools or trimming context; a change that causes retries can erase a saving.

Read what Claude Code starting context costs for a worked explanation. The plugin page includes installation requirements, source code and privacy details.

Frequently asked questions about Claude Code subscriptions and API costs

Is Claude Code cheaper with a subscription or API billing?

It depends on your recorded usage, the plan you pay for, and the benefits you use. Compare a representative month of API-equivalent coding usage with your subscription payment and additional charges. Then account for usage limits, other Claude features and applicable credits. A token-cost comparison alone cannot identify the best plan.

How do I check my last 30 days of Claude Code usage?

Run curl -fsSL https://ganivra.com/check.sh | sh in a terminal on the machine where you use Claude Code. The checker reads supported local logs and reports API-equivalent usage, active days, model breakdowns and top projects. Check the coverage notice: a monthly projection is not a measured full month.

Does the estimated API cost mean I owe that amount?

No. API-equivalent cost values recorded activity using model prices. It is not an additional subscription charge, an invoice or guaranteed savings. Check your provider billing records for actual payments and additional usage charges.

Does the local checker upload my usage or prompts?

The default command does not upload usage data. It downloads the checker and public prices, processes session logs locally, and may save prices and your plan selection locally. It does not print, store or upload prompt, response or source-code text. The separate --import option uploads usage metadata to a Ganivra workspace; it is not included in the default command.

Does the report include every machine, browser chat and cloud task?

No. It covers supported logs available on the machine where you run it. Another laptop, browser conversations and cloud activity absent from those logs are not included. Review each machine and account for copied or overlapping sessions before combining results.

What if I have fewer than 30 days of logs?

The checker shows recorded usage and can project a monthly amount from the available span. Missing history, a new installation or an unusually busy week can make that projection unrepresentative. With fewer than five active days, the checker reports that there is too little evidence to judge the plan.

Are cached tokens included in the cost estimate?

Yes. The checker distinguishes uncached input, cached reads, output and supported Claude cache-write records. These categories can have different rates, so multiplying all tokens by one headline price can misstate the estimate. Older logs and missing usage fields can limit precision.

What happens if the checker cannot price a model?

It identifies unpriced calls. Their cost is not included in the priced total, so that total is incomplete. Resolve relevant unpriced usage before relying on the plan recommendation; missing prices do not mean free usage.

Can API-equivalent dollars predict my Claude subscription limit?

No. API-equivalent cost and subscription quota are different measures. The busiest-five-hour figure describes a burst of recorded activity at API prices; it does not establish which subscription tier can accommodate it. Review your provider-reported limits alongside the cost report.

Can I use the same command to check Codex usage?

Yes. By default, the checker looks for both Claude Code and Codex logs on the current machine and reports the tools separately. Enter the plan and monthly payment you actually use. Local Codex logs do not represent all ChatGPT activity or every benefit included in your subscription.

How can I find out why Claude Code uses so many tokens?

Use the Ganivra Claude Code plugin to inspect starting context and recent usage. Run /ganivra:audit to review starting context and loaded-but-rarely-used MCP servers and skills. Run /ganivra:report for usage and cost by project, model and day. Review necessary instructions before removing context.

Should I downgrade after one quiet month?

Only after checking whether that month represents your normal work. Holidays, a completed project or temporarily using another tool can reduce usage. Consider upcoming work, your busiest sessions, other subscription benefits and several representative periods when history is available.

What should I do before my next renewal?

Run the local check, review the coverage and unpriced usage, and compare the result with the capabilities you need for the month ahead.

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

Use the Claude Code plugin to investigate what drives your usage. If you manage multiple developers, explore Claude Code and Codex team cost tracking.

Also reviewing a ChatGPT plan? Read is your Codex subscription worth renewing? for the Codex-specific decision.

For commands, JSON export and missing-history troubleshooting, read how to check your last 30 days of Claude Code and Codex usage.

Where can I verify the calculations and product details?

Reviewed November 25, 2026. Recheck provider terms and the checker’s reported price date before changing your billing arrangement.