跳到正文
RadarAI· MarkTechPost(RSS)·· 2 小时前AI 评分41

AI 数据留存两种标准 API 设计解析:ZDR 是端点属性而非厂商标签

AI 导读

Fireworks AI CEO Lin Qiao 提出 AI API 数据生命周期的两种标准设计:客户管理模式(上传、使用、删除)与瞬时处理模式(发送、计算、返回)。

正文 · 原文

MarkTechPost· Asif Razzaq·2026-11-18 04:49· 2 小时前AI 评分52

Clearing Up the Confusion on AI Data Retention: Two Standard Designs Explained

AI 导读

文章基于 Fireworks AI CEO Lin Qiao 提出的框架,结合 OpenAI、Amazon Bedrock、Google、Anthropic 和 Fireworks 的公开文档,解析 AI API 的两种标准数据生命周期设计:上传后由客户删除的客户管理模式,以及发数据、算完即返、不落盘的瞬时处理模式。

正文 · 原文

Data retention has become one of the most misunderstood terms in AI infrastructure. After a wave of AI security headlines, many dev teams now ask a simple question. Does my AI provider keep my data? The honest answer depends on how you send it. Send a prompt to an inference API, and it is processed and returned without being kept. That design is called zero data retention (ZDR). Upload a dataset for a batch job, and it stays stored until you delete it. Both are standard designs, and in both the customer is in control. What changes is who manages the data lifecycle, and where.

Fireworks AI cofounder and CEO Lin Qiao set out a clear way to think about this. In a November 13, 2026 post on X, she described two standard API designs. Each one decides where control of the data lifecycle sits. The same split has shaped data processing systems for decades. In this article, we will go through that framework with examples from public API documentation.

TL;DR

  • The framework: Two standard API designs: upload, use, delete, or send, compute, return.
  • What it is: ZDR is a per-endpoint commitment not to persist covered prompts and outputs after an eligible request.
  • Where it applies: Eligibility depends on the endpoint, request flags and account settings, not the vendor name.
  • Stored features: Batch, file and dataset features keep data until it is deleted or expires.
  • Bottom line: Prefer ephemeral endpoints. If you upload, deletion is your job, so never assume an expiry.

What is an AI data retention policy?

An AI data retention policy defines what a platform stores from your requests, and for how long. OpenAI’s data controls describe two layers. Application state is data a feature must keep, such as uploaded files. Abuse-monitoring logs are copies held for safety review. A platform can be at zero on one layer and not the other.

What are the two common API designs?

AI inference and training APIs follow two lifecycle designs. The difference is who manages the data, and where.

Pattern 1: Customer-managed retention (upload, use, delete)

You create a file or dataset, run jobs against it, then delete it. The platform keeps the data stored and available until you ask for deletion. It cannot know when you are finished unless you define it. So deletion is your job, done through the platform’s APIs.

Batch APIs with uploaded datasets are the standard example:

Once you delete the data, it is gone. According to Fireworks CEO, it keeps nothing after a deletion request.

OpenAI non-batch files persist until you delete them. Fireworks AI managed training datasets have no time limit, and the customer deletes them. Amazon Bedrock and Google batch jobs read and write your own cloud storage.

OpenAI batch files last 30 days by default, and Anthropic batch data 29 days. Treat expiry as the exception, and confirm it per feature.

Pattern 2: Ephemeral processing (send, compute, return)

You send data, the platform computes, and the result comes back. No application state stays behind. Your application owns the conversation history, so no platform cleanup step is needed. This is the pattern ZDR applies to. A synchronous response alone does not establish ZDR.

Documented examples:

Think of saving a spreadsheet to a cloud drive versus passing its numbers to a calculator. The drive keeps the file for later. The calculator computes the answer, returns it and keeps nothing.

In both designs, customers fully control how their data is handled. What differs is where the lifecycle is managed. In pattern 1, it is explicit dataset creation and deletion. In pattern 2, it lives entirely in your application.

Does zero data retention cover every endpoint?

The answer is No. ZDR is scoped per endpoint, and defaults differ by platform.

OpenAI keeps abuse-monitoring logs for up to 30 days by default. The Amazon Bedrock none mode writes no request or response data to durable storage.

Fireworks AI documents ZDR by default for open models. Its ephemeral inference APIs, Training SDK and Nexus carry ZDR guarantees. Prompts and generations are not persisted at rest. For the Batch API, Fireworks document states that no data is retained after deletion.

A single parameter can also flip the pattern. On Google’s Interactions API, store defaults to true. At OpenAI, setting store to false is not ZDR, which needs approval.

