Windsurf data privacy, training and zero data retention

Windsurf is now Devin Desktop. Cognition may train on customer data by default, paid users can opt out, and zero data retention with model providers follows the opt-out, but some stored data stays on Cognition's servers.

On this page

Does Windsurf train on our code and how do we keep data private?

Cognition's security documentation states that, by default, Cognition may use customer data for model training. Paid-plan users can opt out with the Disable training setting, but on the Teams plan only an administrator can make that change, so individual developers cannot turn it off for themselves. Enterprise customers are not trained on without prior written consent. This page covers the tool now called Devin Desktop, formerly Windsurf, and the requirement is met only after you confirm the specific settings for your plan and your users, not after reading the default policy.

Start by confirming which plan each group of users holds, because the opt-out path differs between Teams and Enterprise and legacy Windsurf Enterprise contracts may behave differently from new ones. Check in the admin console that Disable training is set for every paid seat, and ask Cognition in writing how the setting applies to accounts provisioned before the June 2, 2026 change to Devin Desktop. Ask also whether the opt-out covers all code and prompts, or only some product surfaces. Record the answers in your vendor file so the evidence is available to auditors and to your own security review.

Opting out of training also enables zero data retention with Cognition's model providers, according to the same documentation. Zero data retention is not the same as no retention on Cognition's side. Ask Cognition to state in writing which data is still stored on Devin Desktop servers, and for how long. Data processed through Devin is retained for the duration of the customer relationship, and shared conversations and shared Codemaps are stored on Devin Desktop servers, with Codemaps sharing opt-in. Review the Devin Desktop controls reference and disable sharing features that your data classification rules do not allow.

Training, retention and storage controls by plan

This table compares how training use, zero data retention, retention periods and stored sharing data apply across plans and settings for Windsurf (Devin Desktop). Read each row against the plan you are buying, because the opt-out and admin controls differ between paid individual, Teams and Enterprise accounts. The main takeaway is that the default position allows training, so the opt-out and plan terms must be confirmed in writing before rollout.

Setting or planStatusWhat the reviewer must confirm
Default training useCognition may use customer data for model training by defaultConfirm in writing that the default is changed for your account and that the setting applies to every user, not only new ones.
Disable training opt-out (paid plans)Paid-plan users can opt out with the Disable training settingConfirm which individual paid plans expose this setting and whether a user can change it without an administrator.
Admin-only opt-out on TeamsOn the Teams plan only an administrator can opt outConfirm that an admin has applied the opt-out to all Teams seats and that individual users cannot revert it.
Zero data retention with model providers after opt-outEnabled for paid-plan users who opt out of trainingAsk which model providers are covered and whether zero data retention applies to every model a user can select.
Enterprise no-training commitmentCognition will not train on Enterprise customer data without prior written consentAsk for the commitment in your contract and confirm that no consent has been given through a product setting or click-through.
Retention for the duration of the customer relationshipData processed through Devin is retained for the duration of the customer relationshipAsk for the exact deletion process at contract end, the retention period for backups and logs, and how deletion is certified.
Anthropic and OpenAI models requiring data retentionTeams and Enterprise toggles unlock these models, where the provider stores data for up to 30 days and does not train on itConfirm the toggle is off unless your policy accepts up to 30 days of provider storage, and confirm whether this conflicts with any zero data retention setting.
Shared conversations and shared Codemaps on Devin Desktop serversStored on Devin Desktop servers when sharedConfirm how long shared items persist, who can delete them, and whether sharing can be restricted by an administrator.
Codemaps sharingOpt-inConfirm that the sharing option is disabled by default for all users and that enablement is recorded in your admin configuration.

How training opt-out and zero data retention are linked

The training setting decides whether zero data retention applies to your users. By default, Cognition may use customer data for model training. Paid-plan users can opt out with the Disable training setting, and once they do, zero data retention is enabled with Cognition's model providers. The chain runs in one direction: the training choice comes first, and the retention protection follows from it. On the Teams plan, only an administrator can make the opt-out, so individual developers cannot reverse it. Confirm in the Security at Cognition documentation which plan and role applies to each of your users before you assume the protection is in place.

