claude-code - 💡(How to fix) Fix [BUG] High usage while using Opus 4.6 [3 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54834Fetched 2026-04-30 06:34:37
View on GitHub
Comments
3
Participants
4
Timeline
7
Reactions
1
Timeline (top)
labeled ×4commented ×3

Error Message

Error Messages/Logs

Code Example

2026-04-29T16:25:48.500Z [info] [gdrive] Server started and connected successfully
2026-04-29T16:25:49.261Z [info] [Control Chrome] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T16:25:49.263Z [info] [Control Chrome] Message from server: {"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"serverInfo":{"name":"chrome-control","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T16:25:49.397Z [info] [gdrive] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T16:25:49.398Z [info] [Control Chrome] Message from client: {"method":"notifications/initialized","jsonrpc":"2.0"}
2026-04-29T16:25:49.398Z [info] [Control Chrome] Message from client: {"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}
2026-04-29T16:25:49.398Z [info] [Control Chrome] Message from server: {"result":{"tools":[{"name":"open_url","description":"Open a URL in Chrome","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"URL to open"},"new_tab":{"type":"boolean","description":"Open in a new tab","default":true}},"req...[2766 chars truncated]...tSchema":{"type":"object","properties":{"tab_id":{"type":"number","description":"ID of the tab"}}},"annotations":{"title":"Get Page Content","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]},"jsonrpc":"2.0","id":1}
2026-04-29T16:25:49.404Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-11-25","capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"subscribe":false,"listChanged":false},"tools":{"listChanged":false}},"serverInfo":{"name":"gdrive","version":"1.26.0"}}}
2026-04-29T16:25:49.450Z [info] [gdrive] Message from client: {"method":"notifications/initialized","jsonrpc":"2.0"}
2026-04-29T16:25:49.451Z [info] [gdrive] Message from client: {"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}
2026-04-29T16:25:49.451Z [info] [gdrive] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":2}
2026-04-29T16:25:49.452Z [info] [gdrive] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":3}
2026-04-29T16:25:49.465Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"gdrive_list_files","description":"\nList files and folders in Google Drive.\n\nArgs:\n    folder_path: Subfolder to list (empty = Drive root).\n                 Example: \"Clients/NAHASDA\"\n    max_depth...[6433 chars truncated]...ive_rename_fileArguments","type":"object"},"outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"gdrive_rename_fileOutput","type":"object"},"annotations":{"readOnlyHint":false,"destructiveHint":false}}]}}
2026-04-29T16:25:49.465Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":2,"result":{"prompts":[]}}
2026-04-29T16:25:49.467Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":3,"result":{"resources":[]}}
2026-04-29T22:24:06.143Z [info] [Control Chrome] Shutting down server...
2026-04-29T22:24:06.143Z [info] [Control Chrome] Client transport closed
2026-04-29T22:24:06.143Z [info] [Control Chrome] Server transport closed (intentional shutdown)
2026-04-29T22:24:06.157Z [info] [Control Chrome] Client transport closed
2026-04-29T22:24:06.157Z [info] [gdrive] Shutting down server...
2026-04-29T22:24:06.157Z [info] [gdrive] Client transport closed
2026-04-29T22:24:06.157Z [info] [gdrive] Server transport closed (intentional shutdown)
2026-04-29T22:24:06.157Z [info] [gdrive] Client transport closed
2026-04-29T22:24:06.183Z [info] [Control Chrome] Server transport closed
2026-04-29T22:24:06.183Z [info] [Control Chrome] Client transport closed
2026-04-29T22:24:06.362Z [info] [gdrive] Server transport closed
2026-04-29T22:24:06.362Z [info] [gdrive] Client transport closed
2026-04-29T22:24:18.924Z [info] [Control Chrome] Initializing server...
2026-04-29T22:24:18.925Z [info] [gdrive] Initializing server...
2026-04-29T22:24:18.934Z [info] [Control Chrome] Using built-in Node.js for MCP server: Control Chrome
2026-04-29T22:24:18.972Z [info] [Control Chrome] Server started and connected successfully
2026-04-29T22:24:18.983Z [info] [gdrive] Using MCP server command: /usr/local/bin/python3 with args and path: {
  args: [ '/Users/dtkmacmini/gdrive_mcp/gdrive_mcp_server.py', [length]: 1 ],
  paths: [
    '/Users/dtkmacmini/.antigravity/antigravity/bin',
    '/Library/Frameworks/Python.framework/Versions/3.14/bin',
    '/opt/homebrew/bin',
    '/opt/homebrew/sbin',
    '/usr/local/bin',
    '/System/Cryptexes/App/usr/bin',
    '/usr/bin',
    '/bin',
    '/usr/sbin',
    '/sbin',
    '/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin',
    '/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin',
    '/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin',
    '/opt/pkg/env/active/bin',
    '/opt/pmk/env/global/bin',
    [length]: 15
  ]
}
2026-04-29T22:24:18.985Z [info] [gdrive] Server started and connected successfully
2026-04-29T22:24:20.313Z [info] [Control Chrome] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T22:24:20.314Z [info] [gdrive] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T22:24:20.315Z [info] [Control Chrome] Message from server: {"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"serverInfo":{"name":"chrome-control","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T22:24:20.316Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-11-25","capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"subscribe":false,"listChanged":false},"tools":{"listChanged":false}},"serverInfo":{"name":"gdrive","version":"1.26.0"}}}
2026-04-29T22:24:20.425Z [info] [Control Chrome] Message from client: {"method":"notifications/initialized","jsonrpc":"2.0"}
2026-04-29T22:24:20.425Z [info] [Control Chrome] Message from client: {"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}
2026-04-29T22:24:20.426Z [info] [Control Chrome] Message from server: {"result":{"tools":[{"name":"open_url","description":"Open a URL in Chrome","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"URL to open"},"new_tab":{"type":"boolean","description":"Open in a new tab","default":true}},"req...[2766 chars truncated]...tSchema":{"type":"object","properties":{"tab_id":{"type":"number","description":"ID of the tab"}}},"annotations":{"title":"Get Page Content","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]},"jsonrpc":"2.0","id":1}
2026-04-29T22:24:20.468Z [info] [gdrive] Message from client: {"method":"notifications/initialized","jsonrpc":"2.0"}
2026-04-29T22:24:20.469Z [info] [gdrive] Message from client: {"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}
2026-04-29T22:24:20.469Z [info] [gdrive] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":2}
2026-04-29T22:24:20.469Z [info] [gdrive] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":3}
2026-04-29T22:24:20.470Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"gdrive_list_files","description":"\nList files and folders in Google Drive.\n\nArgs:\n    folder_path: Subfolder to list (empty = Drive root).\n                 Example: \"Clients/NAHASDA\"\n    max_depth...[6433 chars truncated]...ive_rename_fileArguments","type":"object"},"outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"gdrive_rename_fileOutput","type":"object"},"annotations":{"readOnlyHint":false,"destructiveHint":false}}]}}
2026-04-29T22:24:20.471Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":2,"result":{"prompts":[]}}
2026-04-29T22:24:20.471Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":3,"result":{"resources":[]}}
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

High session usage!

What Should Happen?

I ran a single action which was to sign a .pdf and put a date on the form after having my usage exhausted this morning and being shutdown for 5 hours. That action took up 13% of my five hour usage window. That is not expected for a Pro Max user. This has been occurring for two days.

<img width="1564" height="997" alt="Image" src="https://github.com/user-attachments/assets/49385c5e-d1db-4c02-bc8d-d636958b34ec" />

Error Messages/Logs

2026-04-29T16:25:48.500Z [info] [gdrive] Server started and connected successfully
2026-04-29T16:25:49.261Z [info] [Control Chrome] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T16:25:49.263Z [info] [Control Chrome] Message from server: {"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"serverInfo":{"name":"chrome-control","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T16:25:49.397Z [info] [gdrive] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T16:25:49.398Z [info] [Control Chrome] Message from client: {"method":"notifications/initialized","jsonrpc":"2.0"}
2026-04-29T16:25:49.398Z [info] [Control Chrome] Message from client: {"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}
2026-04-29T16:25:49.398Z [info] [Control Chrome] Message from server: {"result":{"tools":[{"name":"open_url","description":"Open a URL in Chrome","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"URL to open"},"new_tab":{"type":"boolean","description":"Open in a new tab","default":true}},"req...[2766 chars truncated]...tSchema":{"type":"object","properties":{"tab_id":{"type":"number","description":"ID of the tab"}}},"annotations":{"title":"Get Page Content","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]},"jsonrpc":"2.0","id":1}
2026-04-29T16:25:49.404Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-11-25","capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"subscribe":false,"listChanged":false},"tools":{"listChanged":false}},"serverInfo":{"name":"gdrive","version":"1.26.0"}}}
2026-04-29T16:25:49.450Z [info] [gdrive] Message from client: {"method":"notifications/initialized","jsonrpc":"2.0"}
2026-04-29T16:25:49.451Z [info] [gdrive] Message from client: {"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}
2026-04-29T16:25:49.451Z [info] [gdrive] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":2}
2026-04-29T16:25:49.452Z [info] [gdrive] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":3}
2026-04-29T16:25:49.465Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"gdrive_list_files","description":"\nList files and folders in Google Drive.\n\nArgs:\n    folder_path: Subfolder to list (empty = Drive root).\n                 Example: \"Clients/NAHASDA\"\n    max_depth...[6433 chars truncated]...ive_rename_fileArguments","type":"object"},"outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"gdrive_rename_fileOutput","type":"object"},"annotations":{"readOnlyHint":false,"destructiveHint":false}}]}}
2026-04-29T16:25:49.465Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":2,"result":{"prompts":[]}}
2026-04-29T16:25:49.467Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":3,"result":{"resources":[]}}
2026-04-29T22:24:06.143Z [info] [Control Chrome] Shutting down server...
2026-04-29T22:24:06.143Z [info] [Control Chrome] Client transport closed
2026-04-29T22:24:06.143Z [info] [Control Chrome] Server transport closed (intentional shutdown)
2026-04-29T22:24:06.157Z [info] [Control Chrome] Client transport closed
2026-04-29T22:24:06.157Z [info] [gdrive] Shutting down server...
2026-04-29T22:24:06.157Z [info] [gdrive] Client transport closed
2026-04-29T22:24:06.157Z [info] [gdrive] Server transport closed (intentional shutdown)
2026-04-29T22:24:06.157Z [info] [gdrive] Client transport closed
2026-04-29T22:24:06.183Z [info] [Control Chrome] Server transport closed
2026-04-29T22:24:06.183Z [info] [Control Chrome] Client transport closed
2026-04-29T22:24:06.362Z [info] [gdrive] Server transport closed
2026-04-29T22:24:06.362Z [info] [gdrive] Client transport closed
2026-04-29T22:24:18.924Z [info] [Control Chrome] Initializing server...
2026-04-29T22:24:18.925Z [info] [gdrive] Initializing server...
2026-04-29T22:24:18.934Z [info] [Control Chrome] Using built-in Node.js for MCP server: Control Chrome
2026-04-29T22:24:18.972Z [info] [Control Chrome] Server started and connected successfully
2026-04-29T22:24:18.983Z [info] [gdrive] Using MCP server command: /usr/local/bin/python3 with args and path: {
  args: [ '/Users/dtkmacmini/gdrive_mcp/gdrive_mcp_server.py', [length]: 1 ],
  paths: [
    '/Users/dtkmacmini/.antigravity/antigravity/bin',
    '/Library/Frameworks/Python.framework/Versions/3.14/bin',
    '/opt/homebrew/bin',
    '/opt/homebrew/sbin',
    '/usr/local/bin',
    '/System/Cryptexes/App/usr/bin',
    '/usr/bin',
    '/bin',
    '/usr/sbin',
    '/sbin',
    '/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin',
    '/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin',
    '/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin',
    '/opt/pkg/env/active/bin',
    '/opt/pmk/env/global/bin',
    [length]: 15
  ]
}
2026-04-29T22:24:18.985Z [info] [gdrive] Server started and connected successfully
2026-04-29T22:24:20.313Z [info] [Control Chrome] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T22:24:20.314Z [info] [gdrive] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}}},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T22:24:20.315Z [info] [Control Chrome] Message from server: {"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"serverInfo":{"name":"chrome-control","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2026-04-29T22:24:20.316Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-11-25","capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"subscribe":false,"listChanged":false},"tools":{"listChanged":false}},"serverInfo":{"name":"gdrive","version":"1.26.0"}}}
2026-04-29T22:24:20.425Z [info] [Control Chrome] Message from client: {"method":"notifications/initialized","jsonrpc":"2.0"}
2026-04-29T22:24:20.425Z [info] [Control Chrome] Message from client: {"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}
2026-04-29T22:24:20.426Z [info] [Control Chrome] Message from server: {"result":{"tools":[{"name":"open_url","description":"Open a URL in Chrome","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"URL to open"},"new_tab":{"type":"boolean","description":"Open in a new tab","default":true}},"req...[2766 chars truncated]...tSchema":{"type":"object","properties":{"tab_id":{"type":"number","description":"ID of the tab"}}},"annotations":{"title":"Get Page Content","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]},"jsonrpc":"2.0","id":1}
2026-04-29T22:24:20.468Z [info] [gdrive] Message from client: {"method":"notifications/initialized","jsonrpc":"2.0"}
2026-04-29T22:24:20.469Z [info] [gdrive] Message from client: {"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}
2026-04-29T22:24:20.469Z [info] [gdrive] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":2}
2026-04-29T22:24:20.469Z [info] [gdrive] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":3}
2026-04-29T22:24:20.470Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"gdrive_list_files","description":"\nList files and folders in Google Drive.\n\nArgs:\n    folder_path: Subfolder to list (empty = Drive root).\n                 Example: \"Clients/NAHASDA\"\n    max_depth...[6433 chars truncated]...ive_rename_fileArguments","type":"object"},"outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"gdrive_rename_fileOutput","type":"object"},"annotations":{"readOnlyHint":false,"destructiveHint":false}}]}}
2026-04-29T22:24:20.471Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":2,"result":{"prompts":[]}}
2026-04-29T22:24:20.471Z [info] [gdrive] Message from server: {"jsonrpc":"2.0","id":3,"result":{"resources":[]}}

Steps to Reproduce

perform any function in cowork or in claude code, through vs studio, terminal or through the desktop application.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude 1.5354.0 (9a9e3d) 2026-04-29T01:14:34.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

This is an issue that has gone on for two days. No matter which version of the model I use i am seeing extraordinary session usage that does not correlate with my daily or weekly usage. Fix your stuff! I have hit usage caps and it seriously limits my productivity and i am performing basic functions in depricated models. This has not happened in the past. I have never been near my limits.

extent analysis

TL;DR

The issue is likely related to excessive session usage in Claude Code, and the fix may involve investigating the usage patterns and optimizing the model or adjusting the usage limits.

Guidance

  • Investigate the usage patterns to identify the cause of the excessive session usage, such as checking the number of requests made to the Anthropic API.
  • Verify if the issue is specific to the Opus model or if it occurs with other models as well.
  • Check the Claude Code version and Anthropic API documentation to see if there are any known issues or updates that may be related to the problem.
  • Consider reaching out to the Anthropic API support team to report the issue and request assistance in resolving it.

Example

No code example is provided as the issue is related to usage patterns and API interactions.

Notes

The issue may be related to a regression in the Claude Code or Anthropic API, and further investigation is needed to determine the root cause. The fact that the issue has occurred for two days and has not happened in the past suggests that it may be related to a recent change or update.

Recommendation

Apply workaround: Investigate usage patterns and optimize model usage to mitigate the issue while waiting for a potential fix from the Anthropic API team.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING