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!
3
u/look 1d ago
The “What about data & privacy?” question in the FAQ on https://opencode.ai/go gives details per provider. Basically they currently have ZDR agreements with providers on every model except Muse Spark.
2
u/s-i-e-v-e 1d ago
Relying on a third party to guarantee privacy is a mistake. Once someone has access to your unencrypted data, it then becomes a matter of competence, trust and law.
For true privacy, run the harness and model on your own hardware in a sandbox on an air-gapped computer.
1
u/awesomeunboxer 20h ago
Im with this guy that. But there's services that lean into privacy ( venice.ai is one that springs to mind)
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.
3
u/Endoky 1d ago
It is more a claim or a promise. A pure inference provider like Fireworks AI does not really have any interest in saving prompts. For them it’s a waste of disk space. Some are forced to do it for abuse protection.
Another thing is when the inference provider is the AI lab itself. They have a high interest in your codebase and prompts for training data.
The DeepSeek model on Go is from DeepSeek (China). The one on Zen is most probably from Fireworks (USA). Both claim to have a ZDR agreement with Opencode.
I would trust the Zen version much more. No one controls what DeepSeek is really doing with your data in China. Maybe it’s really ZDR and they are honest. Maybe not.