OpenCode data retention and training use by model

OpenCode routes model requests through Console and Go, and retention and training depend on the model chosen. Reviewers must check each model and set the admin privacy control before approval.

On this page

Does OpenCode data retention and training use by model meet our privacy requirement?

Data handling in OpenCode is set per model, so a privacy approval depends on which models staff can reach and through which plan. The Enterprise admin privacy setting in Settings, Privacy controls whether models may train on the organization's requests, while the Console and Go terms differ by model. A team that approves OpenCode as a whole has not yet approved the data path for every model it will use.

The answer is partial today. Per the OpenCode Console docs at OpenCode docs: Console, models are hosted in the US and EU and providers follow a zero-retention policy with no training, except for listed exceptions. Requests to OpenAI, Anthropic and xAI models are retained for 30 days, and requests to Google models for up to 55 days, for abuse monitoring. Under the Go docs, many models show 0-day retention, but two Muse Spark Contributor models are marked not ZDR because they train on prompts in exchange for discounted pricing. Data sent through the Big Pickle model during its free period may be used to improve the model.

Before approval, confirm with OpenCode in writing: the exact model list each plan exposes, the retention and training status of each model on that list, and whether the Enterprise privacy setting applies to every provider route. Confirm the hosting region for each model, and whether the 30 and 55 day abuse monitoring windows are acceptable under your retention schedule. Then set the Enterprise privacy setting, check it in the admin view, and restrict staff to approved models through managed policy. Note that the OpenCode SECURITY.md places the chosen LLM provider's data handling outside the project's security reports, so provider terms need their own review.

Retention and training by model source and edition

This table compares OpenCode Console, Go and Enterprise on hosting regions, zero-retention status, abuse monitoring windows, free-period training, non-ZDR models and the admin privacy setting. Read each cell as built in, conditional on the model, or something to confirm with the vendor before approval.

ControlConsole (pay-as-you-go)Go (monthly subscription)Enterprise
Hosting regionsModels hosted in the US and EUConfirm hosting regions for Go models with the vendorConfirm hosting regions and data residency terms in writing
Zero-retention policy by defaultBuilt in for most models, providers follow zero retentionConditional on model, many models are 0-day retentionConfirm whether the organization's requests follow the same zero-retention terms
Training on prompts by defaultNo training, except listed exception modelsNo training for most models, conditional on modelConfirm training terms for each model used by the organization
30-day abuse monitoring (OpenAI, Anthropic, xAI)Conditional on model, requests retained 30 daysConfirm retention for these providers' models in GoConfirm whether abuse monitoring retention applies to organization requests
Up to 55-day abuse monitoring (Google)Conditional on model, requests retained up to 55 daysConfirm retention for Google models in GoConfirm whether this window applies under enterprise terms
Big Pickle free-period exceptionConditional on model, data may improve the model during free periodConfirm whether Big Pickle is available and its termsConfirm whether Big Pickle is permitted for organization use
Two Muse Spark Contributor modelsConfirm availability and terms with the vendorNot ZDR, these models train on prompts in exchange for discounted pricingConfirm whether these models are enabled and blocked by policy
Admin privacy setting (Settings, Privacy)Not available as an admin controlConfirm whether an admin control existsBuilt in, owners and admins choose whether models can train on organization requests

How prompts flow through Console and Go to model providers

OpenCode itself runs on the user's machine, but the prompts and code context the agent sends to a model travel to a provider that OpenCode routes requests to. For paid access through the OpenCode Console, the Console docs say models are hosted in the US and EU and that providers follow a zero-retention policy and do not use data for training, except for the models the docs list as exceptions. For OpenCode Go, the Go docs say retention varies by model, with many models at 0-day retention. Before approval, the reviewer should confirm which region each model is hosted in and whether the team's model list includes any listed exception.

Three decisions shape where data ends up. The first is model selection: the developer or admin chooses which model runs each session, so the data path depends on that choice. The second is the provider policy, meaning the zero-retention terms and listed exceptions published in the Console and Go docs, which should be recorded as the baseline for approval. The third is the organization privacy setting: the OpenCode Enterprise page says owners and admins choose in Settings, Privacy whether models can train on the organization's requests. Reviewers should confirm that this setting is set to block training and that individual users cannot override it through their own accounts.

