惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Securelist
C
CERT Recently Published Vulnerability Notes
Forbes - Security
Forbes - Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
L
LINUX DO - 最新话题
The Hacker News
The Hacker News
Google Online Security Blog
Google Online Security Blog
SecWiki News
SecWiki News
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
The Last Watchdog
The Last Watchdog
S
Schneier on Security
T
Troy Hunt's Blog
N
News | PayPal Newsroom
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Schneier on Security
Schneier on Security
P
Privacy & Cybersecurity Law Blog
T
Tor Project blog
T
Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
A
Arctic Wolf
S
Secure Thoughts
P
Proofpoint News Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Security Latest
Security Latest
Scott Helme
Scott Helme
Security Archives - TechRepublic
Security Archives - TechRepublic
Latest news
Latest news
PCI Perspectives
PCI Perspectives
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
G
GRAHAM CLULEY
V2EX - 技术
V2EX - 技术
Google DeepMind News
Google DeepMind News
Project Zero
Project Zero
V
Vulnerabilities – Threatpost
T
Threat Research - Cisco Blogs
Webroot Blog
Webroot Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
大猫的无限游戏
大猫的无限游戏
T
Tenable Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
Visual Studio Blog
H
Hacker News: Front Page
Simon Willison's Weblog
Simon Willison's Weblog
AWS News Blog
AWS News Blog

OpenRouter Blog

