Re:Anthropic takes legal action against OpenCode
by ipsum2 on Thursday March 19, 2026 @04:18PM
(#47445337)
This seems like pure misinformation. The code lines that are actually changed:
They're removing the ability to use OpenCode via Anthropic API key
[ Parent
| on HN ]
Re:Anthropic takes legal action against OpenCode
by aeriose on Thursday March 19, 2026 @04:36PM
(#47445653)
This is what most people in the comments are missing. They are removing the ability to even use Anthropic APIs not just your Max subscription.
Re:Anthropic takes legal action against OpenCode
by danr4 on Thursday March 19, 2026 @05:27PM
(#47446443)
this not true. api keys are supported. only "claude code" is being dropped.
that code is just a cli hint to which LLM they recommend using. so they stop recommending anthropic. rightfully so.
Re:Anthropic takes legal action against OpenCode
by extr on Thursday March 19, 2026 @04:28PM
(#47445509)
Is this what the legal request demanded or is this just something that OpenCode is doing out of spite? Seems unclear. To me the meat of this change is that they're removing support for `opencode-anthropic-auth` and the prompt text that allows OpenCode to mimic Claude Code behavior. They have been skirting the intent of the original C&D for awhile now with these auth plugins and prompt text.
Re:Anthropic takes legal action against OpenCode
by somebodythere on Thursday March 19, 2026 @04:43PM
(#47445760)
Using your API key in third-party harnesses has always been allowed. They just don't like using the subsidized subscription plan outside of first-party harnesses. So this seems to be out of spite
Re:Anthropic takes legal action against OpenCode
by theshrike79 on Thursday March 19, 2026 @04:55PM
(#47445956)
Anthropic's issue was always them spoofing OpenCode as Claude Code, piggybacking on the subscription plan.
Banning them from using the pay-per-token API key would be bad business.
Re:Anthropic takes legal action against OpenCode
by hirako2000 on Thursday March 19, 2026 @05:00PM
(#47446011)
It is what the legal demands are. They requested removal of all Anthropic (trademark?) mentions.