top | item 46902886

(no title)

edem | 24 days ago

So can I use this from Opencode? Because Anthropic started to enforce their TOS to kill the Opencode integration

discuss

order

rs_rs_rs_rs_rs|24 days ago

You can use Anthropic models in Opencode, make an api key and you're good to do(you can even use the in house Opencode router, Zen).

What you can't do is pretend opencode is claude code to make use of that specific claude code subscription.

tfehring|24 days ago

OpenAI models in general, yes - `opencode auth login`, select OpenAI, then ChatGPT Pro/Plus. I just checked and 5.3-codex isn't available in opencode yet, but I assume it will be soon.

avb|24 days ago

You can also use via Opencode Zen, Github Copilot, or probably any number of other model providers that Opencode integrates with.

Not sure why everyone stays focused on getting it from Anthropic or OpenAI directly when there are so many places to get access to these models and many others for the same or less money.

regularfry|24 days ago

I've tried opus 4.5 in opencode via the GitHub Copilot API, mostly to see if it works all. I don't think that broke any terms of service? But also I haven't checked how much more expensive I made it for myself over just calling them directly.

InsideOutSanta|24 days ago

Yes, OpenAI said they'd allow usage of their subscriptions in opencode.