← Back to the MegaOpus page

A weekly quota in a day and a half: an example of careless token use

Status 10 Nov 2026. The figures were measured afterwards from MegaOpus’s own stored data. They show how MegaOpus’s agents consumed tokens at the beginning of October, not how Claude Code consumes them in general.

At the beginning of October, MegaOpus’s weekly quota filled up in the middle of the week. The quota could be reset by hand, and the reset restored the full weekly quota. A day and a half later, it was used up again. This article tells where the quota went, why it went so fast and what was done about it.

What happened

  • Thursday 1 Oct. The weekly quota was full, although the regular reset would only have been on Saturday 3 Oct at 20:00. The quota was reset by hand. According to Anthropic’s instructions, a reset restores the weekly quota to full at once.
  • Friday 2 Oct. Within a day, the reset quota was almost used up again. At about 13:30, the Claude Code agents’ calls practically stopped.
  • Saturday 3 Oct at 20:00. The calls started again exactly at the moment of the regular weekly reset.

What the meter shows

Since July, MegaOpus had had a meter that counted the Claude Code agents’ tokens by project to the minute. However, it did not show the size of an individual agent’s conversation. Stored data from this period was found from 1 Oct at 5:18 until the reset. The agents’ own logs from those days have already been deleted.

1 Oct at 6:18 – 2 Oct at about 13:30:

ProjectModel callsAverage context per call
MegaOpus1,126534,000
Project 21,966550,000
Project 31,569555,000
Total4,661548,000
  • In all three projects, coord, dev and debugger were at work. During this time, they received about 375 task messages in total.
  • The agents worked through the night: between 0:00 and 2:00, there were almost as many calls as during the day.
  • In addition, Codex agents did work. They do not use Claude’s quota and are not included in these figures.

Comparison with now

1–2 Oct (about 31 hours)3–9 Nov (whole week)
Model calls4,66116,161
Average context per call548,000142,000
Read from the cache2.51 billion tokensabout 2.25 billion tokens
Output6.0 million tokensabout 11.8 million tokens
Cost estimate at API list pricesabout $850–980about $1,075

In a day and a half, the agents read more tokens than they now do in a whole week, even though there were less than a third of the calls and about half of the output.

The November figures come from the same run as the article Where do the tokens go? A month of MegaOpus usage measurements.

Why the quota went so fast

A lot of work was done, but the consumption was many times greater in proportion. The cause was not the amount of work but the way every call read it.

An agent’s context is its whole conversation history: instructions, tools, earlier tasks, reports and command outputs. The model reads the whole context on every call. At the beginning of October, the agents’ conversations had grown to over half a million tokens, because they were not compacted during the work. Claude Code’s own compaction window was a million tokens, and the agents compacted only after being idle for about an hour.

Even a small work step, such as one command and checking its result, therefore cost reading over half a million tokens. For example, a piece of work of a hundred calls by the debugger, whose conversation was 737,000 tokens, read about 74 million tokens. With a short conversation, the same piece would have read a fraction of this.

The consumption did not show in time, because the size of an agent’s conversation was not tracked anywhere. Only the quota was visible, and it ran out.

What was done about it

DayStepWhat was done
2 OctThe cause was foundThe sizes of the agents’ conversations were read from their screens: debugger about 737,000, dev 672,000 and coord 640,000 tokens. Automatic lightening of the context was recorded as a task. Until then, the conversations were cleared by hand.
4 OctMeter: OhjaamoThe consumption of every Ohjaamo turn is stored: input, cache, output, context and cost estimate.
10–11 OctMeter: viewThe cost estimate got its own window, and the actual consumption was separated from how large a share of the consumption has been measured.
15 OctMeter: terminal agentsThe consumption of every model call by coord, dev and debugger is stored and shown in the agent’s details.
22 OctThe problem was narrowed downThe measurement showed that the terminal agents’ context was on average 340,000–440,000 tokens and compaction happened only at 570,000–700,000 tokens. At the same time, it turned out that the compaction request decided earlier had not been implemented.
25 Oct–1 NovThe solution was automatedThe agent is given its own compaction limit, and MegaOpus requests compaction whenever a turn ends and the context exceeds the limit. Compaction never happens in the middle of work. The settings can be defined as a default, per project and per role.
9 NovThe solution was refinedThe compaction limit was lowered from 200,000 to 150,000.

The result shows in the comparison table: the context per call has dropped from 548,000 to 142,000.

The meters were made so that the same would not happen again unnoticed. Now that compaction is handled automatically, the meters are needed mainly for assessing new ways to save. They have been used to measure, for example, Code Mode and the changes to the compaction limit.

Way of working

The case is a good example of how MegaOpus is developed:

  1. The cause is found. The cause of the quota running out was looked for on the same day.
  2. The problem is narrowed down and put under review. Meters were made for the consumption, so that the size of the problem and the effect of changes are seen from figures and not from estimates.
  3. A solution is developed for the problem. The measurements showed that the decisive factor was the timing of compaction.
  4. The solution is automated. Compaction no longer depends on the user remembering it.
  5. The solution is generalised. The same settings and meters are in use in all projects and roles.

Limitations

  • The time of the reset on 1 Oct is not known, because the stored data begins only at 5:18.
  • The size of the weekly quota is not published in tokens. Therefore it cannot be said what percentage of the quota anything used. It can only be said that the same quota was then enough for about a day and a half.
  • The figures include only the Claude Code agents. The claude.ai conversation directing the agents used the same quota, and on the usage page its share was probably about 11%. It has not been measured.
  • The cost estimate is a range, because the cache write price used at the time (five-minute or one-hour cache) is not known.