Log every request end to end
- Capture full request and response content, tokens, cost, and latency
- Query logs by provider, model, status, and time range over the API
- Turn off content logging when prompts must not be stored
[ OBSERVABILITY CAPABILITIES ]
Track cost and performance per provider, model, and team, with full visibility into every AI request.
[ ON YOUR INFRASTRUCTURE ]
Bifrost is self-hosted, so observability data is produced and stored where you decide, and exported only to the destinations you configure.
Logs, traces, and metrics are written by a gateway you run. Nothing is forwarded to a vendor backend unless you configure an exporter yourself.
Scrape /metrics with Prometheus, ship OTLP traces to Grafana, Datadog, or your own collector, and batch logs to S3, GCS, or BigQuery.
Immutable, timestamped request records with virtual key, model, cost, and user, retained on your schedule for SOC 2, HIPAA, and GDPR evidence.
[ COMPLIANCE FRAMEWORKS ]
Immutable audit trails and exportable logs across every request, for SOC 2, HIPAA, GDPR, and ISO 27001.




[ FAQ ]
LLM observability is visibility into what each model call actually did: the request and response content, tokens consumed, real cost, latency, which provider served it, and which tools it invoked. It extends logs, metrics, and traces with AI-specific dimensions that generic APM doesn't capture.
Because every request passes through the gateway, telemetry is captured at that single point rather than instrumented into each application. Bifrost writes logs, emits Prometheus metrics, and produces OTLP traces using GenAI semantic conventions, then exports to whichever backend you configure.
Logs, metrics, and traces, the three classic pillars, plus cost attribution, which is specific to AI. Token spend has to be traceable to a provider, model, team, and virtual key, or you have performance data with no way to tie it to budget.
Yes. Bifrost emits OTLP traces to any OTLP-compatible backend: Grafana, Datadog, New Relic, Honeycomb, or a collector you run. Prometheus scrapes /metrics natively. Request logs export to S3, GCS, BigQuery, Kafka, or Pub/Sub on a schedule.
No. Observability adds 0ms on the request path. Metrics, logs, and traces are collected asynchronously off the hot path: Prometheus counters update in memory, and OTLP spans are batched and flushed by a background exporter.
Yes. Content logging is a separate switch from metering. Turn it off and Bifrost still records tokens, cost, latency, model, status, and governance attribution, without persisting prompts or completions.
Bifrost meters real cost in USD per request using per-model pricing for input, output, cached, and reasoning tokens, then attributes it to the provider, model, virtual key, team, and customer that produced it.
Yes. Send x-bf-dim-* headers on a request and Bifrost attaches them as labels at runtime, so you can slice metrics by environment, version, tenant, or any other dimension you care about.
Yes. Tool calls are logged with duration, failure rate, server, and tool name, attributed to the same virtual key and team as the parent LLM request, so tool spend sits beside token spend. See the MCP gateway for how tool traffic is governed at the same layer.
Track cost and performance per provider, model, and team, on infrastructure you run yourself.
[ BIFROST FEATURES ]
Everything you need to run AI in production, from free open source to enterprise-grade features.
01 Governance
SAML support for SSO and Role-based access control and policy enforcement for team collaboration.
02 Adaptive Load Balancing
Automatically optimizes traffic distribution across provider keys and models based on real-time performance metrics.
03 Cluster Mode
High availability deployment with automatic failover and load balancing. Peer-to-peer clustering where every instance is equal.
04 Alerts
Real-time notifications for budget limits, failures, and performance issues on Email, Slack, PagerDuty, Teams, Webhook and more.
05 Log Exports
Export and analyze request logs, traces, and telemetry data from Bifrost with enterprise-grade data export capabilities for compliance, monitoring, and analytics.
06 Audit Logs
Comprehensive logging and audit trails for compliance and debugging.
07 Vault Support
Secure API key management with HashiCorp Vault, AWS Secrets Manager, Google Secret Manager, and Azure Key Vault integration.
08 VPC Deployment
Deploy Bifrost within your private cloud infrastructure with VPC isolation, custom networking, and enhanced security controls.
09 Guardrails
Automatically detect and block unsafe model outputs with real-time policy enforcement and content moderation across all agents.
[ SHIP RELIABLE AI ]
Change just one line of code. Works with OpenAI, Anthropic, Vercel AI SDK, LangChain, and more.