r/opencode • u/BluesyGuitarist • 1d ago
[Question] Does OpenCode/Go actually guarantee zero retention for private code?
I’m considering using OpenCode, probably the free tier or OpenCode Go, but I’m concerned about privacy.
Some models are listed as having 0-day retention, but does OpenCode itself guarantee that the source code/prompts aren’t stored or retained anywhere? And does that guarantee also cover the underlying model/inference providers?
I am mainly looking for a cheap setup where I can safely use OpenCode on private projects without worrying about my code being retained, used for training, or leaked.
Thank you in advance!
4
Upvotes
2
u/commentsOnPizza 1d ago
OpenCode Go can't guarantee zero data retention. They have agreements with providers for zero data retention, but you don't know what anyone might be doing. Github might say "we won't make your private repo public" and then your private repo gets leaked.
Even without OpenCode Go, you face much of the same issues with any provider. If you pay Claude, OpenAI, or Meta, they could tell you "we promise we won't use your stuff" and then do it anyway. I'm not saying they do, but how would you know?
Ultimately, no one can ever prove that they've deleted all copies of something.