7 ms·
OpenCode
by hnrodey 8mo ago
OpenCode
- stevejb 8mo agoIs this still the case? Is Anthropic still not allowing access to OpenCode?
- cedws 8mo agoOfficially, 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 8mo agoAh 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 8mo agoJust like I shouldn't use an unofficial play store client, right? No one would ever do that.
- nullbyte 8mo agoProtip for Mac people: If OpenCode looks weird in your terminal, you need to use a terminal app with truecolor support. It looks very janky on ANSI terminals but it's beautiful on truecolor. I recommend Ghostty for Mac users. Alacritty probably works too.
- mayhemducks 8mo agoThank you for this comment! I knew it was something like this. I've been using it in the VSCode terminal, but you're right, the ANSI terminal just doesn't work. I wasn't quite sure why!
- tshaddox 8mo agoYes, although OpenCode works great with official Claude API keys that are on normal API pricing. What Anthropic blocked is using OpenCode with the Claude "individual plans" (like the $20/month Pro or $100/month Max plan), which Anthropic intends to be used only with the Claude Code client. OpenCode had implemented some basic client spoofing so that this was working, but Anthropic updated to a more sophisticated client fingerprinting scheme which blocked OpenCode from using this individual plans.