claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Limit reached · resets 11:30am (Asia/Calcutta) · /upgrade to Max or turn on /extra-usage

Open anupamme opened this issue 2 weeks ago • 6 comments

Bug Description Since yesterday the Claude code limits are being breached much faster than before. Something seems very off, earlier I sometimes reached the 5 hour limit now I'm reaching it in just 30 mins. The kind of work I'm doing is about the same so something seems to be off here. Can you please investigate?

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.64
  • Feedback ID: d9d89b9b-cd44-441a-b7f3-eea34ad6f538

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at AP (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:186:1137)\n    at IncomingMessage.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:187:9852)\n    at IncomingMessage.emit (node:events:520:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at UWA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:189:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async maB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1925:6675)","timestamp":"2025-12-10T03:12:38.353Z"},{"error":"ConfigParseError: Invalid schema: name: Marketplace name cannot impersonate official Anthropic/Claude marketplaces. Names containing \"official\", \"anthropic\", or \"claude\" in official-sounding combinations are reserved.\n    at WFB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1412:842)\n    at Ud1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1412:2880)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Ff (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1414:592)\n    at async ju2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4535:5768)","timestamp":"2025-12-10T03:12:40.516Z"},{"error":"MaxFileReadTokenExceededError: File content (46555 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at ZWB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1306:10602)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:963)\n    at async h95 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2969:16748)","timestamp":"2025-12-10T03:20:53.796Z"},{"error":"MaxFileReadTokenExceededError: File content (46555 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at ZWB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1306:10602)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:963)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1536:1463","timestamp":"2025-12-10T03:21:11.238Z"},{"error":"MaxFileReadTokenExceededError: File content (45944 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at ZWB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1306:10602)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:963)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1536:1463","timestamp":"2025-12-10T03:21:11.257Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:440:20)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:372\n    at XX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n    at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:347)\n    at YWB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4350:17783)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:909)\n    at h95 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2969:16756)\n    at runNextTicks (node:internal/process/task_queues:65:5)\n    at process.processImmediate (node:internal/timers:473:9)","timestamp":"2025-12-10T03:21:15.347Z"},{"error":"MaxFileReadTokenExceededError: File content (45944 tokens) exceeds maximum allowed tokens (25000). Please use offset

Note: Error logs were truncated.

anupamme avatar Dec 11 '25 01:12 anupamme

Same happens for me.

IlliaVern avatar Dec 11 '25 07:12 IlliaVern

This is in the broad category of "LLM feels worse now" but I also had very surprising usage limit hits over the past few days.

More potentially useful context:

  • pro account ($20 / mo)
  • I am 90% certain the change came with the intro of Opus 4.5 as an available model in claude-code for pro users.
  • (note: I am not using opus in claude-code and hitting limits faster)

It seems very plausible that a change to

  • model selection options
  • targeting specific account types

has introduced a bug in metering those account types.

Or fixed a bug that previously over-allocated for me, but, uh, let's not consider that one.

@IlliaVern , @anupamme , and other thumbs-uppers: can you share some info about your account status?

NiloCK avatar Dec 12 '25 15:12 NiloCK

As for me I have Max ($100) plan. I'm using Opus 4.5 for coding since it was launched. And for me it looks like accidental spike of usage tokens. Starting from December 11th the situation moves to normal tokens usage.

IlliaVern avatar Dec 12 '25 15:12 IlliaVern

I'm using the Pro ($20) plan. I've been using Sonnet 4.5 since it launched. I've been working on the same codebase for the last few months, but token usage (as a function of code commits) has spiked over the last 3 days

orbisai0security avatar Dec 12 '25 16:12 orbisai0security

⭐ TIPS: I've been browsing similar area:cost issues re: Claude this morning and have gathered a few tips in one place. These don't fix the issue entirely but they've helped cut down my usage in the interim: hope these help someone!

  1. direct Claude to not use Task feature, and to use utility tools for common tasks. Add –no-agent flag to your prompt as well (several users reporting that Claude is recruiting subagents without disclosing this to the user)
  • ie “ --no-agent for the remainder of our work in this session. DO NOT use the Task tool. Use Grep to find files, Read to check them, and Edit to fix them directly."
  1. use /config in the CLI to disable auto-compact, as this is another source of token overconsumption

If anyone else finds ways to reduce token consumption while we wait, feel free to share! 👍

grandtheftdisco avatar Dec 12 '25 17:12 grandtheftdisco

@grandtheftdisco Thanks for this.

Is the Task feature new? Any impressions on what has changed over time?

Some token-efficiency metrics would probably be a good regression benchmark for claude-code repo.

NiloCK avatar Dec 12 '25 18:12 NiloCK