logoalt Hacker News

stevejbyesterday at 6:10 PM1 replyview on HN

Is this still the case? Is Anthropic still not allowing access to OpenCode?


Replies

cedwsyesterday at 6:13 PM

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"
    ]
  }
show 2 replies