Why does OpenRouter block a free LLM API request with 403 PII detected?

A 403 labeled “Blocked PII detected” means an active OpenRouter Sensitive Info guardrail rejected the input before forwarding it to the model provider. Read the error label, then check the account, member, or API-key policy with its owner. If that policy allows redaction, use the approved redact action; do not retry with another model or key to evade a block.

OpenRouter checks request input before routing: a guardrail can block it with 403 or redact a match before forwarding

Read the error before changing the model

An HTTP 403 is a status category, not a full diagnosis. OpenRouter documents guardrail blocks, permissions, moderation, and spending controls as different causes. Start with the response body and preserve only the fields needed to classify it:

Do not paste the original prompt, authorization header, API key, or a real person's details into a support ticket. A safe, redacted message and the error label are usually enough to begin.

Synthetic response clue First interpretation Next check
403 with “Blocked PII detected: PERSON” A Sensitive Info rule detected an entity and blocked the request. Check the applied privacy rules and review the event in Logs.
403 with “Request blocked by content filter: [BLOCKED]” A configured content filter blocked the request; the label identifies the matching rule when one was set. Check the key and member guardrails for the named filter.
403 with a budget or spending message A spending control stopped the request. This is not evidence of PII detection. Check the applicable key or member budget and its reset period.
403 with only “Forbidden” or no useful message The cause is still unknown. Check permissions, model/provider allowlists, and the account owner’s policy.

These are response-shape examples, not captured traffic. OpenRouter’s current error guide says a guardrail can reject a request before it reaches a provider; a bare 403 alone does not identify which rule ran.

Check which privacy rule applies

OpenRouter’s Sensitive Info documentation says it scans request input before forwarding it to the model provider. A rule can redact a match and forward the modified request, or block the whole request with HTTP 403. This is an input-side check; it is not a refusal generated by the model.

The effective rule can come from more than one place. Account-wide privacy settings always apply; workspace, member, and API-key content filters can add further rules. OpenRouter says applicable filters combine, and block takes precedence over redact when the same entity has both actions. A setting visible on one key therefore may not show every rule affecting its request.

If you administer the key, inspect Settings > Privacy, the relevant workspace’s Guardrails page, and the key/member assignments; use the dashboard’s test preview with synthetic values. If the key belongs to a workspace, ask its owner or administrator to check those assignments. Do not copy a prompt with real personal data into a test preview or ask for broader access than the task requires.

Switching from one free model to another is not a useful first test for this specific error: the guardrail runs before the provider receives the request. A different model cannot repair an input that the same active rule rejects.

Choose a policy-approved fix

Keep Block when the information should not be sent onward. Remove the sensitive field or use an approved local redaction step before creating the API request. The existing local redaction guide covers app-side checks; that is separate from changing an OpenRouter rule.

Use Redact only when the data owner permits it. An administrator can change the action for the matching preset or pattern, preview the transformation, and confirm that the placeholder still lets the application do its job. Redaction changes what is forwarded; it is not the same as disabling the check.

Report a false positive through Logs when the label is incorrect. OpenRouter’s current documentation says guardrail events appear in Logs and provides a false-positive action for the event. Reporting it does not retroactively unblock the rejected request or change the policy by itself.

A public application issue from October 2026 describes a confusing PII-related 403 in an OpenRouter client. Treat it as one historical symptom report, not proof that every request is filtered or that current blocked events are missing from Activity. The current OpenRouter docs direct false-positive review to Logs.

A synthetic offline classification check

Use harmless response objects to verify your own error display before changing a live integration. The cases below contain no prompts, API keys, or actual personal information.

Status and message Expected label in your application Why
403 — Blocked PII detected: PERSON PII guardrail The explicit label points to a Sensitive Info match.
403 — Request blocked by content filter: [BLOCKED] Content filter A filter rejected the request; inspect its policy label.
403 — Budget limit exceeded Budget A spending limit is distinct from a content filter.
403 — Forbidden, no metadata Unknown 403 Do not guess which account, permission, or policy caused it.
401 — Invalid API key Authentication This is not a 403 PII diagnosis.

This small UI-label helper covers the same synthetic categories without sending a request:

function labelOpenRouterError(status, body) {
  const message = typeof body?.error?.message === "string" ? body.error.message : "";
  if (status === 403 && /blocked PII detected/i.test(message)) return "PII guardrail";
  if (status === 403 && /request blocked by content filter/i.test(message)) return "content filter";
  if (status === 403 && /(budget|spending limit)/i.test(message)) return "budget";
  return status === 403 ? "unknown 403" : "other error";
}

The local companion test exercises these categories using synthetic response objects only. It makes no network request and does not validate OpenRouter’s account settings or test a live model.

Frequently asked questions

Does this mean the model saw the personal information?

For a documented Sensitive Info block, OpenRouter says the request is rejected before it is forwarded to the model provider. Do not generalize that conclusion to an unlabeled 403; classify the actual error first.

Does a PII 403 mean the free model limit was used up?

No. A PII label identifies a content-filter path, while a budget error identifies a spending control. A 403 without a useful message remains unknown; check the key’s usage and policy records rather than inferring the cause from status alone.

Can I turn off the guardrail to make the request work?

Only the account owner or an authorized administrator should change a policy, and only when the data-handling rules permit it. If the block is intentional, keep it and remove or redact the input locally. Do not route the same data through another key to bypass the rule.

Sources checked 10 November 2026

This guide explains OpenRouter’s documented guardrail path. Other OpenAI-compatible APIs can use different filters, settings, and error bodies. Check the current documentation for the host that issued your response.