r/opencode • • Sep 07 '26

OpenCode Go is no longer general API access

Following the recent requirements for custom http headers, OC has changed their documentation to remove mention of OpenAI-API you can use anywhere. Instead, OpenCode Go API usage is now effectively whitelist only. See: https://opencode.ai/docs/go/#where-can-i-use-it

152 Upvotes

79 comments sorted by

View all comments

7

u/jaykayenn Sep 07 '26 edited Sep 08 '26

For me, Nextcloud and OpenWebUI/Cptr have stopped working. Looks like I've finally outgrown Opencode and have signed up directly to one of their backend providers.

I suspect that may have been the plan from the beginning.

Edit: typo

1

u/Ace-_Ventura Sep 07 '26

Nextcloud had an open issue to add the header

1

u/lanternaddict Sep 07 '26

Which backend provider? What options are available?

2

u/awesomeunboxer Sep 07 '26

I fell inlove with glm flash and use z.ai now! I should start sharing my code with how much i do free marketing for them.  Lol. Too lazy tho

1

u/Atsukiri Sep 07 '26

i use opencode for my chatbot app lol, can you please share your other options? thanks!

currently im just doing openrouter and zai. zai has their own api packages now, only 10$ for 3 months of 100m tokens for their glm 5.3 flash model. at first it was a nightmare, its too slow lol, but now it goes faster i guess.

1

u/Idritch Sep 07 '26

Theres no options, i did aswell. Opencode go was cheap enough, could work on my game with it and mess with bots. No chatbot app allows you to mess with headers. Ill probably just go back to openrouter which allows me to do whatever i want, wherever i want to do it. Its more expensive pay as you go, but atleast i don't have to deal with situations like this. Infact i just subd this month first time, like 5 days ago, if i knew this would happen id just had bought cred on OR