How to check AI token usage

How much did you use in Claude Code and Codex, and what is it worth at API prices? Learn to read your usage records and understand the amounts.

What is a token?

A token is a unit AI uses to process content. It is not the same as a character or a question. The token count can vary with the language and the model’s tokenizer.

Input tokens can include conversation context or code as well as your question. Output tokens cover generated responses, and reused input is tracked as cache usage. Compare the individual types as well as the total.

Check your usage

Sign in on My card and collect records from the computer you used. Create a card from the available Claude Code and Codex token counts and their API-price equivalent, then compare periods and models in your usage report.

For a prompt you have not sent yet, use the AI token and cost calculator. Its estimates can differ from the token counts recorded after use.

Card amounts apply public API prices to token counts for comparison. They are neither actual charges nor your remaining subscription allowance. Check bills and remaining limits with the service you use.

How it counts

The same total token count can produce different amounts. Prices vary by model and by token type: input, output and cache usage. We multiply each type’s token count by its price, then add the amounts together.

Input is what the model reads; output is the answer it generates. Cache reads reuse stored input, while cache writes store input for reuse. Claude Code tracks cache reads and writes separately; Codex distinguishes ordinary input from cached input.

So total tokens alone are not enough to compare amounts. Even with the same model, mostly reusing cached input can cost less than generating more output or writing more new cache, despite an equal total token count.

Claude CodeCodex
Token typesInput, output, cache reads and cache writesUncached input, cached input and output
PricesAnthropic API list pricesOpenAI API list prices

Good to know

  • Use in the Codex and Work apps on a computer counts. Plain Claude and ChatGPT chats, and Codex or Work used on a phone or on the web (chatgpt.com), leave no record on the computer and cannot be counted.
  • Exception: codex-auto-review uses a site-selected GPT-5.6 Luna estimate ($0.20 input / $0.02 cached input / $1.20 output per million tokens). This is not a verified historical model price or an actual charge.
  • Amounts use October 2026 standard API list prices, not actual bills. Models without a verified price are excluded from the amount. Request-specific surcharges and discounts are not included. The exchange rate is Hana Bank's posted rate as Naver shows it.
  • Results may be incomplete if usage records are missing or unavailable on your computer.
  • Your conversation text and source code are not uploaded. See the privacy policy for what is collected and stored.

The ranking's amounts

The server works it out again at the same list prices, so the plans and exchange rate you change on your card do not reach the ranking.

One computer's record is never counted twice or put up again under another account. If you use several computers, sign in on each and they add up. What is stored and shown is in the privacy policy.

Whale tiers

Your place within the selected period and scope sets your image tier. At 100 participants: Challenger #1; Grandmaster #2–3; Master #4–6; Diamond #7–13; Emerald #14–25; Platinum #26–40; Gold #41–60; Silver #61–80; Bronze #81–95; Iron #96–100.

With fewer than 10 participants, each place gets the next tier starting from Challenger. At 10 or more, every tier gets at least one participant; remaining places follow the target proportions. These tiers reflect your usage ranking on TokenWhale.