Model access is a separate decision with a different trade-off. The Teams and Enterprise toggles in the Devin Desktop controls reference unlock Anthropic and OpenAI models that require data retention. For those models, the provider stores data for up to 30 days and does not train on it. This is not zero retention. A reviewer should record that enabling these models means prompts and code sent to them are held by the provider for up to 30 days, even though the provider is not using them for training. If your policy requires zero retention for a given data class, those models should stay disabled for that class of work, and the admin should confirm the toggle state in the Devin Desktop controls reference.

Enforcement happens at three levels, and each needs an owner. The user setting governs individual paid accounts. The team setting is controlled by an administrator on Teams, which is the stronger control for a managed rollout. Enterprise customers have a third layer: Cognition states it will not train on Enterprise customer data without prior written consent, so the agreement itself is the binding term. Ask procurement to confirm in writing which of these terms appear in your contract, and ask Cognition to confirm how retention applies to shared conversations and shared Codemaps, which are stored on Devin Desktop servers, with Codemaps sharing opt-in.

Where a prompt and its data travel in Devin Desktop

The flow starts on the developer's machine, where the Devin Desktop client sends prompts and code context to Devin Desktop servers. Before any model call, the path reaches the training decision: by default Cognition may use customer data for training, and a paid-plan user (or, on Teams, an administrator) can turn that off. With opt-out set, zero data retention applies with Cognition's model providers. Shared conversations and opt-in Codemaps are stored on Devin Desktop servers, and a model provider that requires data retention can keep data for up to 30 days. Check each path against your plan and admin settings.

Data paths from the client to model providers, with the training opt-out decision.

Decisions to make before enabling Devin Desktop for code

Four settings decide where Devin Desktop code and prompts may end up: which model providers are used, who may opt out of training, whether conversations are shared, and what the contract says. Each choice changes what leaves your control, so settle them in writing before the rollout reaches developers.

Model families and zero retention

Anthropic and OpenAI models that require data retention are unlocked through Teams and Enterprise toggles. Under those settings the provider stores data for up to 30 days and does not train on it, so zero data retention is not the same as a retention-free path for every model. Decide which model families developers may select, and confirm in the controls reference which ones are gated behind retention.

Controls reference

Who may opt out of training

On paid plans an individual user can opt out of training with Disable training, but on the Teams plan only an administrator can make that change. Opting out also enables zero data retention with Cognition's model providers. Decide whether opt-out is a personal choice or an admin-enforced default, because that choice determines whether a developer can silently keep training enabled.

Security documentation

Shared conversations and Codemaps

Shared conversations and shared Codemaps are stored on Devin Desktop servers, so sharing moves content outside the developer's workstation. Codemaps sharing is opt-in, which makes it a setting you can restrict. Decide whether sharing is allowed for source code, and tell developers what is stored on Cognition's side before they use the share function.

Enterprise written consent terms

Cognition states it will not train on Enterprise customer data without prior written consent. That protection depends on the signed contract, not on a default setting alone. Ask procurement to confirm the consent language, the scope of covered products including Devin Desktop, and whether the terms carry over from legacy Windsurf Enterprise agreements after the rename.

Retention for the customer relationship

Cognition states that data processed through Devin is retained for the duration of the customer relationship. The retention period is therefore tied to the contract, not to a fixed deletion schedule in the documentation. Ask how data is deleted at termination, how deletion is evidenced, and which data classes, such as prompts, code context and shared items, the deletion covers.

Retention basis
Relationship

How long Cognition keeps data and what stays on its servers

Cognition's security documentation states that data processed through Devin is retained for the duration of the customer relationship. That is the only retention term in the material available for this review, and it is not a fixed period. A reviewer cannot read it as a deletion window, so the deletion terms need to be obtained in writing before approval. Ask Cognition for the retention period applied to prompts, code context, tool outputs and logs under your contract, how long each category persists after the relationship ends, and whether backups or model-provider copies follow a different schedule. Also confirm how a deletion request is submitted, who processes it, what confirmation you receive, and within what timeframe Cognition commits to act. Record those answers in the order form or data processing terms, not only in a sales email.

