Anthropic doesn’t allow using the Claude Code dedicated token as a workaround for their API billing process. It wasn’t targeted at OpenCode, it’s just an obvious policy. This was never supported or advertised, so there’s no bait and switch going on.
If you want an API token for use with your tools or use cases they have an option for that.
None of this is new or surprising.