Anthropic just legally threatened Opencode to make them drop support: https://web.archive.org/web/20260221041617/https://github.com/anomalyco/opencode-anthropic-auth/pull/15#issuecomment-3930558874

Archive link because they deleted the repo after to comply with demands.

In short, Anthropic only wants you using their official walled-garden clients to access the models trained on our open source code.

They are not a lesser evil. They are just as evil as OpenAI.

Stop giving these assholes money. Rent or buy hardware to self-host with privacy and freedom. It is not that hard, I promise.

fix: Align Anthropic OAuth requests with Claude Code by deveworld · Pull Request #15 · anomalyco/opencode-anthropic-auth

Summary Normalize Anthropic OAuth requests to match Claude Code's headers, betas, metadata, tool casing, and model IDs. Remove tool_choice and inject metadata.user_id from ~/.claude.json to sa...

GitHub
@lrvick z.ai ?
@tuskun their free public anonymous tokens are great for experimenting, but I would not rely on any third party to do my job personally.