Separate from processed data, some content is stored on Devin Desktop servers by design. According to Cognition's Devin Desktop controls reference, shared conversations and shared Codemaps are stored on Devin Desktop servers, and Codemaps sharing is opt-in. Treat these as persistent records that sit outside the working session. Decide whether staff may share conversations at all, and if so which groups may do it. Confirm with Cognition whether a shared item can be deleted by the sharer, by an administrator, or only on request, and whether deleting the link also deletes the stored copy. Review the Devin Desktop controls reference for the current sharing toggles before setting the policy.

The retention answer also needs to match the training and model-provider settings. Where zero data retention applies through a model provider, that provider's storage terms are separate from Cognition's own retention, so ask Cognition to state both in one document. For an illustrative review, suppose a team routes sensitive repositories through a model that stores data for up to 30 days: the team would need that exposure documented alongside Cognition's relationship-length retention. Finally, ask whether the terms differ between Teams and Enterprise plans and whether legacy Windsurf Enterprise contracts carry the same wording. Read the security documentation alongside the written terms rather than relying on either alone.

Gaps a privacy reviewer will still find

The supplied documentation answers the training question for paid plans, but it leaves several details open: how long data is kept after the relationship ends, what happens to shared content, and where data is encrypted and stored. Each card below names one gap and the way to close it before approval, usually through policy, contract terms, model allowlists or written vendor confirmation.

Training is on by default

Cognition's documentation states that, by default, it may use customer data for model training. Paid-plan users can switch this off with Disable training, but a reviewer should not assume that every account is covered. Before rollout, confirm which plan each group is on, test that the setting is applied in a pilot account, and write a rule that personal or unmanaged accounts may not hold company code. Ask the vendor to confirm in writing how the default applies to each plan.

Security documentation

Admin-only opt-out on Teams

On the Teams plan, only an administrator can opt out of training. An individual developer who expects to control the setting for a project will find that it is locked to the admin role. Assign the admin role to a named owner, record who can change the setting, and review it during access reviews. If the organization needs the opt-out enforced for every user without relying on individual action, confirm with the vendor whether that is available on the plan under review.

Retention for the whole relationship

The supplied documentation says data processed through Devin is kept for the duration of the customer relationship. It does not give a fixed retention period or a deletion timeline after termination. Reviewers should ask for the written retention schedule, the deletion process at contract end, and whether backups and logs follow the same rule. Put the answers into the contract so the exit plan can be tested.

Provider retention for some models

Anthropic and OpenAI models that require data retention can be unlocked through Teams and Enterprise toggles. The provider stores data for up to 30 days and does not train on it. This is a separate retention period from Cognition's own, and it applies only when those models are enabled. Use model allowlists to block them for sensitive repositories, or accept them in writing after the reviewer has signed off on the 30-day period.

Controls reference

Shared content on vendor servers

Shared conversations and shared Codemaps are stored on Devin Desktop servers, and Codemaps sharing is opt-in. Any content a developer shares leaves the local workspace and sits in vendor storage that the security team does not control directly. Restrict sharing through admin settings where the plan allows it, train developers not to share code from restricted repositories, and ask the vendor how shared items are deleted and who can access them.

Controls reference

Encryption and region not stated

The supplied documentation does not describe customer-managed encryption keys, the regions where data is stored, or the data residency options for each plan. A GDPR or sector reviewer will need these answers for a transfer assessment and for records of processing. Ask for the data processing terms, the sub-processor list, the storage regions, and whether customers can choose a region or bring their own keys. Treat a missing answer as an open item, not as a confirmed control.

How the answer changes by team and regulated data

