When a Langfuse migration starts and who should run it
Most teams that move Langfuse onto their own infrastructure do it in-house, with a partner brought in for the parts that carry the most risk. The trigger is usually one of three situations: leaving Langfuse Cloud for a self-hosted deployment, moving traces, prompts and evaluations from another LLM observability tool, or being forced through a major version change. The third case is the one teams often underestimate. Langfuse says updates within a major version apply database migrations automatically at startup, but major upgrades such as v2 to v3 and v3 to v4 follow dedicated migration guides, so the work is architectural, not a routine update. Before choosing an owner, confirm which of the three situations applies, because it determines how much of the work is data movement and how much is platform change.
A Langfuse migration covers two separate workstreams that often run in parallel. The first is data movement: traces, prompts, scores and evaluation results from the source system must be exported, mapped and checked in the new instance, and any SDK or OpenTelemetry instrumentation pointing at the old endpoint must be repointed. The second is the architecture change that Langfuse itself requires. A self-hosted deployment runs Langfuse Web and Langfuse Worker alongside PostgreSQL, ClickHouse, Redis or Valkey, and S3-compatible blob storage. The v3 to v4 guide requires ClickHouse 25.12 or later (26.4 recommended), PostgreSQL 15 or later and Redis 7.0 or later, and moves to an observations-first data model with a backfill of historic data. Teams should confirm their current versions against the Langfuse v3 to v4 upgrade guide before scheduling anything.
Who should run it depends on how much of the architecture work the internal team already owns. Teams with strong Kubernetes, PostgreSQL and ClickHouse operations often keep the platform work and bring in help for the data mapping and cutover checks. Teams without those skills, or facing a forced major upgrade on a tight calendar, usually scope the whole migration as a fixed-scope project with written deliverables. Whoever runs it, agree early on who owns the backfill decision, who signs off on cutover, and how the team will confirm that ingestion is working in the new system. Ask any partner to show how they would handle the backfill headroom and rollback path in your environment, not only the installation steps.
What a Langfuse migration project includes
A migration touches more than the Langfuse server. The deliverables below connect the target environment, the data move, the application changes and the handover, so each one has to be agreed in the written scope before work starts. Confirm early which source you are moving from, because the data export path and the cutover window depend on it.
Target architecture in your infrastructure
The target is a self-hosted deployment of two application containers, Langfuse Web (UI and APIs) and Langfuse Worker (asynchronous event processing), backed by PostgreSQL, ClickHouse, Redis or Valkey, and S3-compatible blob storage. Decide early between Docker Compose on a single VM, which Langfuse documents for testing only, and Kubernetes with Helm or Terraform for production. Confirm the cloud account, network paths and storage class with your platform team before sizing begins.
Self-hosting docsData export, import and cutover plan
Define what history moves, what stays in the source tool, and how traces, prompts, scores and datasets are exported and loaded. Agree a cutover sequence that keeps both systems receiving traces during the switch, and a rollback path if the target falls behind. Ask for the export format, row counts and the validation query used to compare the two systems.
Instrumentation changes in client applications
Each application that sends traces needs a change to its SDK configuration, host, keys and, where relevant, OpenTelemetry exporter settings. Inventory every service, notebook and batch job that writes traces, because a missed one will silently keep sending to the old tool. Plan user and session attribute propagation so historic and new traces stay comparable in filters.
SSO and access setup
Connect the instance to your identity provider through Auth.js providers such as Okta, Entra ID, Keycloak or generic OIDC, and decide whether password sign-in is disabled or SSO is enforced for given email domains. Confirm which controls need an Enterprise license key, including project-level RBAC roles and SCIM. Test sign-in with leavers and contractors as well as standard staff.
SSO docsValidation and acceptance checks
Agree the checks that prove the migration worked: trace counts per project, sample trace comparisons, prompt version parity, dashboard and evaluation results, and ingestion latency under expected load. Record each check with an owner and a pass condition in the written scope. Without this list, acceptance becomes a judgement made on the day of cutover.
Handover and operating runbook
Hand over the architecture diagram, configuration inventory, secrets locations, backup and restore steps, and the upgrade path for future major versions. Your team should be able to run a restore test and locate the ClickHouse and PostgreSQL version requirements without the partner present. Ask whether the handover includes a recorded walkthrough and a named contact for the first weeks after go-live.
What makes a Langfuse migration cost more or take longer
This table lists the factors that most often move the effort and calendar of a Langfuse migration, with why each matters and how to keep it under control. Read it before requesting a quote, because the same scope can differ widely depending on the source tool, the Langfuse major version you start from and the size of your trace history.
| Driver | Why it changes effort | How to reduce it |
|---|---|---|
| Trace volume and history | Historic traces must be moved or backfilled into ClickHouse, and larger volumes lengthen transfer, validation and cutover windows. | Decide early how much history must move, and separate required data from data that can stay in the old system for reference. |
| Source type: Langfuse Cloud or another tool | Moving from Langfuse Cloud is mostly a self-hosted rebuild with data export. Moving from another observability tool also means remapping traces, scores and prompts to Langfuse's model. | Inventory the source's export options and map its trace, score and prompt fields to Langfuse concepts before estimating. |
| Current Langfuse major version | Starting from v2 means adding ClickHouse as part of the move. Starting from v3 means planning the v3 to v4 data model change and backfill, which the v3 to v4 guide describes. | Confirm your running version and read the matching upgrade guide before scoping, since v2 to v3 and v3 to v4 are separate architecture changes. |
| Number of projects and SDK integrations | Each project, API key and application instrumentation change needs testing, and older SDKs may need upgrades to work with the target version. | Group applications by SDK and version, and migrate low-risk projects first to build a repeatable pattern. |
| Kubernetes versus single VM | Docker Compose on a single VM is documented for testing without high availability. A production Kubernetes deployment needs cluster, ingress, secrets and storage work on top of the application. | Confirm whether the target is a test or production environment, and reuse existing cluster tooling and Helm or Terraform practices where possible. |
| ClickHouse backfill headroom | The v3 to v4 guide advises about 3x ClickHouse disk headroom when backfilling historic data, so undersized storage can stop the migration. | Measure current ClickHouse disk use and provision headroom before the backfill starts, and confirm the figure against the upgrade guide. |
| Data store version requirements | The v3 to v4 guide requires ClickHouse 25.12 or later, PostgreSQL 15 or later and Redis 7.0 or later. Older data stores must be upgraded first, which adds a separate work stream. | Check current versions of every data store in the target environment and schedule upgrades ahead of the Langfuse change. |
| SSO and compliance requirements | Connecting to an identity provider, enforcing SSO by domain and producing evidence for an assessor adds configuration, testing and review steps. | Settle identity provider integration, access model and audit evidence requirements in the scope before build starts. |
| Edition choice | Features such as project-level RBAC, audit logs, data retention and SCIM need an Enterprise license key, which adds licensing review and may add vendor support engagement. | List the required features early, then confirm with Langfuse which ones need a key so the choice is made once, not mid-project. |
Migration phases and the output of each
The sequence moves your Langfuse data and instrumentation from the source tool into a self-hosted target you can review, with a checkpoint at each phase so that no production cutover happens before the data and rollback path have been proven. Each phase ends with a named output that your team signs off before the next one starts.
Inventory source data and integrations
DeployOpen catalogs what exists in the source system: projects, traces and observations, datasets, scores, prompts and prompt versions, users and roles, API keys, and every application, SDK or framework that sends traces. For Langfuse Cloud sources, the inventory also notes which features your team depends on, since self-hosted features that need an Enterprise license key differ from the open source baseline. For other LLM observability tools, the inventory maps their data model to Langfuse objects and flags anything without a direct equivalent. The output is a written inventory with a data-retention decision for each data class and a list of integrations to re-point. The step is done when your data owner has approved both.
Design the target architecture and sizing
DeployOpen defines the target deployment: Docker Compose on a single VM for testing only, or Kubernetes with Helm or Terraform for production, with Langfuse Web, Langfuse Worker, PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible blob storage placed inside your cloud account, data center or air-gapped network. Sizing starts from the minimum resources in the Langfuse scaling guide and is adjusted for your expected ingestion volume, retention period and backfill needs. The output is an architecture decision record, a sizing sheet and a list of network, identity and secrets dependencies. Your infrastructure and security teams confirm the design before any build begins. Ask the partner for the written scope to name which of these components you are responsible for operating.
Build the non-production environment
DeployOpen builds a non-production Langfuse environment that matches the target design, including SSO configuration, backups and monitoring hooks, using the upgrade and version guidance for the Langfuse release you have chosen. Where your source is an earlier major version, the build follows the dedicated migration guide and confirms the required data store versions before startup. The output is a working staging instance with a deployment record, a list of configuration keys and a smoke-test result showing that the web, worker and data stores start cleanly. The step closes when your platform team has logged into the environment and reviewed the configuration.
Rehearse the data move or backfill
DeployOpen runs the data move or backfill against a copy of the source data in staging, measuring the time and disk growth observed and comparing record counts, scores and prompt versions between source and target. For Langfuse v3 to v4 upgrades, the rehearsal checks the ClickHouse disk headroom advised in the upgrade guide, since backfilling historic data needs room beyond the steady-state footprint. The output is a rehearsal report with reconciliation results, the measured resource profile, and a go or no-go recommendation for production. Confirm the expected duration with DeployOpen in the written scope, because it depends on your data volume, which is established in this phase.
Cut over instrumentation
DeployOpen updates each application, SDK and framework to send traces to the new endpoint, using native Langfuse SDKs or the OpenTelemetry route where that suits the codebase. Changes are made in a feature branch, tested against staging, and promoted in small groups so that trace gaps can be attributed to a specific change. Public and secret keys are rotated into your secrets store rather than embedded in code. The output is a cutover log listing every application, its new configuration, and its verification trace in the target instance. The step is done when each source has produced traces in the new environment and your application owners have confirmed them.
Execute production cutover with a rollback plan
DeployOpen runs the production cutover in a window your team agrees in advance, freezing writes to the source, running the final data move, switching instrumentation, and verifying trace ingestion, prompt retrieval and score writes. The rollback plan is written before the window and states the conditions that trigger it, the steps to re-point applications to the source, and who has authority to call it. The output is a signed cutover record, a rollback runbook that has been tested in staging, and a post-cutover check result. Ask the partner to show how the rollback was rehearsed and what retention applies to the source data after cutover.
Hand over operations and documentation
DeployOpen hands the environment to your operators with runbooks for backups, restore testing, routine version checks and the signals that ingestion is falling behind. The hand-over includes architecture and configuration documentation, access records, the decommission plan for the source system and the list of open items. Support after go-live, upgrades and any continuous testing are covered by whatever retainer or support arrangement is in the written scope. The output is an accepted hand-over pack and a signed closure record. The engagement closes when your named owner accepts it in writing.
How the migrated Langfuse components connect
Traces start in client applications, either through the native SDKs or OTLP at the /api/public/otel endpoint, and land in Langfuse Web, which serves the UI and APIs. Web hands asynchronous event processing to Langfuse Worker, which writes to ClickHouse for trace and observation data, to PostgreSQL for metadata, and to S3-compatible storage for blobs, with Redis or Valkey coordinating the queue. Everything sits inside the client's network boundary, so check that the migrated ClickHouse and blob storage paths are reachable only from the Web and Worker containers.
Trace flow from client applications through Langfuse components inside the client network.
How the migration differs by starting point
Moving from Langfuse Cloud is mainly a data export and re-instrumentation exercise, because self-hosted Langfuse runs the same codebase as the managed service. The work is less about changing the product and more about deciding which historic traces, datasets and prompt versions must come across, and how applications switch their endpoints without losing continuity during cutover.
- Data scope: Decide which traces, scores, datasets and prompt versions are needed for history, and which can be left in the cloud project for reference.
- Endpoint switch: Plan the change of host and API keys in each application, and run old and new projects in parallel for a defined window.
- Prompt continuity: Confirm prompt labels and versions are recreated in the new instance so applications resolve the same prompts.
- Feature gaps: Check which features you rely on, such as project-level RBAC, audit logs or data retention, since several need an Enterprise license key.
- Sizing for imported history: Estimate ClickHouse and blob capacity against the volume you expect to load, not only the daily trace rate.
Confirm with Langfuse which export options currently apply to your plan and data volume before committing to a cutover date.
Moving from a different LLM observability tool usually means the source data model does not map one to one onto Langfuse. The migration is therefore a mapping exercise: traces, spans, generations, scores and prompts must be translated, and some fields may need to be kept as metadata instead of first-class attributes.
- Model mapping: Document how the source tool's traces, spans and feedback map onto Langfuse observations, scores and sessions.
- Instrumentation path: Decide whether applications move to native Langfuse SDKs or to OpenTelemetry export, which affects how much code changes.
- Historic data: Confirm whether the source tool allows bulk export in a usable format, and whether lossy conversion is acceptable for old records.
- Dual running: Send traces to both tools for a period so teams can compare outputs before retiring the old tool.
- Access and identity: Map existing user roles and SSO groups to the self-hosted instance, and confirm which controls need an Enterprise key.
Confirm the source tool's export formats and API limits in writing with its vendor before estimating the mapping work.
The v2 to v3 move is an architecture change, not only a version bump. Version 3 adds ClickHouse as an analytics store alongside PostgreSQL, and Redis or Valkey and S3-compatible blob storage are part of the standard self-hosted layout. The plan must provision these components before the application cutover.
- New stores: Provision ClickHouse, Redis or Valkey and blob storage, sized against the scaling guide's minimum resources and your trace volume.
- Two-container layout: Deploy Langfuse Web and Langfuse Worker, both of which must be configured to reach the new stores.
- Data movement: Decide how existing v2 data is handled, since the migration guide for each major version governs what is carried over.
- Helm users: Check whether the chart uses bundled data stores, because the chart version path affects the upgrade order.
- Rollback plan: Keep the v2 instance and its database available until the v3 instance has run through a full reporting cycle.
Read the v2 to v3 migration guide for your exact version and confirm each step with Langfuse before scheduling.
The v3 to v4 move changes the ClickHouse data model to an observations-first structure and requires a backfill of historic data. Version requirements are strict: ClickHouse 25.12 or later (26.4 recommended), PostgreSQL 15 or later and Redis 7.0 or later. Helm users with bundled data stores must first upgrade the chart from v1 to v2.
- Version checks: Confirm ClickHouse, PostgreSQL and Redis versions meet the minimums before any upgrade step begins.
- Disk headroom: Plan for about 3x ClickHouse disk headroom during the backfill, as stated in the v4 guide.
- Helm order: Upgrade the bundled-store Helm chart from v1 to v2 first, then upgrade Langfuse to v4.
- SDK compatibility: Python SDK v5 and JS/TS SDK v6 need Langfuse v4.59.0 or later, so plan application releases around the server upgrade.
- Backfill timing: Decide whether historic data is backfilled before cutover or left to run while the new version serves live traffic.
Check the current release notes on the GitHub releases page, since the latest listed release may differ from the version you target.
Air-gapped and Kubernetes environments change how images, charts and blob storage reach the cluster. Langfuse documents Kubernetes deployments with Helm or Terraform on AWS, Azure and GCP for production. In an air-gapped network, images, chart packages and migration tooling must be mirrored in before work starts, and no step can depend on outbound internet access.
- Artifact mirroring: Mirror container images, Helm charts and any migration tooling into the internal registry before the migration window.
- Blob storage: Confirm the internal S3-compatible store is reachable by both Web and Worker and supports the required operations.
- Scaling and separation: Plan whether langfuse-web needs separate ingestion and UI deployments under heavy load, as the scaling guide recommends.
- Identity and certificates: Validate the internal OIDC provider and certificate chain before cutover, since SSO depends on them.
- Change control: Schedule upgrades through the cluster's change process, with a tested rollback for each data store.
Confirm with your platform team which registry, storage and identity services are approved inside the boundary before drafting the migration sequence.
Which migration work stays in-house and which goes to a partner
This table splits Langfuse migration work into items your team should own and items a partner typically leads, with the skills each one needs. Use it to decide where internal staff are essential and where outside engineering capacity reduces risk, then confirm the split in the written scope.
| Work item | Who leads | Skills required |
|---|---|---|
| Decide which traces, prompts and datasets migrate | Client | Product owners and ML or application leads who know which history must be kept |
| Assign data owners and retention rules | Client | Data governance and compliance staff who can classify trace content and approve retention |
| Confirm application code changes to SDK and OTEL endpoints | Client | Application developers who own the instrumented services and can deploy SDK updates |
| Approve cutover timing and rollback criteria | Client | Engineering managers and service owners who can accept tracing gaps during cutover |
| Design target architecture (Web, Worker, PostgreSQL, ClickHouse, Redis or Valkey, blob storage) | Partner | Platform engineers experienced with Kubernetes or Compose deployments and Langfuse component sizing |
| Build and test data migration tooling and exports | Partner | Engineers who can script moves between Langfuse instances and validate record counts and content |
| Execute backfill and monitor ClickHouse disk and ingestion | Partner | Database engineers who can plan ClickHouse headroom and watch ingestion lag during backfill |
| Rehearse v3 to v4 upgrade and Helm chart upgrade in a staging copy | Partner | Release and DevOps engineers who can run the migration guide, check version requirements and document rollback |
What usually goes wrong in a Langfuse migration
How much ClickHouse disk headroom do we need for a v3 to v4 backfill?
Plan for about 3x ClickHouse disk headroom above your current data size when backfilling historic data during the v3 to v4 move, according to the Langfuse v3 to v4 upgrade guide. Teams often size disks for steady-state trace volume and then run out of space mid-backfill, which can stall ingestion. Prevention: measure current ClickHouse disk usage, multiply by the guided headroom, confirm the figure with your own retention settings, and expand storage before you start the backfill. Watch free space during the run and keep a rollback plan if it drops too low. The Langfuse v3 to v4 guide sets out the requirements.
What happens if we upgrade to Langfuse v4 without updating the Helm chart?
If you use the bundled data stores in the Helm chart, you must upgrade the chart from v1 to v2 before you upgrade Langfuse to v4. Skipping this step can leave the deployment in a mismatched state that is hard to diagnose during a live cutover. Prevention: check which data stores your chart deploys, upgrade the chart in a staging environment first, confirm the chart version and Langfuse image tag together, and record both in your change plan. Confirm the exact steps against the upgrade guide before scheduling the production change.
Why do our SDKs stop sending traces after the Langfuse upgrade?
Newer SDKs need a newer Langfuse server. The Python SDK v5 and the JS/TS SDK v6 require Langfuse v4.59.0 or later, so an application that upgrades its SDK before the server, or a server rolled back below that version, will see failures or missing data. Prevention: inventory every service and its SDK version, upgrade the Langfuse server first, then move SDKs in a controlled order, and test one service in staging before the rest. Pin SDK versions in your lock files so a routine dependency update does not change them unexpectedly.
How do we keep trace history continuous during cutover from Langfuse Cloud?
Continuity depends on running both sources during a defined overlap window, not on a single switch. Teams that point applications at the new instance and stop writing to the old one without a plan often end up with gaps in session views, broken trace links and prompt versions that do not match what ran in production. Prevention: decide which historical data you need to carry over, document the export and import approach you will use, dual-write or double-export for an agreed period, and check that trace IDs, user IDs and session IDs look the same in both systems before you retire the old source.
Which SSO and RBAC features need an Enterprise license key?
Project-level RBAC roles, protected prompt labels, data retention policies, audit logs, server-side data masking, UI customization, the org management API with SCIM and the instance management API need an Enterprise license key on self-hosted Langfuse. Teams that assume these come with the open source build may find access controls missing on the day users arrive. Prevention: list the access model and compliance controls you need before cutover, check each against the license key documentation, and confirm the edition and pricing with Langfuse before you commit a go-live date. Plan SSO setup separately, since configuration depends on your identity provider.
Can we skip a rehearsal and migrate straight to production?
You can, but a production-first migration gives you no safe way to find sizing, version or configuration problems before real traces depend on the system. A rehearsal in a staging environment built from the same versions, data store settings and storage layout shows the real duration of migrations, the disk growth during backfill and the SDK behavior under your traffic. Prevention: run at least one full rehearsal that includes the data store upgrades, backfill and rollback steps, record the timings and disk use, and fix anything that differs from the plan before scheduling production. The effort and duration of the rehearsal depend on your data volume and environment, so ask any implementation partner to state the assumptions in the written scope.
What should we ask an implementation partner about migration risk?
Ask for a written scope that names the source system, target versions, data store requirements, the rehearsal plan and the rollback path. Also ask who owns each step and what evidence they will hand over. DeployOpen plans, implements, upgrades and documents self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. A quote follows from that written scope, and DeployOpen does not publish a price list. Ask the partner to show how it handles each risk above before you approve the scope.
Recurring costs after a Langfuse migration
The recurring cost of self-hosted Langfuse is mostly infrastructure and people, and the infrastructure starts with the data stores. A self-hosted deployment runs Langfuse Web and Langfuse Worker alongside PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible blob storage. The Langfuse scaling guide lists minimum resources of 2 CPU and 4 GiB each for web, worker and PostgreSQL, 1 CPU and 1.5 GiB for Redis or Valkey, and 2 CPU and 8 GiB for ClickHouse, with at least 16 GiB of ClickHouse memory for larger deployments. Those are floors, not budgets. Trace volume, retention period and ingestion bursts decide how far above the floor you will run, and ClickHouse disk growth is the line item most likely to surprise a team after migration. Ask your platform team to price these resources in your own cloud account or data center, and to model disk growth against your expected trace volume.
Upgrades recur too. Updates within a major version apply database migrations automatically at startup, but major upgrades, such as the v3 to v4 move with its observations-first ClickHouse data model and backfill, need planned test windows, extra disk headroom and an upgraded Helm chart if you run bundled data stores. The v3 to v4 guide advises about 3x ClickHouse disk headroom during backfill, so that headroom is a recurring capacity decision as well as a one-time migration cost. Internal skills are the other recurring cost: someone must own backups, ClickHouse operations, SDK version compatibility and on-call response when ingestion falls behind. Estimate that effort as a share of existing platform roles and confirm who is accountable for it after go-live.
The main licensing choice is between the free open source plan and the custom-priced Self-Hosted Enterprise plan. The open source version includes all core features and APIs without limits. The Enterprise plan adds a named support engineer, solutions architect access and a support SLA, and it unlocks features such as project-level RBAC, audit logs, data retention policies and SCIM, which your compliance team may need. Compare the enterprise features you require against the open source scope before deciding. Request a quote from DeployOpen based on a written scope that lists your data stores, environments, upgrade plan and support expectations, since DeployOpen does not publish a price list.
Langfuse migration questions buyers ask
What drives the cost and effort of a Langfuse migration?
The main drivers are the size of your trace and prompt history, the number of applications and SDK integrations that must be repointed, and whether you are moving from Langfuse Cloud, another observability tool or an older self-hosted version. Data volume decides how much ClickHouse capacity and backfill time you need, and each instrumented service adds testing work. Compliance requirements such as retention, access review and audit evidence add scope. Ask any provider for a quote built from a written inventory of sources, data volumes, environments and cutover rules. Costs split into one-time work (design, deployment, migration, validation) and recurring costs (infrastructure, upgrades, support).
How long does a self-hosted Langfuse migration take?
No timeline is fixed in the sources for this work, so duration depends on your own inventory and environment. The biggest variables are how many applications must switch their SDK or OpenTelemetry endpoint, how much historic data must be moved or backfilled, how many environments need approval, and how long your team takes to review access controls and infrastructure. Major version moves such as v2 to v3 or v3 to v4 add their own planning, because the v3 to v4 guide requires specific ClickHouse, PostgreSQL and Redis versions and advises extra ClickHouse disk headroom during backfill. Ask for a phased plan with dependencies and go-live criteria before accepting any date.
Can our own team migrate to self-hosted Langfuse without a partner?
Yes, many teams do this in-house, provided they have people who can run Kubernetes or Docker Compose, operate PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible storage, and change application instrumentation. Langfuse documents Docker Compose on a single VM for testing only, and Kubernetes with Helm or Terraform for production on AWS, Azure and GCP, so production planning is a real infrastructure project. Check whether your team has capacity for parallel work: running the old and new systems side by side, validating trace data, and handling an upgrade afterward. A partner can take over parts of that work under a fixed scope, but the decision should rest on your skills and staffing.
What does the migration require from our team?
Expect to supply access and decisions, not just approval. Engineering needs to list every application sending traces, prompts and scores, and to confirm which SDK or OpenTelemetry path each one uses. Platform teams must provide cloud accounts or data center capacity, networking, DNS, certificates and an identity provider for SSO. Security and compliance staff need to define data handling, retention, masking and who may view prompts and traces. Someone must own cutover, rollback and sign-off. Ask any provider to state these inputs in the written scope so gaps are found before work starts, not during cutover.
Does the MIT open source version of Langfuse have the same features as Langfuse Cloud?
Langfuse states that all core features and APIs are available in the MIT-licensed open source version without limits, and that self-hosted deployments use the same codebase as Langfuse Cloud. The separate enterprise license applies only to content under the ee/, web/src/ee/ and worker/src/ee/ directories. Confirm the current scope against the repository LICENSE file and the Langfuse documentation for your target version, since feature boundaries can change between releases. Your migration plan should still test each workflow you rely on in Cloud, because the same code does not remove differences in your infrastructure, network or identity setup.
Which features need a Langfuse Enterprise license key?
Self-hosted Langfuse lists several features that need an Enterprise license key: project-level RBAC roles, protected prompt labels, data retention policies, audit logs, server-side data masking, UI customization, organization creators, and the org management API with SCIM and the instance management API. Before migrating, list which of these your current setup uses or your compliance team requires, because a migration may otherwise remove controls you depended on. Note that SSO through supported providers is described in the authentication documentation, so confirm with the vendor which identity features your chosen edition includes. The Self-Hosted Enterprise plan is custom-priced and adds a named support engineer, solutions architect access and a support SLA, so request its terms in writing if you need them.
What extra work do v2 to v3 or v3 to v4 upgrades add to a migration?
Major upgrades follow dedicated migration guides, while updates within a major version apply database migrations automatically at startup. The v2 to v3 move adds ClickHouse to the architecture, so it changes your infrastructure, not only the application. The v3 to v4 guide moves to an observations-first ClickHouse data model and advises about 3x ClickHouse disk headroom when backfilling historic data. Helm users with bundled data stores must upgrade the Helm chart from v1 to v2 before upgrading to v4. SDK compatibility also matters: Python SDK v5 and JS/TS SDK v6 need Langfuse v4.59.0 or later. Ask for a version plan that covers each step, its rollback path and the storage and version requirements for each one.
How DeployOpen scopes, delivers and hands over a Langfuse migration
The sequence runs from a written scope through discovery, staged cutover and handover, so the client's team ends up owning a self-hosted Langfuse they can operate, upgrade and review. Each stage closes with a named output the client signs off on before the next begins.
Agree the written scope and source inventory
DeployOpen and the client list the source systems to move from, whether that is Langfuse Cloud, another LLM observability tool, or an older self-hosted Langfuse release. The scope document covers which projects, prompts, datasets, scores and API integrations are in or out, which environments are included, and who on the client side approves each decision. Deliverables and timelines are written into the agreement before any work starts, and the client confirms the inventory is complete. The output is a signed scope with a fixed deliverables list.
Confirm the target architecture and version path
The team checks the hosting target (Docker Compose on a single VM for testing, or Kubernetes with Helm or Terraform for production on AWS, Azure or GCP), then confirms the data store versions against the upgrade guide, including ClickHouse 25.12 or later, PostgreSQL 15 or later and Redis 7.0 or later when the target is v4. Where the client is moving from v2 to v3 or from v3 to v4, the plan records the ClickHouse disk headroom needed for backfill, and whether a bundled Helm chart must first move from v1 to v2. The output is an architecture decision record and a version path the client's security and platform teams have reviewed.
Build the environment in the client's infrastructure
DeployOpen provisions Langfuse Web, Langfuse Worker, PostgreSQL, ClickHouse, Redis or Valkey and S3-compatible blob storage inside the client's own cloud account, data center or private network. Sizing follows the minimum resources in the scaling guide, adjusted to the volume the client confirmed in discovery. SSO, secrets handling and network exposure are configured in this stage so the environment matches the client's controls before any data moves. The output is a staging environment the client's engineers can log into, plus a configuration record of every setting that differs from defaults.
Migrate data and validate it against the source
The team moves prompts, datasets, traces and scores using the export and API paths available for the source system, then runs the backfill where the target version requires it. Record counts, sample traces and prompt versions are compared between source and target, and any gaps are logged and resolved before cutover. Where backfill is used, DeployOpen monitors ClickHouse disk use against the headroom planned earlier. The output is a reconciliation report that the client signs off on.
Cut over instrumentation and run parallel checks
Application SDKs, OpenTelemetry exporters and API integrations are repointed to the self-hosted endpoint, with SDK versions checked against the Langfuse release, since Python SDK v5 and JS/TS SDK v6 need Langfuse v4.59.0 or later. Traffic runs in parallel with the source for an agreed window so the client can compare traces and evaluations side by side. The cutover date is set in the scope, not by default. The output is a signed cutover checklist with each integration marked as moved.
Harden, back up and test recovery
Before production traffic is accepted, DeployOpen sets up backups for PostgreSQL, ClickHouse and blob storage, confirms retention and access settings, and runs a restore test into a separate environment. Security controls such as network restrictions, encryption and audit logging are checked against the client's requirements, and any features that need an Enterprise license key are identified and confirmed by the client before they are relied on. The output is a restore test record and a controls checklist the client's security team can review.
Hand over documentation and runbooks
The handover package includes the architecture diagram, configuration record, environment inventory, backup and restore procedures, upgrade notes covering the migration guides for future major versions, and a list of signals the client's operators should watch, such as worker load and ingestion lag. DeployOpen walks the client's engineers through operations and records who on the client side owns each runbook. The handover is complete when the client's team has run a restore or upgrade procedure in a non-production environment and confirmed the documentation matches what they see.
Agree optional retainers for ongoing support
After handover, the client can choose a retainer for ongoing support, upgrades and continuous testing, or run the platform with its own team. The retainer scope, response expectations and included upgrade work are written as a separate agreement, and the client should confirm whether any support level it needs is available only on the Self-Hosted Enterprise plan. The output is a documented choice between internal ownership and a retainer, with the retainer terms recorded in writing.

