Download

AI Privacy

This page explains the privacy and trust boundaries for AI features in Zed, including Zed Agent, Edit Prediction, Inline Assistant, and Git commit generation.

Zed does not retain your prompts or code context by default. For Zed-hosted models, Zed has no-training commitments from model providers, and provider agreements require zero data retention for inference requests except for provider-designated models with safety retention, such as Anthropic's Mythos-class models. Zed only retains AI data when you explicitly share feedback or opt in to training data collection.

AI Request Paths

PathWho handles model requestsWhat to knowDetails
Zed-hosted modelsZed routes requests to hosted model providersProvider agreements prohibit training on your prompts or code context and require zero data retention for inference requests, except for provider-designated models with safety retention, such as Anthropic's Mythos-class models.Zed-hosted model commitments
Provider API keysThe configured providerThe provider handles requests under its own terms. Provider keys saved through Zed are stored in the system keychain, not in settings.json.Use API Access
Existing subscriptionsThe subscription providerThe provider handles requests under the subscription terms.Use an Existing Subscription
GatewaysThe configured gateway and upstream providersThe gateway and upstream providers handle requests under their own terms.Use a Gateway
Local modelsThe local server or self-hosted endpointThe local server handles requests according to how you configured that server.Use a Local Model
External AgentsThe External Agent and its configured providersThe External Agent handles model requests under its own terms. Tool and MCP behavior depends on agent and ACP configuration.External Agents
Terminal ThreadsThe CLI or TUI running in the terminalThe CLI or TUI owns its auth, model routing, tools, instructions, MCP configuration, and data handling.Terminal Threads
Edit PredictionThe selected edit prediction providerEach keystroke can send local editing context to the selected provider. Zeta requests are processed transiently unless training data collection is enabled; third-party providers follow their own terms.Edit Prediction, Feedback and Training Data
Agent tools, MCP, and integrationsZed, configured MCP servers, and external systemsTools can read, edit, search, run commands, fetch URLs, or call external systems depending on profile, MCP server, and tool permission settings.Agent Profiles, Tool Permissions, MCP
Project trust and instructionsZed and the trusted worktreeProject-local instructions and skills are loaded from trusted worktrees. External Agents and Terminal Threads may read their own instruction files.Worktree Trust, Skills, Instructions

Zed-Hosted Model Commitments

For Zed-hosted models, Zed has commitments from model providers that prohibit training on your prompts or code context and require zero data retention for inference requests, except for provider-designated models with safety retention, such as Anthropic's Mythos-class models. The public provider documents linked below describe provider programs or default API terms; Zed-hosted model requests are governed by Zed's provider agreements.

ProviderNo training referenceZero-data-retention reference
AnthropicYesYes, except covered models
GoogleYesYes, see Service Terms sections 18 and 20(h)
OpenAIYesYes

Provider Safety Retention for Designated Models

Some providers require limited data retention for specific models as a condition of offering them, on every platform where those models are available. Anthropic retains prompts and outputs for models it designates as covered models (its Mythos-class models, such as Claude Fable 5) for 30 days for trust and safety purposes. Zed cannot opt out of this retention; it applies wherever these models are served. See Anthropic's data retention practices for Mythos-class models.

For these models:

  • The no-training commitment still applies. Retained data is used for safety review, not model training.
  • Zed does not retain your prompts or outputs. Retention happens at the provider, under the provider's documented access controls and deletion timelines.
  • All other Zed-hosted models keep zero-data-retention handling.

If you don't want provider-side retention, use a model that the provider has not designated for safety retention. Switching to your own API key or subscription does not avoid this retention for covered models, because providers apply it on every platform where those models are offered.

AI Data Retained by Zed

Zed may retain AI data only when you explicitly share it or opt in:

See Feedback and Training Data for the full list of what can be stored in each opt-in case.