An LLM gateway can read every prompt that passes through it, because it has to read the request to route and meter it. What matters for privacy is what it writes down afterwards, and what the model provider behind it keeps. On this gateway, what you send is not stored by default: prompts and answers pass through, and usage records hold tokens, cost and timing, not text. The provider processes each request under its own terms.
What can an LLM gateway see when you send a request?
Everything your client sends. The proxy reads the full request body: the prompt, the system instruction, parameters such as model and temperature, and any tool definitions. It reads the request headers, including your API key. It also sees the IP address and user agent of the machine that made the call. The data page calls that “the whole list”, and it is the honest starting point, because the useful question is not whether a gateway can see your data. It can, by construction. The useful questions are what it keeps and for how long, who else receives the request, and what controls you hold.
The path of one request has three zones with different rules, and mixing them up is the most common mistake in privacy reviews of AI stacks.
Where your text goes
Our routing and privacy documentation walks through every step of a request, from the key check to the usage record. Two facts from it matter here. Your API key is never sent upstream, because the gateway forwards the request with its own provider credentials. And the provider does not receive your email address or any account details. It receives the content, plus any fields you put into the body yourself, such as user or metadata, which is why those fields should never carry personal data.
What does One AI API Key store, and for how long?
Each kind of record has its own timer, and the table lists them with the source in our privacy policy and data page. The first row is the one most people ask about.
| Record | What it holds | Kept for | Who can see it |
|---|---|---|---|
| Prompt and reply text | Nothing by default: relayed in memory | Not stored | Nobody here |
| Usage record | Key name, model, time, input, output and cached tokens, cost, duration, first-token time, stream flag, request id, status or error, IP address and user agent | Up to 12 months | You on the usage page, and us |
| Server and security log | Time, path, status code, duration and client IP of each HTTP request | Up to 90 days | Us |
| Session id, end-user id, tool class | What your client sends in X-Session-Id, user and the user agent |
90 days | You, in your own usage views |
| Call tags | A task label and your optional X-Tag header; the text is not stored |
90 days | You |
| Prompt log (opt-in per key) | Request and reply bodies after redaction, up to 64 KB each side, images and files replaced by a size note | 7 days; deleted at once when you turn it off | Only you |
| Troubleshooting capture | Request content we capture when you ask us to investigate, or when we investigate abuse | Up to 30 days, longer only for a legal claim | Us |
| Shared chat link | A copy of the chat’s messages and images, if you choose Share a link | Until you delete the link, at most 30 days after creation or last update | Anyone with the link |
| Sign-up checks | Keyed hashes of IP, network, browser identifier and fingerprint | Up to 400 days | Us, for one-account-per-connection checks |
| Billing records | Packs bought, amounts, dates, transaction reference | As tax and accounting law requires, typically 7 to 8 years | Us and the payment processor |
Three clarifications keep that table honest. The usage record exists even for a failed request, with the error message instead of a cost. Requests made in the browser chat and the console are never written to the prompt log, whatever a key’s setting says. And the gateway can still see your prompt while it handles it: “not stored” describes what is written, not what is readable in transit.
How long each record is kept, in days
- Prompt log, opt-in7holds text, off by default
- Troubleshooting captureup to 30holds text, only on request or for abuse
- Shared chat linkup to 30holds text, only if you share
- Server and security logup to 90
- Session, end-user and tag fields90
- Usage recordsup to 12 monthstokens and cost, no text
- Sign-up check hashesup to 400keyed hashes, not raw values
What does the model provider keep?
This is the part a gateway cannot answer for you, and it is where most of the real variation is. The provider that runs the model receives the full request, your messages, system prompt, images, tools and parameters, and handles it under its own API terms. Those terms can include short-term retention for abuse monitoring. Our privacy policy says so and names providers such as Anthropic, OpenAI, xAI and Zhipu AI as examples. We choose the upstream route for each model, but we do not run the hardware, cannot read a provider’s logs and cannot change its retention period.
The size of the variation shows in OpenRouter’s provider logging page, which tabulates each provider it routes to. It uses three tiers: zero data retention (no routine storage after processing), safety retention (the provider may keep requests only to prevent abuse and does not train on them), and retention with possible training. On the day we read it, 26 November 2026, the table showed many providers at zero retention, some at 30 days, one at 55 days, a long list marked “retained for an unknown period”, and three providers marked as possibly training on prompts. We name none of them, because the point is not any one company. The point is that two models on one gateway can sit on providers with very different rules, and a single “privacy” label on the gateway cannot cover both.
What follows for you is practical. A model’s provider is part of its privacy policy. If a request must not be retained by anyone, check the provider of that exact model before you use it. Some gateways publish routing controls by data policy, and the next table shows what each one says. The guide to what an LLM gateway is explains why routing and retention are separate questions.
How do gateways differ on logging and retention?
The table covers what each provider’s own pages said on 26 November 2026. “Not stated” means the page we read does not say, which is not the same as “no”.
| Prompts stored by default? | Data-policy controls | Regional processing | Source | |
|---|---|---|---|---|
| One AI API Key | No, relayed in memory; counts kept, never content; opt-in prompt log per key; X-No-Log per call |
Per-key guardrails, PII redaction and an account-wide data-loss rule | Set by the upstream provider that runs the model, under its own terms | Routing and privacy docs |
| OpenRouter | No: prompts and completions are not logged unless you opt in, and opting in earns a 1% discount | Filter by provider data policy, account-wide zero-data-retention enforcement, and a training toggle | EU and US in-region routing on the Business plan | OpenRouter FAQ |
| Vercel AI Gateway | Not stated on the pricing page; it records status, provider, latency, tokens, cost and routing attempts | Zero data retention per request at no extra cost on Pro, Enterprise or purchased credits; team-wide at $0.10 per 1,000 requests | Regional endpoints at 5% of inference cost | Vercel pricing |
| Cloudflare AI Gateway | Logs are stored in Workers Logs or Legacy Logs; Legacy Logs hold 100,000 logs on Workers Free and 10,000,000 per gateway on Paid | Data-loss-prevention scanning is free; Guardrails are billed as Workers AI inference | Not stated on the pricing page | Cloudflare pricing |
| LiteLLM, self-hosted | Your database and your log sinks: you decide | Guardrails and PII masking you configure | Wherever you run it | LiteLLM docs |
Read the table for fit, not for a winner. OpenRouter and Vercel publish routing controls by data policy, and OpenRouter’s Business plan or Vercel’s regional endpoints are what a team with a residency rule should read first. The list of seven gateways compares them on more than privacy, and the gateway fee guide prices the add-ons. Self-hosting LiteLLM gives you the most control over the middle step, because the gateway runs in your network, but the request still ends at a provider outside it. A self-hosted proxy moves where the middle step lives. It does not remove the last one. The LiteLLM comparison covers that trade, and the side-by-side with OpenRouter is dated and sourced.
Which data should you keep out of any gateway?
Start from the OWASP Top 10 for LLM applications, whose 2025 list names sensitive information disclosure, prompt injection and system prompt leakage as separate risks. Our own rule of thumb is boring and effective: do not put in a prompt what you cannot afford to have disclosed. For a gateway user that rule has a short list of cases you should treat as non-negotiable: credentials, private keys, session tokens, and anything a contract tells you not to share with a subprocessor.
The picker below turns that into a decision per kind of data. It runs in your browser and sends nothing.
What kind of data are you about to send?
Public text or test prompts
Private source code
X-No-Log keeps the call out of our prompt log, but it does not change what the provider does. See guardrails per key.Customer personal data
Passwords, API keys or private keys
Health, legal or financial records
Which controls can you switch on today?
Four, and they work at different layers. The routing documentation is the reference, and every one of them is pattern-based: it finds what its patterns match and nothing else, it is not a classifier, it does not read images or files, and it never guesses.
Guardrails, per key. Set in the key dialog. Three checks read the text you send before any provider is called: secrets (API keys, AWS, GitHub and Google tokens, Slack, Stripe, PEM private keys), prompt injection (phrases such as “ignore all previous instructions” and chat-template role markers) and source code (a fenced block, or several lines that look like code). Each check is off, log or deny. A deny returns a 400 with code guardrail_blocked, sends nothing upstream and bills nothing. You can add up to ten regular expressions of your own. Only requests made with that key are checked, so a separate key for sensitive work is a clean boundary. Coding tools send whole files, so give each one its own key; the coding agent key guide has the settings. A guardrail block is a 400 and not a rate limit, and the 429 guide covers the limits that do return 429.
PII redaction, per key. Email addresses, phone numbers, payment-card numbers, IBANs, IP addresses and US social security numbers are replaced with a placeholder such as [EMAIL] before the request leaves the gateway, and again in the reply. Card and IBAN candidates must pass their checksum, which keeps ordinary long numbers from being mangled. In a streamed reply the last 128 characters of each text block are held back until the next chunk shows they are not part of a match, so redaction can add a tiny delay.
Data-loss prevention, account-wide. One rule on the Security page covers every key: you choose categories (payment cards, IBAN, US social security numbers, JSON Web Tokens, AWS keys, GitHub tokens, private keys) and up to ten patterns of your own, and one action. Report lets the request through and adds X-DLP-Flags to the reply; block stops it with a 400 and code dlp_blocked before any provider is called. The matched value never appears in the reply, the console or a log, only the category and a count. Cloudflare’s gateway offers a similar free DLP scan on all plans, according to its pricing page, and LiteLLM lists content filters and PII masking among its guardrails.
X-No-Log per call. Covered above: it keeps one call out of the prompt log even when the key has logging on. It is the right header for a one-off sensitive request on a key that otherwise logs for debugging.
Two small examples show the header in practice. The curl call works for any free id from the free models list. The Python one adds a few lines of scrubbing on your side, which is the cheapest privacy control there is: data you strip before sending cannot leak from anywhere downstream.
# One call kept out of the prompt log, even if this key has prompt logging switched on.
curl https://api.oneaiapikey.com/v1/chat/completions \
-H "Authorization: Bearer $ONEAIAPIKEY_API_KEY" \
-H "Content-Type: application/json" \
-H "X-No-Log: true" \
-d '{
"model": "z-ai-glm-5.3:free",
"max_tokens": 120,
"messages": [{"role": "user", "content": "Rewrite this sentence more plainly: the party of the first part shall indemnify."}]
}'import os
import re
from openai import OpenAI
client = OpenAI(base_url="https://api.oneaiapikey.com/v1", api_key=os.environ["ONEAIAPIKEY_API_KEY"])
EMAIL = re.compile(r"[\w.+-]+@[\w-]+\.[\w.-]+")
LONG_NUMBER = re.compile(r"\b\d{9,}\b")
def scrub(text: str) -> str:
"""Remove what the model does not need before it leaves your machine."""
return LONG_NUMBER.sub("[NUMBER]", EMAIL.sub("[EMAIL]", text))
ticket = "Customer jane@example.com, account 123456789012, says the export button does nothing."
reply = client.chat.completions.create(
model="z-ai-glm-5.3:free",
max_tokens=200,
messages=[{"role": "user", "content": "Summarise this support ticket: " + scrub(ticket)}],
extra_headers={"X-No-Log": "true"}, # our prompt log skips this call; the provider still receives the text
)
print(reply.choices[0].message.content)Sending less also costs less, since every token you strip is a token you do not pay for; the guide to reducing LLM API costs has nine more tactics. The scrub function is deliberately crude. Real redaction needs the patterns your data actually has, a test set and a review of what slips through. The point is the order of operations: your code removes, then the gateway’s per-key redaction removes again, and the provider receives the smaller result. The authentication docs show where each per-key setting lives, and the keys page is where you create a key for the sensitive path.
Does a gateway train on your prompts?
We do not. Our privacy policy says we never use the prompts, files or outputs that pass through the API to train or fine-tune any model, and that we do not sell them. That is a promise about us. It does not extend to the provider, and providers differ. OpenRouter’s provider logging page describes the same layering from its side: it says it works with providers to ensure prompts are not trained on wherever possible, offers an account setting that stops routing to providers that may train, and says that setting has no bearing on OpenRouter’s own policies. The structure is identical for every gateway: the gateway’s promise covers the gateway, and the provider’s terms cover the provider.
For a free model the same rule applies, with one more reason to be careful. OpenRouter’s page notes separate training settings for paid and free models, a hint that terms can differ by tier, and we cannot see inside the arrangements between a provider and the models it serves for free. So we treat free models as test traffic and tell you to do the same. The same goes for cheap paid hosts: the open model price comparison lists rates, and each host’s own terms decide what it keeps. The post on free LLM APIs with no credit card compares what other providers publish about their free tiers, and the one on free AI models through the API sorts ours by task.
What about the browser chat?
Conversations in the chat are stored in your browser, in IndexedDB, separately for each account you sign in with. They are not uploaded, not synced between devices and not kept on our servers, and clearing this site’s data in your browser deletes them. OpenRouter says the same of its chatroom: conversations are stored locally on your device.
Each message is still an API request. It travels the path in the diagram, reaches the provider and leaves a usage record with tokens and cost but no text. The one exception is a shared chat: if you pick Share a link, we store a copy of that chat’s messages and the images you attached, so anyone with the link can read it. Shared copies are not indexed by search engines and are deleted when you delete the link or 30 days after you created or last updated it. The privacy policy lists who else receives data: upstream providers, payment processors, and hosting and email providers. Read how the chat works before you paste something private into any shared link.
How can you check these claims yourself?
You cannot audit a provider’s disk, and neither can we. You can test the parts that are yours, and a short list gives more assurance than a policy page alone.
- Read a usage record. Open the usage page, pick a request and see what it contains. Tokens, cost and timing are there, and the request text is not. Export the CSV and check the columns.
- Test the prompt log on a throwaway key. Switch on prompt logging for a key with no real data, send one call with
X-No-Log: trueand one without, and see that only the second appears in the key’s log. Then switch logging off and confirm the stored bodies are deleted, as the policy says they are. - Send a canary. Put a unique made-up string in a prompt on a key with logging off, then look for it in everything you can read: usage records, CSV exports, response headers. Not finding it proves nothing about the provider, but finding it would be a bug we want to hear about.
- Ask for your data. The privacy policy gives access and deletion rights by email to legal@oneaiapikey.com within 30 days, and the data page says an account can delete its own data without emailing us.
- Read the provider’s policy for the exact model. This is the only check that answers the provider question, and it takes five minutes per model.
The research on unaudited middlemen is a related worry, though about correctness more than privacy: a relay that you cannot inspect can also be a relay that changes what it forwards. The reseller risks post summarises what researchers measured, and six checks for verifying that an API serves the real model gives you tests you can run. For a broader frame, the NIST AI Risk Management Framework is voluntary guidance for managing risks from AI systems, and its generative AI profile (NIST-AI-600-1, released July 2024) is a reasonable checklist to adapt when you document each vendor in your chain as a risk.
When should you skip a gateway and call the provider directly?
Go direct in these cases, because a gateway adds a party to the chain and some data cannot afford one more.
- A contract names the vendor. Some customer agreements or regulations require a specific model vendor and a specific agreement. A gateway cannot give you that.
- Regulated records are in the prompt. Health, legal and financial records need an agreement that covers the whole path, and that is a conversation with a vendor’s sales team, not a pricing page.
- You need a residency guarantee. Get it in writing from the provider that will run the model. OpenRouter’s Business plan and Vercel’s regional hosting list regional options for a price, and a provider’s own regional API does too.
- You need contractual uptime or deletion terms. We offer no uptime guarantee, as the terms say.
For everything else, a gateway is a reasonable place to run prompts you would be comfortable sending to the model’s own provider, which is the test we recommend. The 12-point provider checklist lists privacy next to price, limits, uptime and money-back terms, and the uptime and fallbacks guide covers the failover side, which also moves your request between providers: the gateway retries the model you named up to twice, and if it is still failing, fallback rules, presets and automatic routing move the request to another similar model (the free lane also retries a failing :free call on another model). The second model is often on a different provider, which then processes the request under its own terms, and the X-Fallback-From header tells you so. Only the attempt that answers is billed. The review of One AI API Key puts the privacy points next to the rest of what you get and what you do not.
If you want to try it with nothing sensitive at stake, every new account gets $10 of credit and the 47 free models, with no card, and the free ids work with a $0 balance. The pricing page shows how credit is added later. The post on prepaid credits covers the money side, the guide to reading a provider’s money-back terms covers what to check before you pay anyone, and the quickstart gets the first call working in a few minutes. If you are moving from another gateway, the migration guide lists what changes.
Test the path with prompts you would post publicly
$10 sign-up credit, 47 free models sharing 100 requests and 3,000,000 tokens a day, no card.
The Cloudflare and Vercel comparison pages note what each says about logging and retention.
Frequently asked questions
Is what I send stored?
X-No-Log: true opts one call out; content is captured only if you ask us to troubleshoot a request or we investigate abuse; a shared chat link stores the shared text; and the upstream provider that runs a model processes the request under its own terms. The routing documentation lists every field we record.