TL;DR

Users of the OpenCode CLI reported sudden failures when invoking Anthropic's Claude Max model through the tool. Community debugging suggests the problem is tied to how OpenCode submits 'tools' names in API requests, while an official Anthropic explanation is not present in the thread.

What happened

A widely viewed issue opened on the anomalyco/opencode repository documented that Claude Max stopped responding in the OpenCode CLI. Multiple users reported identical errors across macOS and various OpenCode versions, noting the service had been working minutes to hours earlier. Contributors pasted a sample API request showing a tools array and the use of a Claude model (e.g., claude-sonnet-4-5). Several commenters discovered a correlation between tool naming and success: requests using names like "read_tool" returned responses, while switching to "read" triggered errors. Community members debated whether this reflects an intentional restriction by Anthropic; one commenter cautioned that using the Max plan outside Anthropic's own tools may not be supported. The thread captured user frustration, with at least one person reporting they canceled their Anthropic subscription, and maintainers assigned the issue for follow-up.

Why it matters

  • Developers relying on OpenCode for code-focused workflows may be disrupted if models are inaccessible via third-party CLIs.
  • The incident highlights how provider-side rules or API behavior can break integrations without public notice.
  • Workarounds tied to request formatting are fragile and may not be sustainable long-term.
  • User trust and subscription decisions can be affected when paid capabilities stop working in common tools.

Key facts

  • The report appears in the anomalyco/opencode GitHub repository (issue thread #7410).
  • Initial report posted by user piotryordanov; many other contributors confirmed the same failure.
  • Affected functionality involved Claude Max (examples reference claude-sonnet-4-5 and claude max).
  • A pasted curl request shows OpenCode sending a 'tools' array with entries such as 'read_tool' and 'write_tool'.
  • Community debugging found that using the name 'read_tool' could succeed while switching to 'read' produced errors.
  • Some commenters interpreted the behavior as a ban on OpenCode tools; others noted it may stem from intended usage limits.
  • At least one user said they downgraded then canceled their Anthropic subscription because of the outage.
  • Issue has labels indicating a bug and maintainers were assigned for investigation.

What to watch next

  • Follow the OpenCode issue for maintainer updates and potential fixes addressing tool-name handling.
  • Anthropic's official response or policy clarification is not confirmed in the source.
  • User migration or provider changes among affected developers, as reported in the thread, may accelerate.

Quick glossary

  • OpenCode: An open-source command-line interface and toolset for working with code and language models.
  • Anthropic: A company that develops large language models and provides API access to them.
  • Claude Max / Claude-sonnet: Names used for Anthropic's higher-capacity language models; exact capabilities depend on the model variant.
  • API (Application Programming Interface): A set of rules and protocols that allows software to communicate with external services or components.

Reader FAQ

Why did Claude Max stop working in OpenCode?
Not confirmed in the source; community debugging found a correlation with how tools are named in API requests but no official root cause was provided.

Is there a confirmed Anthropic ban on OpenCode?
Not confirmed in the source; some commenters suggested a ban while others urged caution, and Anthropic has not provided an official statement in the thread.

Are there any workarounds?
Community members reported that changing certain tool names (for example using 'read_tool' instead of 'read') affected whether the request succeeded.

Who is affected?
Users of the OpenCode CLI invoking Anthropic models reported the issue; exact scope beyond the thread is not confirmed in the source.

anomalyco / opencode Public Notifications Fork 4.7k Star 55.6k Code Issues 1.5k Pull requests 724 Actions Projects Broken Claude Max #7410 New issue Open anomalyco/opencode-anthropic-auth #9 Description piotryordanov opened Description As…

Sources

Related posts

By

Leave a Reply

Your email address will not be published. Required fields are marked *