[Bug] Excessive token consumption rate with two Claude Code CLI instances
Status Fixed / completed
Reported on v2.1.87
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 4 comments · opened Mar 30, 2026 · closed Apr 4, 2026
Bug Description
Max 20x plan. Usage goes up too quickly! 14% in 10-15mins?! I'm only using two instances of Claude Code in CLI!
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.87
- Feedback ID: a577477c-15a3-4c0e-8f42-ee661e6d2742
Errors
[{"error":"Error: File does not exist. Note: your current working directory is /Users/rw/AI/Panoptes.\n at call (/$bunfs/root/src/entrypoints/cli.js:4290:6593)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T01:41:23.612Z"},{"error":"MaxFileReadTokenExceededError: File content (53493 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T01:41:24.461Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:149:13347)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:148:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:151:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T02:37:49.210Z"},{"error":"Error: Cannot create agent worktree: not in a git repository and no WorktreeCreate hooks are configured. Configure WorktreeCreate/WorktreeRemove hooks in settings.json to use worktree isolation with other VCS systems.\n at reH (/$bunfs/root/src/entrypoints/cli.js:7479:4436)\n at call (/$bunfs/root/src/entrypoints/cli.js:3184:7559)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T10:06:32.667Z"},{"error":"Error: Cannot create agent worktree: not in a git repository and no WorktreeCreate hooks are configured. Configure WorktreeCreate/WorktreeRemove hooks in settings.json to use worktree isolation with other VCS systems.\n at reH (/$bunfs/root/src/entrypoints/cli.js:7479:4436)\n at call (/$bunfs/root/src/entrypoints/cli.js:3184:7559)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T10:07:01.606Z"},{"error":"McpToolCallError: MCP error -32602: Input validation error: Invalid arguments for tool get_component_docs: [\n {\n \"code\": \"invalid_type\",\n \"expected\": \"array\",\n \"received\": \"undefined\",\n \"path\": [\n \"components\"\n ],\n \"message\": \"Required\"\n }\n]\n at Mh7 (/$bunfs/root/src/entrypoints/cli.js:1828:108339)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T13:52:35.513Z"},{"error":"McpToolCallError: MCP error -32602: Input validation error: Invalid arguments for tool get_component_docs: [\n {\n \"code\": \"invalid_type\",\n \"expected\": \"array\",\n \"received\": \"undefined\",\n \"path\": [\n \"components\"\n ],\n \"message\": \"Required\"\n }\n]\n at Mh7 (/$bunfs/root/src/entrypoints/cli.js:1828:108339)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T13:52:35.568Z"},{"error":"McpToolCallError: MCP error -32602: Input validation error: Invalid arguments for tool get_component_docs: [\n {\n \"code\": \"invalid_type\",\n \"expected\": \"array\",\n \"received\": \"undefined\",\n \"path\": [\n \"components\"\n ],\n \"message\": \"Required\"\n }\n]\n at Mh7 (/$bunfs/root/src/entrypoints/cli.js:1828:108339)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T13:52:35.620Z"},{"error":"MaxFileReadTokenExceededError: File content (84669 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T14:23:30.251Z"},{"error":"MaxFileReadTokenExceededError: File content (84669 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T14:23:34.636Z"},{"error":"MaxFileReadTokenExceededError: File content (84669 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n at processTicksAndRejections (native:7:39)…
Note: Content was truncated.
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Come on, Anthropic, this is a real issue. Stop closing new tickets. I only composed one e-mail and I'm already at 10% of MAX plan. WTF?
My Claude says 14% in 10-15 minutes with 2 instances has an explanation from #40584: the client-side rate limiter multiplies context size × number of concurrent instances — 2 instances = double count. Additionally, your logs show repeated MaxFileReadTokenExceeded errors (84,669 tokens) — Claude repeatedly tries to read files that are too large, consuming tokens each attempt even though it fails. Workaround: run 1 instance at a time instead of 2, and add large files to .claudeignore so Claude doesn't repeatedly attempt to read them.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.