Does OpenCode (Own API key or local model) train on your code?
Anomaly (OpenCode) · Own API key or local model · checked 2026-10-19
Runs on local models, but OpenCode doesn't spell out its own data handling.
Default
OpenCode doesn't publish a statement on what (if anything) the client sends to OpenCode when you use your own provider or a local model.
How to opt out
Not published.
Retention
Provider-dependent; OpenCode's own handling not stated.
Telemetry
Not published (not documented on the pages checked).
Disable telemetry
Not published.
Zero data retention
yes · With a local model (provider-side).
Offline / local model
yes · Configure a local OpenAI-compatible provider (e.g. Atomic Chat, Ollama, LM Studio) in opencode config.
Score
50/100 · training 8/40 · retention 17/25 · offline 20/20 · telemetry 5/15
Classes: training Not published · retention Your provider's · telemetry Not published · offline yes
Not published (not found in the vendor's official sources)
trains_on_code, how_to_opt_out, telemetry_sent, telemetry_how_to_disable