See it before it runs out
Merlin shows at the top how much of your plan you have used and when it renews. The Usage screen adds the API equivalent.
Claude 62% · renews in 1h20
A free token calculator for Claude Code and Codex. 6 questions, no sign-up.
Turn on JavaScript to use the calculator. The price table, the assumptions and the FAQ are just below.
How Merlin helps
Merlin shows at the top how much of your plan you have used and when it renews. The Usage screen adds the API equivalent.
Claude 62% · renews in 1h20
Alerts at 50, 70, 90 and 100% of the plan. At 100%, Merlin holds the missions and you decide: keep going anyway or resume later.
Each role uses the model that fits the work. When the plan gets tight, "Economia forte" (strong saving mode) does fewer things at once, without changing the model you picked.
Merlin does not raise your plan limit. It shows, warns and helps you decide.
Join the list and get e-mailed tips to make the plan last longer and how to check your real usage.
Merlin does not include the AI: it uses your own Claude, ChatGPT or Gemini plan.
Merlin is a desktop app: open this site on your Windows PC or Mac.
Download for Windows Download for Mac Mac with an Intel chip? Download here3 days of Pro to try. After that you stay on the free plan or choose a paid one.
Go deeper
There is no single price: Claude Code has two ways to pay, and the math differs.
On a subscription you pay a fixed amount a month, in dollars: Claude Pro, $20; Max 5x, $100; Max 20x, $200. What changes between plans is how much you can use before you hit the limit.
On the API you pay for what you use. The price is per million tokens, split between what the AI reads (input) and what it writes (output). Sonnet 5.5, for example, costs $2 per million tokens read and $10 per million written.
The calculator does the three steps for you: it estimates your tokens (hours a day, days a week, agents, model) and shows the cost "as if" you paid per token, next to the plan price. Two caveats: tokens per hour are our estimate, not a measurement of your usage, and prices change without notice.
Checked on October 20, 2026. The dollar is a yardstick for comparing, not what Anthropic measures inside. Providers change limits without notice.
| Plan | Price | 5-h window (API equivalent) | Week (API equivalent) | Where the number comes from |
|---|---|---|---|---|
| Claude Pro | $20/month ($17 on the yearly plan) | 10 to 18, central 14 | 120 to 220, central 170 | measured by a third party |
| Claude Max 5x | $100/month | 49 to 70, central 60 | 510 to 850, central 680 | our assumption |
| Claude Max 20x | $200/month | 150 to 260, central 205 | 1,150 to 2,100, central 1,643 | measured by a third party |
| ChatGPT Plus | $20/month | GPT-6 Astra: 5 to 45; GPT-6.1 Sol: 15 to 160; GPT-6 Luna: 350 to 3,000 (messages per 5-h window) | not published | official |
| ChatGPT Business | $25/month ($20 on the yearly plan) | GPT-6 Astra: 5 to 45; GPT-6.1 Sol: 15 to 160; GPT-6 Luna: 350 to 3,000 (messages per 5-h window) | not published | official |
| ChatGPT Pro | from $100 | no 5-hour limit | not published | official |
Dollars per million tokens, from each provider's official table. Very long context costs more; we use the short-context price.
| Model | Input | Cache write | Cache read | Output |
|---|---|---|---|---|
| Opus 5.5 | $4 | $5 | $0.2 | $20 |
| Sonnet 5.5 | $2 | $2.5 | $0.1 | $10 |
| Haiku 5.5 | $0.1 | $0.125 | $0.01 | $0.5 |
| Fable 5.1 | $10 | $12.5 | $0.25 | $50 |
| Model | Input | Cache read | Output |
|---|---|---|---|
| GPT-6 Astra | $10 | $1 | $50 |
| GPT-6.1 Sol | $2 | $0.1 | $10 |
| GPT-6 Luna | $0.1 | $0.01 | $0.5 |
Everything the math assumes, so you can disagree knowing why.
The small piece of text the AI reads and writes. It is what uses up your plan. See the glossary (in Portuguese)
Neither Anthropic nor OpenAI publishes that number. That's why the calculator gives an estimate with a range.
Prices come from the official pages, checked on the date shown. The Claude window is a third-party measurement (Max 5x is our assumption) and Codex uses OpenAI's official table of messages.
Long conversations, the strongest model for everything and several agents at once use more. The guide shows how to measure and what to adjust. How to use fewer tokens (in Portuguese)
Yes. On Pro and Max the limit is shared between chat and Claude Code.
It depends on usage. Light use can cost less per token; heavy use is usually cheaper on a subscription. The calculator shows both.
No. It shows how much you have used, warns you before it runs out and helps you pick the model for each role.
Your answers stay in your browser, unless you ask for the report by e-mail.
It depends on how you pay. On a subscription it is a fixed amount (Pro, Max 5x or Max 20x, shown above). On the API it is whatever you use. The calculator shows both side by side for your routine.
The 5-hour window renews and the warning shows the time (for example "resets 3:45pm"). The weekly limit runs on its own clock. In Claude Code, /usage shows what is left on both. Usage limits (in Portuguese)
free tool by Merlin
The Usage screen shows each agent's tokens, the estimated cost and the share of your plan already used, read from the tools' own files, and warns you before the limit runs out.
Free download for Windows and Mac · free plan forever · in beta