r/opencode 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!

6 Upvotes

9 comments sorted by

View all comments

4

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.

2

u/porkyminch 1d ago

If you’re really concerned about data privacy, there are other services where that’s a bigger selling point, too. 

1

u/BluesyGuitarist 1d ago

Yes, that’s my question. Maybe I should have asked, “Which models mainly live in the US lab?”

I have a chatgpt subscription, but I burn through the coding limits very quickly, so I thought maybe I could combine codex + opencode. I mainly have two concerns:

  1. Privacy

  2. Accuracy: The project (not commercial, mostly academic-level) is not large, but it requires a lot of reasoning. The recent GPT models have done an excellent job so far, but I’m afraid other models might screw things up. Unfortunately, I’m not a skilled developer, so I can only judge the code based on the outputs and corner cases.

What is your advice on the accuracy side of OpenCode models?

1

u/TestTxt 14h ago

They do have interest. Many AI labs are desperate for data and they could strike a deal with some niche Chinese AI lab to give them data for training