Retention for abuse monitoring is a separate question from training. The Console docs say requests to OpenAI, Anthropic and xAI models are retained for 30 days and requests to Google models for up to 55 days for abuse monitoring, which is a different purpose from model training. The OpenCode SECURITY.md also places the chosen LLM provider's data handling outside the scope of OpenCode's security reports, so questions about how a provider stores or uses data must go to the provider and to OpenCode's contract terms. Ask for those terms in writing and map each approved model to its retention period.

Which models the organization allows

Retention and training terms in OpenCode vary by model, not by product, so the allowlist is the control that decides what happens to each prompt. The four decisions below connect because each one changes what developers can pick and what evidence the reviewer must collect before approval.

Allow only zero-retention models

The strictest option limits developers to models that the OpenCode Console docs describe as following a zero-retention policy with no training use, apart from the listed exceptions. Developers lose access to some models, but the reviewer gets a simpler story: prompts are not kept for training and are not retained by the provider beyond what the policy states. Evidence to collect is the current model list from the Console docs, dated in your records, plus confirmation of where models are hosted (US or EU) for your data residency rules.

Model hosting regions
US and EU
Console docs

Permit free models with exceptions

Some free models may train on data or retain it, and an organization can allow them only with a written exception tied to a named group, such as sandbox projects with no customer code. This keeps tool choice wider but makes the reviewer's job harder, because each model needs its own retention record. Ask the vendor for the exact retention window per model, and require that developers select these models only in approved repositories.

OpenAI, Anthropic, xAI retention
30 days
Go docs

Decide on Big Pickle during its free period

Big Pickle is free during its trial period, and data collected through it may be used to improve the model. A policy that blocks it removes a free option that some developers will want to try. A policy that allows it should limit it to public or non-sensitive code and record that the free period is temporary, so the decision is reviewed when pricing or terms change. The reviewer should confirm the end date of the free period directly with OpenCode.

Console docs

Block or allow Muse Spark Contributor models

Two Go models, the Muse Spark Contributor models, are marked not zero-retention because they train on prompts in exchange for discounted pricing. Blocking them is the simplest control and keeps training use out of company code, but it also removes a lower-cost option. If the organization allows them, the approval record should name the individual models, state that prompts may train future models, and bar their use on regulated or client data. Verify the model identifiers in the Go docs before writing the block rule.

Go docs

Enforce the privacy setting for the organization

The Enterprise privacy setting in Settings, Privacy lets owners and admins decide whether models can train on the organization's requests. An allowlist only works if that setting matches the policy, so the admin should record the chosen value in the approval file and capture a screenshot or export as evidence. Confirm with OpenCode whether this setting applies to every member and every model, and whether a developer can override it locally.

Enterprise page

How the answer changes by team, edition and data type

Individuals who buy pay-as-you-go credits in the OpenCode Console send requests to models hosted in the US and EU. The Console docs say providers follow a zero-retention policy and do not use data for training, except for the models listed as exceptions. Those exceptions decide what code can safely leave a laptop.

  • Model choice: Check the selected model for each session. The Console docs say requests to OpenAI, Anthropic and xAI models are retained for 30 days, and requests to Google models for up to 55 days, for abuse monitoring.
  • Free models: During the free period, data collected through the Big Pickle model may be used to improve the model. Keep that model away from proprietary code and customer data.
  • Personal accounts: An individual who buys credits controls the billing, keys and history of that account. Unless the organization directs otherwise, company code sent from a personal account sits outside company oversight.
  • Processing fee: The Console docs state a processing fee of 4.6% plus $0.31 on each credit purchase, which is a cost to budget for, not a data term.

Before any repository content is pasted or sent, confirm the exact model name and its retention line in the Console docs.

Sequence for approving OpenCode data handling

