Langfuse’s new output guardrails buffer complete replies, even with streaming
Langfuse adds controls to block, redact or log sensitive content. Output checks buffer replies, and Redact can reject content it cannot safely edit. Trace storage remains a separate setting.
In this article
- Quick answers
- Output checks change how replies arrive
- A content checkpoint for an existing gateway
- The same detected email can produce different outcomes
- History, streaming and detection have limits
- Trace storage is a separate decision
- Who can configure and use it
- Budget for tracing and model calls separately
- Sources & method
Quick answers
Does a guardrail match always get removed?
No. Log leaves content unchanged. Redact normally replaces matches but can reject uneditable signed thinking or JSON tool arguments. Block rejects matching traffic.
Is the AI Gateway generally available?
It remains in public beta. Langfuse lists gateway access across its Cloud plans, including Hobby, and supports a separate gateway service for self-hosted deployments.
The practical takeaway
Specify screening, failure handling and trace storage separately: Redact can reject a call, and output checks buffer replies.
Output checks change how replies arrive
Langfuse’s new AI Gateway guardrails hold a complete model response before returning it whenever an output check is active, including streamed replies. Announced November 27, the controls also let teams block, redact or log sensitive content in requests and responses.

A content checkpoint for an existing gateway
The gateway itself launched in public beta on November 4. It sits between an application or coding agent and a model provider: clients use a gateway address and key, while the organization keeps provider credentials centrally. Its original proposition combined access controls with records of model calls and their costs.
A gateway gives the operator a central place to choose models and inspect spending across applications. Its position in the request path also makes it a natural place for content controls; the November 27 announcement extends that existing role.
The same detected email can produce different outcomes
Assume a support assistant sends a fictional message containing an email address that a configured rule matches. Block stops the request before the provider receives it. Redact normally substitutes a label for the match. Log allows the original message through and records the detection. This illustrates the documented actions, not an executed test.
Redact also has a rejection path. A match in signed Anthropic thinking cannot be edited without invalidating its signature; modifying JSON tool arguments can make them invalid. In those cases the gateway returns HTTP 400 with guardrail_blocked instead of a scrubbed result. A delivery specification therefore needs to cover rejected calls as well as successful substitutions.
History, streaming and detection have limits
For redaction, Langfuse recommends Entire input so earlier conversation text is also checked. Without an active output guardrail, streaming continues normally.
Output checks cover successful OpenAI Responses, Chat Completions and Anthropic Messages replies. Decisions, Embeddings, compaction and token-counting responses are excluded. The prompt-injection heuristic defaults to Log, recognizes familiar patterns and can flag legitimate security text. That does not establish protection against novel attacks.
The error guide also documents a 600-second overall deadline and a 120-second provider-idle limit during beta. Enforcing rules reject unreadable or oversized payloads rather than forwarding them unchecked. For an assistant handling long conversations, content-policy failures and transport failures are separate cases to handle.
Trace storage is a separate decision
The gateway’s default USAGE mode records operational information, including model, token use, cost and timing, without the input or output. FULL adds conversation content, tool definitions and results, and generated text or reasoning. Administrators choose the mode for the organization.
For the hypothetical support assistant, choosing USAGE addresses whether conversation content is retained in Langfuse traces. It does not describe what the application sends to the model. Conversely, selecting redaction does not mean all conversation content disappears from storage: the announcement says matched text is replaced before FULL capture. These settings answer different questions, and neither establishes a general no-retention promise for the application or its provider.
Who can configure and use it
Organization owners and admins manage guardrails; other members with gateway access can view them. Gateway setup separately requires a destination project, provider connections and user access. Self-hosted installations run the gateway as a service alongside Langfuse.
Cloud endpoints are documented for the EU, US, Japan and HIPAA regions, and a key works only with its own region’s host. Clients must retain the provider’s API format: the gateway does not translate between them. WebSocket and realtime API paths are unsupported. A team integrating an existing assistant therefore needs to check its actual request route, not assume every model interface fits.
Budget for tracing and model calls separately
Langfuse lists the gateway on every Cloud plan. Hobby includes 50,000 monthly units and two users. Core costs $29 monthly, includes 100,000 units and charges $8 per additional 100,000 units in its first usage band. A recorded generation counts as a billable unit; model-provider charges remain separate.
As a constructed example, assume a Core organization records 300,000 total billable units in a month. Its listed base and usage charges would be $45: $29 plus $16 for the additional 200,000 units. This excludes model usage and any other charges. Count all billable tracing records, not just user messages: an agent can make several model calls to complete one assignment.
Sources & method
AI-assisted reporting comparing Langfuse’s November 27 announcement with its earlier gateway launch, current implementation documentation and pricing. All product evidence comes from the vendor. The support-message example and cost calculation are constructed illustrations, not executed tests. We have not tested detection accuracy, latency or account-level access.
- Langfuse: Block and redact PII and secrets with AI Gateway guardrailsPublished November 27, 2026
- Langfuse documentation: GuardrailsAccessed November 27, 2026
- Langfuse: Launching the AI GatewayPublished November 4, 2026
- Langfuse documentation: Gateway tracingAccessed November 27, 2026
- Langfuse documentation: Set up Gateway as an adminAccessed November 27, 2026
- Langfuse: Troubleshooting AI Gateway errorsAccessed November 27, 2026
- Langfuse documentation: Gateway REST APIAccessed November 27, 2026
- Langfuse: PricingAccessed November 27, 2026
Source pages reviewed November 27, 2026. Analysis and suggested evaluation methods are AI Toolcast’s own.
This article contains no sponsored placement or affiliate links. AI Toolcast does not own Langfuse.
Found a possible error? How to report a correction.


