# Zero Data Retention on AI Gateway

DevFeed: [Zero Data Retention on AI Gateway](<https://devfeed.tech/articles/zero-data-retention-on-ai-gateway-790.md>)

Original publisher: [Read original article](<https://vercel.com/blog/zdr-on-ai-gateway>)

Author: Dan Fein

Published: 2026-04-08T07:00:00Z

Content type: article

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [API](<https://devfeed.tech/topics/api.md>), [data](<https://devfeed.tech/topics/data.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [anthropic](<https://devfeed.tech/topics/anthropic.md>), [Google](<https://devfeed.tech/topics/google.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>)

Tags: [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [api](<https://devfeed.tech/tags/api.md>), [data](<https://devfeed.tech/tags/data.md>), [developers](<https://devfeed.tech/tags/developers.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [llm](<https://devfeed.tech/tags/llm.md>), [policy](<https://devfeed.tech/tags/policy.md>), [retention](<https://devfeed.tech/tags/retention.md>), [routing](<https://devfeed.tech/tags/routing.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

This article announces team-wide Zero Data Retention (ZDR) controls for Vercel AI Gateway. Pro and Enterprise teams can enforce ZDR across all requests from the dashboard, while request-level ZDR supports sensitive workflows. AI Gateway routes requests only to providers with negotiated ZDR agreements and also provides controls to disallow prompt training.

## Source excerpt

Building with multiple AI models means wrestling with fragmented data policies. With many different model providers, it's not just fragmented, it's just too much time spent on the wrong things. You have to read through different terms of service, track which providers comply with your security requirements, and hope developers remember to configure opt-outs correctly on every request. What should be a straightforward policy becomes a manual, error-prone process because many providers do not offer Zero Data Retention (ZDR) by default. AI Gateway changes this by handling the negotiation and enforcement for you. Instead of managing policies provider by provider, you get the freedom to just build. AI Gateway ensures your data requirements are met automatically by only routing to providers where we have negotiated Zero Data Retention agreements. Models from OpenAI, Anthropic, Google, and more have ZDR providers available. Today, we are expanding AI Gateway's compliance capabilities with team-wide Zero Data Retention (ZDR), letting you enforce strict data policies across your entire team without touching any code. Gateway compliance features now include team-wide ZDR from the dashboard, per-request ZDR for specific sensitive workflows, and explicit controls to disallow prompt training. Toggle on in the AI Gateway Dashboard Settings, and all subsequent requests via AI Gateway will only route through ZDR-compliant providers. Team-wide Zero Data Retention Team-wide ZDR is available for Pro and Enterprise teams. It applies to every request your team makes, requiring no code changes. This is ideal for teams that want controls with complete assurance that no one can modify or misapply restrictions. Request-level controls Per-request ZDR lets you enforce data deletion on specific requests when only certain workflows handle sensitive data. This is useful when your app has proprietary information in certain queries but other requests are not as protected. You can enable request-le