Choosing the Optimal Image Input Detail Level in LLMs — OpenRouter Blog DeepSeek V4 Is Earning Agentic Token Share — OpenRouter Blog The Open Weight Models that Matter: June 2026 — OpenRouter Blog The OpenRouter MCP Server — OpenRouter Blog Introducing the Unified Image API — OpenRouter Blog The AI Governance Checklist That Maps to Your Stack — OpenRouter Blog Enforce AI Data Residency at the Routing Layer — OpenRouter Blog OpenRouter vs Portkey: Routing Network vs Control Plane — OpenRouter Blog OpenRouter vs LiteLLM: Managed vs Self-Hosted Gateway — OpenRouter Blog Connect OpenClaw to OpenRouter: One Key, Failover, Free Models — OpenRouter Blog Connect SillyTavern to OpenRouter: Setup, Models, Fixes — OpenRouter Blog A Robot is Sprinting Towards You: Do You Want it Running on Claude or Grok? Kilo Code + OpenRouter: Setup, Routing, and Free Models — OpenRouter Blog Codex CLI with OpenRouter: config.toml Setup and Models — OpenRouter Blog Claude Code with OpenRouter: Setup, Models, and Costs — OpenRouter Blog How to Use OpenRouter With Any Coding Agent or AI Tool — OpenRouter Blog Subagent: Let Your Model Delegate the Busywork — OpenRouter Blog Free LLM API in 2026: 13 Options Ranked and Compared — OpenRouter Blog How to Enforce Agentic AI Governance at the API Layer — OpenRouter Blog Keep Your Agent Running When Models Disappear — OpenRouter Blog Hermes Agent + OpenRouter: Setup, Model Choice & Routing Config — OpenRouter Blog Lowest-Cost LLM Inference: The Complete OpenRouter Guide — OpenRouter Blog How OpenRouter Model Routing Works: Providers, Fallbacks & Auto Router — OpenRouter Blog OpenRouter Failover: Provider Failover vs Model Fallbacks Explained — OpenRouter Blog Surpassing Frontier Performance with Fusion — OpenRouter Blog Dinner is Served — OpenRouter Blog LLM Gateway: What It Is and How to Choose One — OpenRouter Blog Advisor: Give Any Model a Lifeline to a Smarter One — OpenRouter Blog Gemini 2.5 Flash API - Pricing, Quickstart & Provider Comparison — OpenRouter Blog EU AI Act & Colorado ADMT Compliance: Human Oversight for AI Agents — OpenRouter Blog May Release Spotlight — OpenRouter Blog Guardrails: Protect your Agents, Data, and Costs — OpenRouter Blog OpenRouter Raises $113M Series B — OpenRouter Blog Human-in-the-Loop Tools for the Agent SDK — OpenRouter Blog Consistent Web Search and Fetch Across Every Model — OpenRouter Blog GPT-5.5 Price Increase: What It Actually Costs — OpenRouter Blog New Audio APIs for Speech and Transcription — OpenRouter Blog Response Caching: Zero Cost for Identical Requests — OpenRouter Blog April Release Spotlight — OpenRouter Blog Create OpenRouter Accounts via CLI with Stripe Projects — OpenRouter Blog Opus 4.7 Agent SDK: Building Multi-turn Agent Workflows on OpenRouter — OpenRouter Blog Build Your Own Harness with the Agent SDK — OpenRouter Blog Introducing Workspaces — OpenRouter Blog Announcing Video Generation — OpenRouter Blog Auto Exacto: Adaptive Quality Routing, On by Default — OpenRouter Blog February Release Spotlight — OpenRouter Blog OpenRouter Outages on February 17 and 19, 2026 — OpenRouter Blog January Release Spotlight — OpenRouter Blog Distillable Models and Synthetic Data Pipelines with NeMo Data Designer — OpenRouter Blog December Release Spotlight — OpenRouter Blog Response Healing: Reduce JSON Defects by 80%+ — OpenRouter Blog The 2025 State of AI Report — OpenRouter Blog Provider Variance: Introducing Exacto — OpenRouter Blog 1 million free BYOK requests per month — OpenRouter Blog The First-Ever Image Model Is Up on OpenRouter — OpenRouter Blog GPT-5 is now live — OpenRouter Blog Audio Inputs and PDF URLs for Apps — OpenRouter Blog Presets: How To Seamlessly Transfer Model Configurations Across Apps — OpenRouter Blog New Privacy-Focused Provider Drop: Venice — OpenRouter Blog Use OpenRouter Models in Cursor: Try it with Moonshot AI Updates to Our Free Tier: Sustaining Accessible AI for Everyone — OpenRouter Blog New Stealth Model: "Cypher Alpha" — OpenRouter Blog Introducing Presets: Manage LLM Configs from Your Dashboard! — OpenRouter Blog Dev & BYOK Updates: Uptime API + Smarter Key Management — OpenRouter Blog Simplifying Our Platform Fee — OpenRouter Blog GIF Prompts, Omni Search, Tool Caching, and BYOK Flags — OpenRouter Blog New Features: Reasoning Streams, Crypto Invoices, End-User IDs & More — OpenRouter Blog Passkeys, DevEx Upgrades, and a New Guide for TypeScript Agents — OpenRouter Blog New Provider Drop: Cerebras Is Here — OpenRouter Blog Better Insights, Faster Metrics, and New Developer Power Tools — OpenRouter Blog Privacy Clarity, New Providers, OAuth Upgrade, and Gemini Gets Parallel Tools — OpenRouter Blog Universal PDF Support — OpenRouter Blog Smarter Charts, Inline SVGs, and Live Usage Accounting — OpenRouter Blog Quasar Alpha and Optimus Alpha Reveal — OpenRouter Blog "Stealth" model: Optimus Alpha — OpenRouter Blog “Stealth” model: Quasar Alpha — OpenRouter Blog Never Pay for Empty AI Responses Again — OpenRouter Blog Deep Research & Many New Models — OpenRouter Blog Introducing Nitro and Floor Price Shortcuts — OpenRouter Blog Introducing Cloudflare as a new provider — OpenRouter Blog Reasoning Tokens for Thinking Models — OpenRouter Blog Introducing Web Search via the API — OpenRouter Blog Standardized finish reasons — OpenRouter Blog Happy New Year! Introducing a new Auto Router — OpenRouter Blog Holiday launches: Web Search & Price Cuts — OpenRouter Blog Bring Your Own API Keys — OpenRouter Blog Crypto Payments API — OpenRouter Blog Structured Outputs & Free Gemini Flash 2.0 — OpenRouter Blog Price Drops and Llama 3.3 70b — OpenRouter Blog Author Pages & Amazon Nova — OpenRouter Blog
Is Implicit Caching Prompt Retention? — OpenRouter Blog
Chris Clark · 2025-10-23 · via OpenRouter Blog

OpenRouter monitors every endpoint, from every provider, to understand their current data retention policy. We publish this in our API, in our docs, and support ZDR routing rules in our API. But data retention is not black and white; specifically Google has taken the stance that models with implicit prompt caching are in fact “retention”. Most providers would disagree – so we set out to form an independent opinion.

What is implicit caching?

Caching in general matters primarily because it can save an enormous amount of money. Every token an LLM generates depends on everything that came before it; recomputing those dependencies from scratch is wasteful. By caching (in a storage mechanism) the key and value tensors that represent the model’s intermediate activations (known as the “KV cache”) providers can skip prompt prefill and continue the conversation using much less compute. Implicit caching simply means that this cache is maintained automatically, behind the scenes, without explicit user control.

Explicit caching accomplishes the same thing, but the user sets control headers around the sections of the prompt that they want the provider to cache. It’s explicit that the data is being stored for reuse. For that reason, explicit caching is never considered data retention. The question is whether implicit caching, which happens automatically within the inference system, should be treated as retention under Zero Data Retention (ZDR) standards.

