Comment by cedws

Comment by cedws 10 hours ago

2 replies

Officially, it's against TOS. I'm told you can still make it work by adding this to ~/.config/opencode/opencode.json but it risks a ban and you definitely shouldn't do it.

  {
    "plugin": [
      "opencode-anthropic-auth@latest"
    ]
  }
stevejb 10 hours ago

Ah interesting. I have been using OpenCode more and more and I prefer it to Claude Code. I use OpenCode with Sonnet and/or Opus (among other models) with Bedrock, but paying metered rates for Opus is a way to go bankrupt fast!

fc417fc802 10 hours ago

Just like I shouldn't use an unofficial play store client, right? No one would ever do that.