Langfuse v4: up to 165× faster · Read more
FaqUpgrade to Langfuse v4

Upgrade to Langfuse v4

Langfuse v4 uses an observations-first data model. The v4 overview explains what changed. New managed projects already use v4 and need no migration.

For existing projects, complete the applicable steps below.

1. Upgrade trace ingestion

Move off legacy ingestion before the v4 cutover. Deprecated SDKs can delay data by up to 10 minutes.

Your setupDo this
Python SDK below 4.7.0Upgrade the Python SDK to 4.7.0 or later.
JS/TS SDK below 5.4.0Upgrade the JS/TS SDK to 5.4.0 or later.
Custom REST or OpenTelemetry ingestionMigrate custom ingestion to the v4 OTLP/HTTP path.

2. Migrate the v3 features you use

Only follow the rows that apply to your project.

CheckDo this
APIsMigrate deprecated API calls to the supported Observations, Metrics, Scores, and Experiments APIs.
EvaluatorsMove trace-level evaluators to observation targets and legacy-dataset evaluators to experiment targets.
ExportsSwitch blob storage exports to enriched observations.
IntegrationsSwitch PostHog and Mixpanel to enriched observations.

3. Complete the rollout

Managed projects

The managed cutover date has not been announced. Follow the v4 timeline for updates.

If the sidebar still shows the Langfuse v4 preview toggle, enable it. Then open Action required to view the project checklist. Each category shows Up to date, Not detected, or the number of affected items.

The v4 migration panel showing outdated tracing instrumentation, one deprecated evaluator, and up-to-date API and integration checks

Select Migration Status to review organization-wide progress. The page shows the migrated-project count and each project's status, SDK, affected evaluators, APIs, exports, and latest trace.

The v4 migration status page showing one of two projects migrated and the affected features for the remaining project

Self-hosted deployments

Self-hosted v4 is generally available. Follow the v3 to v4 upgrade guide to migrate your deployment; the legacy and dual write modes let you schedule each migration step independently.

There is no forced cutover date. Langfuse v3 receives security patches through January 2027. The self-hosted compatibility matrix lists supported SDKs and APIs.

Questions

Ask rollout and migration questions in the v4 GitHub Discussion; we use that thread for updates and answers.


Was this page helpful?

Last edited