Just trying to understand, https://opencode.ai/docs/go/#privacy currently says DeepSeek V4 Flash has 0 days data retention.

> DeepSeek V4 Flash: ZDR agreement is renewed monthly. The current agreement is valid through August 31, 2026.

Is there other info I should be aware of w.r.t data retention with opencode go? It's hosted in China, so other middlemen may be active (I doubt it, but possible)?

If it's hosted in China, they can tell you whatever you want to hear and do whatever they want to do.

What are you going to do? Take a CCP company in front of a CCP judge?

They can do the same thing in the US. What are you going to do, sue OpenAI or Anthropic?

Well, yes, because the courts and the AI labs are totally separate entities.

If they are doing it to you, they are probably doing it to others, which makes an easy class action

You probably could sue them if they really did store your information without your consent.

It would be a hassle, but China does have privacy laws. Companies do get sued for violating them.[0]

0. https://www.chinajusticeobserver.com/a/china%E2%80%99s-top-c...

Yes. There is a big question mark about whether Anomaly itself (as the OpenCode Go middleman) retains data. The docs were completely silent on this the last time I checked.

According to this code (https://github.com/anomalyco/opencode/blob/dev/packages/cons...) only Grok and Luna have 30-day retention, the rest have 0-day retention. Of their legal documents, none mention data retention for anything other than personal data. The exception is if you '/share' which explicitly gives them your session to share over the web with others.

I haven’t looked at their docs in a little while but they were very precise in saying that the providers follow a zero data retention policy. But Opencode Go proxies the requests, right? I never saw a statement in the legal docs that would limit Anomaly’s right to retain the data passing through.

OpenCode Go does not send any inference to China unless you go into settings and manually select 'Enable models hosted in China'.

That's a recent addition I wasn't aware of. Thanks. Previously, OpenCode docs claimed they had no agreement with DeepSeek on data retention for training. Even more previously, OpenCode said they used providers based in US/EU/Singapore (which they no longer do so).