LLM observability for financial services: self-hosting, audit trails, and evidence
AI teams at banks, insurers, and brokers face the same engineering problems as everyone else, plus three more: customer data usually can't leave approved infrastructure, model changes go through risk review, and supervisors may ask what a system did months after the fact. LLM observability helps with all three, if it is deployed where the data is allowed to live and keeps the right records.
TL;DR: Run Langfuse on Langfuse Cloud in the EU, US, or Japan, or self-host it in your own VPC or an air-gapped network. Langfuse traces asynchronously and is not in the request path of your application. Use SSO and role-based access, mask PII before it is stored, set retention per project, and turn on audit logs. Evaluate model and prompt changes against datasets before release, and keep the results as evidence for model risk reviews.
The optional AI gateway relays model requests from your apps and coding agents to your LLM providers and records them in Langfuse. LLM providers can also run in the same VPC or a peered VPC.
Pick a deployment that matches your data rules
| Requirement | Option |
|---|---|
| Data may go to an approved SaaS vendor in a region | Langfuse Cloud in the EU, US, or Japan, with SOC 2 Type II and ISO 27001 |
| Data must stay in your cloud account | Self-hosted Langfuse in your VPC, optionally with ClickHouse BYOC |
| No internet access | Self-hosted in an isolated network, see air-gapped LLM observability |
| FIPS 140-3 validated cryptography | Self-hosted with a Government license |
For the trade-offs between these options, see self-hosted vs Cloud. For EU residency, see EU data residency and GDPR.
Langfuse doesn't proxy your model calls. The SDKs send traces in the background, so an outage of Langfuse doesn't stop your application. The optional AI Gateway is the exception: it is in the request path by design, for teams that want central keys and an audit trail for model access.
Control who sees what
- SSO with your identity provider, enforced for your email domains. See authentication and SSO.
- Roles per organization and project, so a team only sees its own traces. Project-level roles need an Enterprise license when self-hosted. See RBAC.
- Separate projects for sensitive workloads, or a separate deployment per business unit. See deployment strategies.
Keep sensitive data out of traces
Mask account numbers, names, and other PII before data is stored:
- Client-side masking in the SDKs removes data before it leaves your application. See masking.
- Server-side masking on self-hosted Enterprise applies a central policy at ingestion. See data masking.
For masking patterns, see PII masking for LLM applications.
Keep records for reviews
- Traces record each model call, tool call, and retrieval with inputs, outputs, model, and timestamps, so a decision can be reconstructed later.
- Data retention per project deletes data after a set number of days, so you keep records as long as policy requires and no longer. See data retention.
- Audit logs record changes inside Langfuse, such as prompt releases and permission changes, with the acting user. See audit logs.
- Export to your own storage for long-term archives with blob storage export.
Gate changes with evaluations
Risk teams usually want evidence before a new model, prompt, or agent version goes live. A common setup:
- Keep a golden dataset of representative and high-risk cases, reviewed by domain experts.
- Run each candidate version against it as an experiment, scored by evaluators for accuracy and policy compliance.
- Block the release in CI when scores fall below a threshold. See experiments in CI/CD.
- Protect production prompt labels so only approved people can release. See protected prompt labels.
For a complete walkthrough, see certifying LLM applications in financial services and how regulated teams get AI agents into production.
Track AI spend per business unit
Cost is tracked per trace and model. Attribute it to teams and cost centers with tags or metadata, or through gateway key metadata. See FinOps for AI.
FAQ
Does using Langfuse make an AI system compliant?
No tool does that on its own. Langfuse produces records, evaluations, and access controls that your compliance and model risk processes can use as evidence. Map them to your own requirements with your risk and legal teams.
What is the scope of the Langfuse audits and certifications?
The SOC 2 Type II and ISO 27001 reports cover Langfuse Cloud and Langfuse as a company. Enterprise customers receive these reports as part of their plan. Langfuse Cloud is also in scope for ClickHouse, Inc.’s ISO/IEC 27701:2025 certification. In a self-hosted deployment, you operate the infrastructure under your own controls.