Individual paid accounts control their own training setting. By default, Cognition may use customer data for model training. A paid-plan user can switch this off with the Disable training setting, and Cognition's security documentation states that opting out also enables zero data retention with Cognition's model providers. The choice therefore affects both training and provider storage, and the individual is responsible for making it.

  • Default state: Check whether your account currently has training enabled before you use it with company code.
  • Disable training: Turn it on in your account settings and verify the change on every device and account you use.
  • Provider retention: Expect zero data retention with model providers to follow the opt-out, and confirm it in the settings you can see.
  • Shared content: Shared conversations and opt-in Codemaps are stored on Devin Desktop servers, so keep sensitive code out of anything you share.
  • Free accounts: The opt-out is described for paid plans, so confirm in writing how a free account is treated.

Confirm that your account is on a paid plan and that Disable training is on before you use Devin Desktop with company code.

Order of work to confirm privacy settings before rollout

This sequence turns the training and retention questions into written, verified settings, so the review file shows what the contract promises and what the pilot group actually runs. Each step produces a record that a security or procurement reviewer can check.

  1. Confirm plan and contract terms in writing

    Procurement and legal confirm which plan each user group is on, including whether any group still holds a legacy Windsurf Enterprise contract, since existing plans continue to work after the move to Devin Desktop. Ask Cognition to state in writing how training and data retention apply to that plan, and whether the Enterprise commitment not to train without prior written consent is part of your agreement. Done when the plan name, the contract clause and the vendor's written answer are filed together.

  2. Set the training opt-out at the level the plan allows

    The administrator checks which settings the plan lets a user change. Paid-plan users can use the Disable training option, but on the Teams plan only an administrator can opt out, so the admin sets it centrally rather than trusting each user. Record the setting name, the scope it applies to and the account or team it covers. Done when an admin screenshot or export shows the opt-out active for every group in scope.

  3. Choose model families and check their retention

    Security and engineering list the models that Teams and Enterprise admins can enable, then decide which ones to allow. Anthropic and OpenAI models that require data retention are unlocked by specific toggles, and the provider stores data for up to 30 days without training on it. Confirm that zero data retention applies to the models you keep enabled, and block any model whose retention terms you have not reviewed. Done when the approved model list and each model's retention basis are written down.

  4. Decide sharing rules for conversations and Codemaps

    Shared conversations and shared Codemaps are stored on Devin Desktop servers, and Codemaps sharing is opt-in. The data owner decides whether sharing is allowed at all, and if it is, which groups may use it and what content is off limits, such as secrets or regulated records. Write the rule and tell users where it applies. Done when the sharing policy is approved and the admin setting that enforces it is recorded.

  5. Verify the chosen settings on a pilot group

    A small pilot group, selected from each plan type in use, runs the tool with the approved settings. The reviewer checks that training is disabled for their accounts, that only approved models appear, and that sharing behaves as the written rule says. Run the same checks on a shared conversation and a Codemap, and note any setting a user can change that the admin expected to lock. Done when the pilot results list each check with a pass or a documented gap.

  6. Record the evidence for the review file

    The security lead assembles the final file: the contract terms, the vendor's written answers, admin setting exports, the approved model list with retention basis, the sharing policy, and the pilot results. Cite the Cognition security documentation version you reviewed and the date you checked it, because vendor pages change. Sign-off by the approver and an owner for periodic rechecks closes the step. Done when the file can answer how training, retention and sharing are controlled without relying on memory.

Evidence a security reviewer asks for on data handling

This table lists the evidence a reviewer should request for Windsurf (Devin Desktop) data handling, where each item comes from and who owns it. Read each row as a question to answer in writing before approval, and treat any row without a documented answer as an open item. The main takeaway is that training use and retention depend on plan and settings, so the admin and the plan record matter as much as the vendor's general statements.