This sequence gives the approving team a documented decision on which OpenCode models staff may select, how each one's retention and training terms apply, and which privacy setting governs organization requests. Each step ends with a record the reviewer can file with the approval.

  1. Inventory every model staff can select

    Before any retention review, list each model that staff can pick in OpenCode across the Console, Go and any configured provider. Run the tool in a test environment, open the model selector and export the names into a shared register, noting the access path for each one. The engineering lead or platform owner should do this, and the check is complete when the register matches what the selector shows for a test account on each plan in use.

  2. Map each model to its retention entry

    Take each model in the register and find its entry in the OpenCode Console documentation or the Go documentation, depending on how it is accessed. Record the hosting region, the zero-retention status, any training use and any abuse-monitoring retention period stated for that model. The security reviewer should own this mapping. The step closes when every row has a source entry and any model without one is flagged as blocked until the vendor confirms its terms.

  3. Flag models that may train or retain data

    Separate the rows that carry a training exception, a free-period data use or a longer retention window from the zero-retention rows. Treat the Console-listed exceptions and any Go model marked as not zero-retention as higher risk, and record the reason each one is flagged. The privacy or compliance lead should sign off on this list. The output is a short exceptions table that the approver can read without the full documentation.

  4. Set the training control in Settings, Privacy

    On an Enterprise deployment, an owner or admin chooses in Settings, Privacy whether models may train on the organization's requests. Confirm the setting with the admin who holds the owner or admin role, and decide the value in writing before rollout. The check is a screenshot or change record showing the chosen value and the date it was set, stored with the approval file. Ask the vendor to confirm how this setting applies to Go and Console usage, since the Enterprise page describes it for the organization.

  5. Restrict approved models through policy

    Translate the approved model list into the admin policy controls available on your plan, so that staff cannot choose models outside the register. Confirm with the vendor which policy options exist for your edition, since admin enforcement depends on the plan. The engineering lead applies the policy on a test device and attempts to select an excluded model. The step is done when the excluded model is unavailable and the test result is recorded.

  6. Confirm provider terms in writing

    Ask OpenCode in writing to confirm that the retention periods, hosting regions and training statements in the register match its current terms for each approved model. Include the upstream provider's abuse-monitoring windows where the Console documentation names them. The procurement or legal reviewer should file the reply with the approval. The step closes when the vendor's written confirmation covers every approved model, or when gaps are logged as open risks with an owner.

  7. Re-check the model list at each review

    Models are added, renamed and reclassified over time, so schedule a rollout review that repeats the inventory and compares it with the register. Compare the retention entries against the current documentation and check the Settings, Privacy value again. The security reviewer records any changes, removes models that lost their approval and reopens the approval where a new exception appears. The review is complete when the register carries a new date and a signed change log.

Evidence a privacy reviewer should request

This table lists the evidence a privacy reviewer should collect before approving OpenCode, showing where each item comes from and who supplies it. Use it as a checklist: a row marked with a missing or unconfirmed source is a gap to close before any model is allowed for staff work.

Evidence itemSource and supplierWhat the reviewer checks
Dated Console model retention tableOpenCode Console docs, supplied by OpenCode and saved with the access dateRetention per model, the US and EU hosting statement, and the list of models excepted from zero retention
Dated Go model retention tableOpenCode Go docs, supplied by OpenCode and saved with the access datePer-model retention, plus which models are marked not zero retention because they train on prompts
Enterprise privacy setting recordOwner or admin screenshot or export of Settings, Privacy, supplied by the customerWhether model training on organization requests is switched off, who changed it and when
Approved model allowlistCustomer internal list, owned by the platform or security teamOnly models with acceptable retention are enabled, and free or exception models are excluded for sensitive code
Provider contract or termsAgreement with OpenCode and, where relevant, the underlying model provider, supplied by procurement or legalData use, retention and training language that matches the public docs, and any stated cross-border transfer terms
Abuse monitoring retention confirmationOpenCode Console docs and written confirmation from OpenCode, supplied by the vendorWhether requests to OpenAI, Anthropic, xAI and Google models are held for the stated abuse monitoring periods
SECURITY.md scope statementOpenCode SECURITY.md in the anomalyco/opencode repository, pulled by the security teamThat the chosen LLM provider's handling of data is out of scope for OpenCode's security reports, so provider terms must be reviewed separately
Internal data classification ruleOrganization's own data classification policy, owned by the CISO or data governance teamWhich code and prompt content may leave the network, and which projects must use only approved zero retention models

Questions buyers ask about OpenCode retention and training

Does OpenCode Enterprise guarantee that models will not train on our code?

