Remix.run Logo
edem 4 hours ago

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

tfehring 4 hours ago | parent | next [-]

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 2 hours ago | parent | prev | next [-]

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 4 hours ago | parent | prev | next [-]

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.

rs_rs_rs_rs_rs 4 hours ago | parent | prev | next [-]

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.

InsideOutSanta 4 hours ago | parent | prev [-]

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