EvidenceWhere it comes fromOwner
Training opt-out setting and who controls itCognition security documentation: Disable training toggle; on Teams only an administrator can opt outWorkspace administrator
Zero data retention state with model providersCognition security documentation: enabled after a paid-plan user opts out of training; confirm the state in the admin consoleWorkspace administrator and security lead
Model provider list and retention termsDevin Desktop controls reference: Anthropic and OpenAI models requiring data retention store data for up to 30 days and do not train on itPlatform owner and procurement
Written consent for training on Enterprise dataCognition security documentation: no training on Enterprise customer data without prior written consent; request the signed contract termsProcurement and legal
Retention statement for processed dataCognition security documentation: data processed through Devin is retained for the duration of the customer relationship; confirm deletion terms at exitLegal and compliance
Shared conversations and Codemaps settingsDevin Desktop controls reference: shared conversations and shared Codemaps are stored on Devin Desktop servers; Codemaps sharing is opt-inWorkspace administrator and developers
SOC 2 Type II report statusCognition security documentation: SOC 2 Type II certified since September 2024; request the current report via the trust centerSecurity and compliance lead

Questions buyers ask about Windsurf data privacy

Does Cognition train on our code when we use Windsurf?

By default, yes. Cognition's security documentation states that Cognition may use customer data for model training unless the user opts out. Paid-plan users can turn this off with the Disable training setting. Before rollout, confirm which plan each group is on, because the default applies to every user who has not changed the setting. Ask Cognition to confirm in writing how training defaults apply to your plan and to any legacy Windsurf contract that continues after the move to Devin Desktop. The Cognition security documentation is the natural starting point for that conversation.

Can a Teams user opt out of training without an administrator?

No. On the Teams plan, only an administrator can opt out of training, so individual developers cannot change the setting for themselves. Your review should confirm who holds the administrator role, how many people hold it, and whether the setting has been verified across all Teams workspaces before any code is shared. Also check whether any user accounts sit outside the managed workspace, since those accounts would not inherit the administrator's choice. Confirm the exact current behavior with Cognition, because product settings change over time.

What does zero data retention cover in Windsurf?

After a paid-plan user opts out of training, Cognition's security documentation states that zero data retention is enabled with its model providers. The documentation supplied does not describe every model or every data path, so ask Cognition to list which models run under this arrangement. Separately, the Devin Desktop controls reference describes Teams and Enterprise toggles that unlock Anthropic and OpenAI models requiring data retention. For those models, the provider stores data for up to 30 days and does not train on it. Treat these as different settings: opting out of training is not the same as choosing a model that requires retention.

How long does Cognition keep the data we send through Devin?

Cognition's security documentation states that data processed through Devin is retained for the duration of the customer relationship. The documentation supplied does not give a fixed deletion window for each data type, so ask for one. Your privacy review should cover the period after contract termination, how deletion requests are handled, and whether backups or logs follow a different schedule. Model providers that require retention store data for up to 30 days, according to the Devin Desktop controls reference, which is a separate period from Cognition's own retention.

What does Devin Desktop store on its own servers?

The Devin Desktop controls reference states that shared conversations and shared Codemaps are stored on Devin Desktop servers. Codemaps sharing is opt-in, so it stays off unless a user or administrator enables it. Review whether sharing is permitted in your organization at all, and who can create shared conversations. Ask Cognition for the retention period on shared items and how a shared item is removed. Those answers belong in the data inventory you submit to your privacy or security reviewer.

What changes on an Enterprise plan for data privacy?

Cognition's security documentation states that it will not train on Enterprise customer data without prior written consent. That commitment is stronger than the default training setting that applies to other plans, but it is a contractual term, so it should appear in the signed agreement. Confirm the terms with procurement, including the scope of consent, how it is recorded, and what happens to data already processed. Also confirm whether any Enterprise-only controls, such as sharing restrictions or model choices, are needed to match your policy. Legacy Windsurf Enterprise logins remain at windsurf.com/enterprise, so check which agreement governs an existing account.

Which privacy settings can our own team configure without a vendor?

Your administrators can set training opt-out on paid plans and choose whether models that require retention are enabled. They can also decide whether shared conversations and Codemaps sharing are allowed for users. Each of these is a configuration step that your team can verify, and it should be documented with a date and an owner. The Devin Desktop controls reference lists the toggles and the plan that each one needs. Some decisions, such as contract terms for training consent or deletion timelines, require Cognition's written agreement and cannot be made through settings alone.