Three Tiers of Storage

There are (roughly) three hierarchical tiers of storage & memory used for serving large models:

  1. On-device memory (HBM / GPU VRAM): This is where the active inference happens. Keys and values live here while tokens are being generated in real time. No controversy here; obviously the KV weights need to be loaded into the GPU for output generation.\
  2. Host memory (CPU DRAM): When GPU memory fills up or context switches occur, the KV cache may spill over to host DRAM. In fact, many inference configurations are rapidly paging KV cache in and out of on-device memory between tokens so that each inference consumer gets a consistent stream of tokens back, without being blocked by a long generation. Again, this is volatile memory and no one would consider it “retention” of the prompt data.
  3. NVMe / SSD paging: The majority of commercial inference setups extend caching one step further, paging KV tensors to fast SSD storage via NVMe. This allows models to handle more concurrent sessions than the sum of their GPU and DRAM capacity would normally allow. This is, largely, where true “prompt caching” happens, and where the controversy resides.

What’s in the box???

It should be the case that only the KV tensors (floating-point matrices that encode the result of pre-filling the prompt into the LLM) get paged out to the attached SSD. A one-way hash key from the incoming prompt is stored alongside the tensors, so that as new prompts come in a lookup can be performed to see if the precomputed KV cache can be loaded from the SSD. The token IDs or text fragments of the original prompts should not be stored alongside them.

We have verified with the hyperscale clouds that host proprietary models that indeed no tokens or text are being paged out to SSDs. We have also validated this specifically with Groq and Cerebras (who, in fact, offer implicit caching but store everything in DRAM; no SSDs involved at all!). We have yet to find a provider that is paging text or tokens to SSDs, but intend on continuing this verification process for all providers.

Lastly, it is worth noting that many more providers implement this SSD architecture, than the number who publicly offer cached pricing / implicit caching. This architecture of caching KV tensors makes the inference more efficient; providers are incentivized to implement it, and are not obligated to pass the savings on, or publicly offer lower prices for cached prompts. This is why we are continuing to dig into provider setups and verify how this truly works under the hood, not just for providers publicly offering implicit caching.

The Question of Retention

So, is implicit caching data retention? We don’t think so. While caches do technically preserve derived data for a brief period, they do so only for performance continuity, and not in a form that is recoverable or meaningful as user data. The KV tensors are ephemeral, unaligned with raw tokens, and in most architectures are cleared when the session terminates or the cache is evicted. Additionally, these SSDs are physically alongside the GPU racks, and aren’t e.g. being retained in log storage or some other system inside the provider’s cloud.

KV tensors have historically been viewed as challenging or impossible to reverse into tokens/plaintext; they are model-dependent representations that lose alignment with discrete vocabulary information once the forward pass completes. Even with direct access to the tensors, recovering the original prompt is likely difficult. With that said, this assumption has been challenged recently, and KV cache data should be considered something worth protecting - but we don’t believe that ephemeral storage via on-premise SSDs meaningfully increases the attack surface area vs. having the exact same values in CPU DRAM.

So could a sufficiently motivated actor (say, a state-level adversary with full physical access and unlimited time) recover information from paged-out caches? Perhaps, but this is true of any transient compute memory. And unlike the tensors in the volatile memory, the data on the SSDs is typically encrypted. Practically speaking, the information is not retained in any operational or extractable sense.

Provider Differences and Interpretation

We believe that Google’s stance that Gemini’s implicit caching disqualifies it from ZDR is overly conservative and not what customers are asking when evaluating ZDR stance.

OpenRouter is taking a pragmatic view. Based on our understanding of how implicit caching actually works - and our conversations with providers - we consider ephemeral KV caching not to constitute data retention. Therefore, endpoints with implicit caching but no other form of persistent storage qualify as ZDR-compliant on our platform.

Still, transparency matters. We document precisely which endpoints support implicit caching, so customers who may be concerned about this form of storage can avoid these endpoints. If you disagree with our interpretation, you can simply configure your routing rules appropriately.

Conclusion

Implicit caching is a performance optimization, not a data retention mechanism. The distinction matters: ZDR should protect user data from persistence, not from transient in-memory tensors that vanish and are unavailable for inspection outside of the inference process. We do not believe our customers intend to “turn off caching” when they indicate a preference for ZDR.

But most importantly, OpenRouter will continue working with our providers to ensure proper protection of their most sensitive data, and to invest in understanding, documenting, and making this information actionable for our customers.