· AI dev tools

AI Gateway now runs canary ZDR audits against inference providers

A request directed at a canary URL, which should never receive any traffic from a provider adhering to Zero Data Retention (ZDR), immediately triggers an investigation into the specific model and…


A request directed at a canary URL, which should never receive any traffic from a provider adhering to Zero Data Retention (ZDR), immediately triggers an investigation into the specific model and provider involved. This capability is part of the new canary auditing feature within AI Gateway, designed to detect instances where prompt content might be accessed outside the intended inference process.

While contractual Zero Data Retention (ZDR) agreements and point-in-time security assessments define how a provider is supposed to manage your data, the reality of production infrastructure is one of constant evolution. Canary audits introduce an essential detection layer on top of these existing safeguards. During each canary audit execution, the system creates distinct URLs that are not present anywhere else, assigning each one privately to a particular provider, model, and the current audit run. Prompts containing these unique URLs are then passed through the standard inference workflow; for providers covered by ZDR, this request is made with ZDR requested, while non-ZDR pairings serve as positive controls. The system then monitors the traffic, knowing that a ZDR provider must never retain, examine, or crawl prompt material, meaning a canary URL should never receive any incoming request. Should any request arrive at a canary URL, the event is logged, pinpointing the provider, model, and run for subsequent scrutiny. These canary checks function to supplement, not supplant, existing contractual ZDR agreements and independent audits.

The introduction of Audited ZDR on AI Gateway addresses the growing reality that businesses are integrating AI into every facet of their operations, leading to the transmission of sensitive materials such as customer records, source code, and regulated data through inference providers. The assurance that this data vanishes post-processing remains, for many, an unverified public claim. Similar to how payment platforms and cloud infrastructure possess mechanisms to demonstrate their controls to external parties, inference services will now follow this same trajectory.

An inference provider only earns the Audited ZDR designation after an independent security firm rigorously tests its zero data retention assurances against its live traffic, its infrastructure, and its underlying code, subsequently publishing the resulting report. Baseten, Modal, and Wafer are among the initial partners who have already commenced these audits, and the platform encourages additional providers to participate to elevate industry standards for privacy and security.

This Audited ZDR feature builds upon two governance enhancements implemented earlier this year. First, the platform rolled out team-wide Zero Data Retention (ZDR), allowing teams to direct traffic exclusively toward providers that explicitly state a ZDR policy. Second, Vercel achieved its ISO/IEC 42001:2023 certification, placing Vercel's own AI systems under the scrutiny of an independent third party. We are now extending this requirement to inference providers, demanding the same level of independent verification we subjected ourselves to.

The reliance on contracts alone for ZDR assurances is insufficient because these guarantees rest on self-attestation; a provider simply agrees not to keep prompts or completions, and customers must accept this pledge at face value. For teams handling proprietary code, regulated data, or customer information via models, self-reported ZDR contracts do not offer adequate certainty. One must ask: are prompts inadvertently entering debug logs, crash dump files, or tracing pipelines? Could a rate limit inadvertently shunt a ZDR-marked request to a non-ZDR endpoint? Might a support engineer’s diagnostic tools expose a customer’s prompt? Answering these questions necessitates performing a custom security review for every single provider and the models they host. An official audit provides these answers publicly.

To qualify for Audited ZDR on AI Gateway, an inference provider must engage a security firm from a roster of respected third-party auditors to conduct the review. This firm then examines the provider's zero data retention policy across the entire serving path for every model, endpoint, feature, and tool that interacts with AI Gateway traffic. The audit verifies conclusively that customer data—which encompasses prompts, system prompts, completions, embeddings, images, audio, tool and function-call payloads, and any derived data that could identify the user—is never written to or kept on durable storage within any system. The scope of this verification covers request logs, metrics, traces, analytics, backups, abuse monitoring, prompt caches, support tools, and datasets used for training, fine-tuning, and evaluation. Furthermore, the audit confirms that once a response is delivered back to AI Gateway, that content is erased from the inference provider's systems. If caching mechanisms, such as a KV cache, are employed, the audit requires disclosure that this cache remains in volatile storage only for the duration of the request and is never committed to durable storage. The audit also confirms several other critical points: that a request designated as ZDR never defaults to a non-ZDR endpoint, tool, or feature; that neither human nor automated processes access customer data outside of the immediate handling of the request itself; that any sub-processors accessing the data comply with all these stipulations; and that no training is performed on customer data. Auditors validate these claims by reviewing the provider's serving-path source code and infrastructure setup, followed by live testing where marked prompts are sent through AI Gateway, and the provider's logging, caching, and storage systems are searched for any trace of these prompts. Every provider that passes this rigorous process publishes its report under the auditor's name, detailing the scope, methodology, dates, findings, and the status of fixes, while disclosing any exceptions and limiting redactions only to exploit specifics. AI Gateway provides a direct link to these published reports.

While an independent audit assesses a provider's code and infrastructure at a specific moment, production environments are inherently mutable. To bridge the gap between these formal audits, Vercel also executes canary audits against inference providers within AI Gateway. Each run involves sending prompts that contain unique, unindexed URLs, which are privately mapped to a specific provider, model, and the run itself. Because a ZDR provider should never retain, inspect, or crawl prompt material, any request hitting a canary URL necessitates an investigation into the implicated provider and model. It must be noted that canary checks cannot uncover prompts that are written to disk but never subsequently read, thus they are designed to complement, rather than substitute, independent code and infrastructure audits.

The mechanism for Audited ZDR within AI Gateway involves the introduction of an independently Audited ZDR provider tier and a corresponding team-wide toggle within the AI Gateway policy settings. When this setting is activated, AI Gateway will only route and failover your team's requests across providers that possess published audits meeting the required standard. Launch partners have begun their audits, and providers gain entry to this tier once their report is officially released. The expected publication date for the launch partner reports is December 9, 2026.

AI Gateway serves as a centralized API for invoking models, tracking associated costs and usage, and configuring failover and retry logic to ensure uptime exceeding what is achievable by connecting directly to individual providers. It reflects provider pricing without any markup and imposes no platform fee on inference, even for Bring Your Own Key (BYOK) requests. Developers can consult the AI Gateway documentation to begin integrating. This audited tier operates in conjunction with AI Gateway's other compliance features. Regional inference pins allow users to specify whether a provider will perform inference in the US, EU, Australia, or Japan, either on a per-request basis or across the entire team; any data the provider stores at rest must remain within that designated region, and if AI Gateway cannot honor the region, the request fails instead of processing elsewhere. Furthermore, provider headquarters filters dictate routing based on the ownership of the provider, ensuring that a request only reaches providers whose parent company is based in a country you have permitted. For private inference, users can connect their own self-hosted or fine-tuned model endpoints to AI Gateway, referencing them as private/, utilizing the same SDKs, authentication methods, and observability tools as catalog models, and scoping them to their specific team.

Why it matters

For developers handling sensitive data, contractual ZDR agreements alone are insufficient assurance against infrastructure changes. This new auditing layer provides public verification that data is not retained outside the inference path, raising the security bar for AI integrations.

Earlier coverage

Related coverage

Also worth reading

  1. next.js 16.5.0-canary.62 released with switchyard updates, Turbopack fixes
  2. Character.AI, OpenAI, xAI, Google, Air Canada cite First Amendment in AI liability suits
  3. Xalgorix, open-source AI penetration testing tool, checks findings to reduce false positives
  4. COBIT 7, ISACA framework, adds AI risk scenarios for IT governance
  5. Gemini Preview semantic governance blocks AI agent tool calls before execution