What drives the effort and cost of a Windsurf privacy review?

The main drivers are the number of plans in use, whether legacy Windsurf Enterprise contracts remain active, and how many models your teams need, since retention-dependent models add a separate review. Effort also grows with the amount of sensitive code, the number of shared conversations, and the number of approvers your policy requires. Your internal costs include staff time for the data inventory, the vendor questionnaire and the written confirmations from Cognition. Ask Cognition for the current retention terms, the training consent language, the list of zero-retention models and the data flow diagram, so the review does not stall on missing answers. DeployOpen can prepare the evidence and configuration records for a review under a written, fixed scope, but it does not issue audit reports or attestations.

Primary sources to check each privacy claim

Before approving Windsurf (Devin Desktop) for code that carries customer or regulated data, the reviewer should verify the training and retention statements against Cognition's own documentation rather than relying on a summary. Start with the Security at Cognition documentation, which is the source for the default training position, the Disable training opt-out, the Teams rule that only an administrator can opt out, the Enterprise commitment not to train without prior written consent, and the statement that data is retained for the duration of the customer relationship. Note the plan and role each statement applies to, and save the page version or date you reviewed so the approval record matches what was in force.

Next, check the settings the admin will actually flip. The Devin Desktop controls reference describes the Teams and Enterprise toggles that unlock Anthropic and OpenAI models that require data retention, where the provider stores data for up to 30 days without training on it, and it states that shared conversations and shared Codemaps are stored on Devin Desktop servers, with Codemaps sharing opt-in. Confirm in a test tenant which toggle sets each behavior, who can change it, and whether a user can override it locally. Ask Cognition in writing to confirm that zero data retention with model providers applies to every model your users can select.

Finally, put the answers in the approval file as a short register: each claim, its source page, the plan it applies to, the admin setting that enforces it, and the owner who re-checks it when the documentation changes. Because the product moved from Windsurf to Devin Desktop on June 2, 2026, older blog posts and screenshots may describe settings that have moved or been renamed, so treat only the current documentation as authoritative. Ask your account team for any contractual data processing terms that go beyond the public pages, since those terms, not the docs, govern your data.

How DeployOpen helps you verify Windsurf data handling

DeployOpen helps engineering, IT and security teams check how Windsurf (now Devin Desktop) handles code, prompts and conversations, from training defaults to zero data retention with model providers. We turn the vendor's documented settings into a written scope, a tested configuration and evidence that a reviewer can follow.

How we scope

  • Agree in writing which plans, seats and Devin Desktop settings fall within the review before any work starts.
  • Map which data flows to Cognition servers, which goes to model providers and which stays on the device.
  • Confirm with Cognition, in writing, the plan-specific controls your organization depends on, such as who may opt out of training.
  • Engagements are fixed-scope, with deliverables and timelines set out in the agreed document.

How we build

  • Test the Disable training setting and zero data retention status for each plan and user group in scope.
  • Check whether Teams and Enterprise model toggles that require data retention are enabled, restricted or left off as your policy requires.
  • Review shared conversations and opt-in Codemaps sharing, and document where those items are stored.
  • Record each setting, its owner and the evidence captured, so results can be repeated after a configuration change.

How we hand over

  • Deliver a data flow document covering training, retention, model provider storage and Cognition server storage.
  • Provide a configuration record and test evidence that your security, privacy and compliance reviewers can check.
  • Identify open questions for Cognition, your legal team or your privacy office, with each item assigned to an owner.
  • Provide a short walkthrough so your administrators can repeat the checks themselves.

How we support

  • Support is available as a retainer for re-checks after Devin Desktop updates, plan changes or new model toggles.
  • Retainers can include periodic review of vendor documentation changes against your recorded configuration.
  • Confirm the retainer scope, cadence and response terms in writing with DeployOpen before the work begins.
  • DeployOpen prepares evidence for compliance assessments but does not issue audit reports or certifications.

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.