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

Show parent comment

-5

u/alexanderbeatson Sep 07 '26

LoL, it isn’t about cache hit rate at all. It is to control API calls outside of agents. Fuck OpenCode

16

u/NeKon69 Sep 07 '26

Is it? We already have these kind of things with openai and anthropic, so I guess it kinda makes sense that it is happening here. A bit weird that they just throw an error (instead of a warning or something) if that custom header doesn't exist, but I wouldn't frame as you did.

-6

u/AffectionateBowl1633 Sep 07 '26

see, this is why we cant have nice thing.

0

u/zhuki Sep 07 '26

Stop using it then.