DocsVersions & Compatibility

Versions & Compatibility

Reference for how Langfuse's server, SDK, and API versions relate across Langfuse Cloud and self-hosted deployments.

Jan 2026Apr 2026Jul 2026Oct 2026Jan 2027Apr 2027
Langfuse Cloud
Self-hosted (OSS)
Oct 31, 2026: legacy APIs and ingestion removed

Langfuse v4 is generally available: the self-hosted release ships by August 1, 2026, and Langfuse Cloud, where v4 has been rolling out in preview since March 2026, switches to v4 as the only experience at the end of October 2026, when remaining legacy APIs and ingestion paths are also removed (October 31, 2026).

The compatibility rule: each Langfuse server major version aims to support the current and the previous SDK major version of each language. New SDK versions require a recent server version, as some features may not be available on older servers; see the feature availability matrix.

We try very hard to uphold this rule. v4 breaks backwards compatibility with older SDKs; see the Langfuse v4 page for all information.

DeploymentHow versioning works
Langfuse CloudAlways runs the latest Langfuse version; server versions are managed for you. Only your SDK version and the API endpoints you call matter; the self-hosted server minimums on this page do not apply. Breaking removals happen on published dates.
Self-hosted (OSS & Enterprise)You choose when to upgrade the server. New capabilities are battle-tested on Langfuse Cloud before they ship in a self-hosted release, so Cloud can run ahead of the latest self-hosted version. SDK majors require the minimum server versions below; breaking removals only happen in major server releases (see the versioning policy and upgrade documentation).

Langfuse versions

Every Langfuse component (server, SDKs, and APIs) moves through these lifecycle stages:

StageMeaning
PreviewNew capabilities that are production-ready, but interfaces or API design may still change.
GARecommended and fully supported.
DeprecatedStill works but is superseded; it will be removed on the dates noted in the matrix below. Migrate to the replacement.
End of lifeUnsupported, no security patches.

GA versions

ComponentGA versionPackage / repoNotes
Serverv4langfuse/langfuse Langfuse server releaseObservations-first data model; v3 continues to receive security patches
Python SDKv4langfuse PyPI langfuseOpenTelemetry-based since v3. Requires Python 3.9+.
JS/TS SDKv5@langfuse/* NPM @langfuse/tracingOpenTelemetry-based since v4. Requires Node.js 20+.
Other languagesn/aOpenTelemetryAny OTel SDK to the Langfuse OTel endpoint

Feature availability matrix

ClientOSS v2 (End of life)OSS v3 (Deprecated)OSS v4 (GA)Status
Python · Upgrade guide
Python SDK v4Unsupported≥ 3.125.0FullGA
Python SDK v3Unsupported≥ 3.125.0DeprecatedDeprecated
Python SDK v2FullFullDeprecatedDeprecated
Python SDK v1FullUnsupportedUnsupportedEnd of life
JS/TS · Upgrade guide
JS/TS SDK v5Unsupported≥ 3.95.0FullGA
JS/TS SDK v4Unsupported≥ 3.95.0DeprecatedDeprecated
JS/TS SDK v3 / v2FullFullDeprecatedDeprecated
JS/TS SDK v1FullUnsupportedUnsupportedEnd of life
Third-party instrumentation · OpenTelemetry docs
OpenTelemetry
/api/public/otel/v1/traces
Unsupported≥ 3.22.0FullGA
Scores ingestion
/api/public/scores
FullFullFullGA
Legacy ingestion API
/api/public/ingestion
FullFullDeprecatedDeprecated
Read APIs · Public API docs
Observations API v2 & Metrics API v2
/api/public/v2/...
UnsupportedUnsupportedFullGA
Scores API v3
/api/public/v3/scores
UnsupportedFullFullGA
v1 read APIs
/api/public/...
FullFullDeprecatedDeprecated
Integrations & exports · Export docs
Blob storage exportUnsupportedTraces & observationsEnriched observationsGA
PostHog integrationUnsupportedTraces & observationsEnriched observationsGA
Mixpanel integrationUnsupportedTraces & observationsEnriched observationsGA
Legacy export source (traces and observations)UnsupportedFullDeprecatedDeprecated
Evaluations · LLM-as-a-judge docs
Observation-level evaluatorsUnsupported≥ 3.153.0FullGA
Trace-level evaluatorsFullFullDeprecatedDeprecated

Frequently asked questions

I'm on Langfuse Cloud, which versions do I need to care about?

Only your SDK version and the API endpoints you call. Langfuse Cloud always runs the latest server version, so the self-hosted minimums on this page never apply to you. Keep your SDKs on the GA major version (Python v4, JS/TS v5) and migrate away from deprecated endpoints before the dates noted in the matrix above.

I self-host Langfuse v3 and upgraded to Python SDK v4 / JS SDK v5, what works?

Tracing, prompt management, datasets, and scores work fully (server ≥ 3.125.0 for Python, ≥ 3.95.0 for JS/TS). The default api.observations and api.metrics resources call v2 endpoints that require Langfuse v4; use the api.legacy.* resources until you upgrade your server to v4.

My data takes minutes to show up in the UI, why?

On the v4 data model, data from Python SDK < 4.0.0, JS SDK < 5.0.0, or OTel exporters without the x-langfuse-ingestion-version: 4 header can be delayed by up to 10 minutes. Upgrade to Python SDK ≥ 4.7.0 / JS SDK ≥ 5.4.0 (or set the header) for real-time data.

When do old SDKs stop working on Langfuse Cloud?

Python SDK v2 and JS/TS SDK v3 (and older) send traces via the legacy batch ingestion API, which is removed on Langfuse Cloud on October 31, 2026. Upgrade to the GA SDK majors before then; see the SDK upgrade paths.

Does upgrading my self-hosted server break my SDKs?

Each server major supports the current and previous SDK major of each language. Upgrading v3 → v4 keeps Python SDK v3+/v4 and JS SDK v4/v5 working (older SDKs lose real-time visibility; Python v2 / JS v3 trace ingestion is not supported on v4). Check the matrix above before upgrading.


Was this page helpful?

Last edited