PlatformSynchronous inference: defaultZero retention optionStored features (pattern 1)
OpenAI APIAbuse-monitoring logs are kept for up to 30 days, or longer where law requires. No application state on /v1/chat/completions, with exceptions. Chat Completions store defaults to false.Modified Abuse Monitoring or ZDR, each by prior approval. Under ZDR, store is always treated as false.Batch input files expire after 30 days by default. Batch output and error files expire 30 days after creation. Other files persist until deleted. /v1/files and /v1/batches are not ZDR eligible. Responses API: at least 30 days when store is true.
Amazon BedrockThe Converse reference says content is only used to generate the response. The effective retention mode is the first non-inherit value across project, account and model default. New accounts and projects start in inherit. Models that require aws_review are retained for up to 30 days.Set the mode to none. No request or response data is written to durable storage.Batch inference reads and writes S3 locations you specify. Under none, requests to models that require retention are blocked. Model invocation logging to your own S3 or CloudWatch is off by default and customer-enabled.
Google Gemini Enterprise Agent PlatformIn-memory and durable caching are on by default for supported Gemini models. Each clears within 24 hours of being written. Abuse-monitoring prompt logging applies to customers on the online Cloud terms. Master Agreement customers are exempt by default, except on designated frontier models.Durable caching can be turned off while in-memory caching stays on. Leave request-response logging and Live API session resumption off. Set Interactions API store to false.Batch inference uses Cloud Storage or BigQuery for input and output. Interactions API store defaults to true. On the separate Gemini API, stored interactions are kept for 55 days on the paid tier and 1 day on the free tier.
Anthropic Claude APIStandard policy: API inputs and outputs are deleted within 30 days. Content flagged for Usage Policy violations can be kept for up to 2 years. Covered Models: 30 days required.ZDR by arrangement with sales, per organization. Not offered for Covered Models unless Anthropic expressly authorizes it.Message Batches: retained 29 days. Files API: kept until deleted or expired. Neither is ZDR eligible.
Fireworks AIZDR by default for open models. Prompts and generations are not logged or stored without opt-in. They stay in volatile memory for the request. Prompt caches are held in memory only. Request metadata, such as token counts, is logged to run the service. Nexus uses ZDR on every account and plan. Turns it routes to your own Anthropic, OpenAI or Bedrock account follow that provider’s policy.Already the default on Chat Completions, the Training SDK and Nexus. Enterprise admins can also enforce an account-wide ZDR policy.Batch API: runs on uploaded datasets. Customers delete datasets through the console or the API. No data is retained after deletion. Managed training: uploaded datasets stay until the customer deletes them.

Documentation checked November 15, 2026. Policies change, so confirm against the linked pages. OpenAI and AWS note that content flagged as CSAM can be retained even under zero retention.

Why is ephemeral processing the safer default?

Every retained copy must be protected, tracked and eventually deleted. Data that never reaches disk cannot be taken from disk later.

Regulation points the same way, with one important thing to note. Under GDPR Article 5, ephemeral processing supports storage limitation. Data minimisation still depends on what your application sends.

“Ephemeral processing is preferable whenever the workflow allows it.” Lin Qiao, cofounder and CEO, Fireworks AI (post on X)

The reasoning is about human error. Ephemeral processing leaves no forgotten datasets and no missed delete calls. It also means fewer retained copies to protect and eventually delete.

Stored features still have a place: dataset-based fine-tuning needs data at rest.

What should developers check now?

  1. Map every endpoint you call to pattern 1 or pattern 2.
  2. Default to ephemeral endpoints when you only need the result.
  3. For each upload, plan the delete call. Record any documented expiry. OpenAI supports expires_after.
  4. Audit flags that persist data, such as store.
  5. Keep secrets out of prompts and datasets. Rotate any that slip in.
  6. Define ZDR per processing path in contracts. Then verify the setting in your account.

Key Takeaways

  • ZDR is an endpoint property, not a vendor label.
  • Stored features keep data until it is deleted or expires.
  • Prefer ephemeral when you only need the result.
  • If you upload, deletion is your job. Never assume an expiry.

Further reading: Lin Qiao Post, OpenAI data controls, Amazon Bedrock data retention, Google zero data retention, Anthropic API data retention and Fireworks AI zero data retention.

Sources:

OpenAI

Amazon Bedrock

Google

Anthropic

Fireworks AI

Other


Thanks to the Fireworks team for the thought leadership / resources for this article. This article is sponsored.

The post Clearing Up the Confusion on AI Data Retention: Two Standard Designs Explained appeared first on MarkTechPost.

来源:MarkTechPost · marktechpost.com

来源:RadarAI · aihot.news