No single guarantee applies to every model, and the Enterprise page does not promise one. The page says owners and admins choose in Settings, Privacy whether models can train on the organization's requests, so the setting is a decision your organization makes and records. Confirm in writing with OpenCode which models your Enterprise contract covers, how the Privacy setting applies to each, and whether the setting is enforced across all members or can be changed per user.

Which OpenCode models keep zero retention?

The Console docs say models are hosted in the US and EU and that providers follow a zero-retention policy and do not use data for training, except for the models listed as exceptions. The Go docs say retention varies by model, with many models at 0-day retention. Check the per-model table in each docs page before approving a model list, because the exceptions and retention terms are model specific.

  • Confirm the zero-retention status of each model your staff will use.
  • Block models you have not reviewed through managed settings.
  • Recheck the list when OpenCode adds or changes models.
What do the 30 and 55 day retention windows mean?

The Console docs say requests to OpenAI, Anthropic and xAI models are retained for 30 days, and requests to Google models for up to 55 days, for abuse monitoring. Retention for abuse monitoring is separate from training, but it still means prompt data exists on a provider's side for that period. Review whether those windows fit your data classification, and ask whether any contract terms change them for your organization.

What are the free models and Big Pickle doing with our data?

The Console docs say that during its free period, data collected through the Big Pickle model may be used to improve the model. The Go docs name two Muse Spark Contributor models as not zero data retention, because they train on prompts in exchange for discounted pricing. Do not allow free or contributor models for source code or regulated data unless your review has explicitly accepted training use.

Can our team run OpenCode privacy reviews and setup without outside help?

Yes, a team with an identity, endpoint and security review function can do this internally, since the controls are configuration choices and written vendor terms. The work is confirming the model list, the Privacy setting, the vendor terms and the provider behavior, then recording the decision. Outside help is useful when you need the review to map to a compliance assessment or when you need to enforce settings across many machines. DeployOpen plans, implements and documents self-hosted platforms and runs security testing, and prepares evidence for compliance assessments, but it does not issue audit reports or certifications.

What drives the cost of OpenCode for an organization?

Costs fall into two groups. Model usage is billed through the Console on a pay-as-you-go basis, with a processing fee of 4.6% plus $0.31 on each credit purchase, according to the Console docs read in November 2026. Plan costs depend on the Enterprise or Go terms, which OpenCode quotes separately. Usage volume, the models you allow, and how often credits are purchased all change the total. Ask OpenCode for a quote that states the plan, per-seat terms, model usage assumptions and any fees.

How does a consultant quote for reviewing OpenCode retention work?

DeployOpen does not publish a price list. Most engagements are fixed-scope, so the quote follows from a written scope that names the environments, the models and settings to review, the evidence to produce and the deliverables and timelines, all agreed before work starts. Ongoing support and continuous testing are available as retainers. Ask for the scope in writing before you compare any fee.

How DeployOpen helps review OpenCode data handling

DeployOpen helps security and platform teams turn OpenCode's published retention and training terms into a written review they can approve. We map which models and plans apply to your organization, then document the settings, evidence and questions needed before staff use the tool with company code.

How we scope

  • We agree a written scope that lists which OpenCode plans, models and providers your staff may use.
  • We record which models your admins allow, including any free models that may train on or retain prompts.
  • We define the Settings, Privacy choice for training use and who in your organization owns it.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We build a model allowlist and a retention matrix mapping each model to its documented retention and training status.
  • We test whether the admin privacy setting is applied and whether restricted models stay blocked for members.
  • We check how data flows from developer machines to the chosen provider, including the US and EU hosting statements.
  • We confirm which vendor terms and provider policies sit outside OpenCode's own security scope and need separate review.

How we hand over

  • We deliver a written data handling review with each model, its retention period and training status as documented.
  • We provide a decision record for security and procurement reviewers, with open questions for the vendor clearly listed.
  • We document the admin steps, evidence to keep and the re-review triggers, such as new models or changed provider terms.
  • We prepare control evidence for your internal or independent assessors, without issuing any audit report or attestation.

How we support

  • Ongoing support is available as a retainer for re-checking retention terms when OpenCode or its providers change them.
  • Retainers can cover periodic review of the model allowlist, privacy settings and newly published advisories.
  • Our security testing team can test AI and agent setups against your approved configuration on request.
  • Ask any provider on a quote to confirm current retention terms in writing before relying on them for approval.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.