Langfuse customization

Langfuse customization shapes self-hosted tracing, scores, evaluations and prompt workflows to your teams. This page explains what the work covers, what drives its cost, and which changes need an Enterprise license key.

On this page

Langfuse customization: when teams hire help to shape tracing around their workflows

A self-hosted Langfuse instance can be running and still not match how your teams build and review LLM features. Customization is the work of adapting instrumentation, custom scores, evaluations, prompt conventions and public API usage so traces and reviews reflect your workflows. Most teams with an internal engineering group can do much of this in-house, because the core features and APIs are the same in the MIT-licensed open source version and in the Enterprise edition. The harder questions are which changes need a license key and who owns the conventions after go-live.

Three triggers usually start this work. The first is a new LLM application that needs its own trace structure, user and session attributes, and score definitions. The second is a regulated review of prompts, where security or compliance teams want to know who changed a prompt, which label is live, and whether a protected label can be changed by everyone. The third is an evaluation program, where teams need consistent scores across applications so results can be compared over time. Each trigger touches the same decisions: how spans are named, which scores are required, and where prompt versions are promoted.

Decide the edition early, because it changes the design. Project-level RBAC roles, protected prompt labels, data retention policies, audit logs, server-side data masking, UI customization and the SCIM and instance management APIs all require an Enterprise license key, according to Langfuse's license key documentation. If your review model depends on protected labels or masking, build those conventions only after confirming the key covers them. Ask your team to list the controls their reviewers expect, then check each against the current docs before writing instrumentation that assumes them.

What Langfuse customization work includes and what you receive

Langfuse customization is mostly about making traces, scores and prompts consistent enough that your teams can query them the same way across applications. The six components below connect through shared naming and metadata conventions, and each one ends with a written artifact your team keeps. Confirm each API capability against the current Langfuse documentation before the build starts.

Instrumentation naming conventions

We define how traces, spans and generations are named, and which user, session and environment metadata every application must attach. The deliverable is a naming guide with examples, a required-attributes list, and a sample instrumentation module your developers can copy. Check that the conventions match how your teams filter traces during incidents, because names that look tidy in a design review often fail under query pressure.

OpenTelemetry docs

Custom score definitions

We design the scores that represent quality for your use cases, including data type, value range, allowed categories and who writes each score. The deliverable is a score catalog that lists each score's definition, owner and intended use, plus the code that writes scores from your application. Confirm which score types your Langfuse version supports before you commit to a catalog, since type choices are hard to change once historic scores exist.

Evaluation pipelines

We build the evaluation workflow your team will run, which may combine manual review, LLM-as-judge scoring and code-based checks, depending on what the chosen Langfuse features support. The deliverable is working evaluation scripts, a runbook for triggering and reviewing runs, and a note on known judge-model limits. Confirm the evaluation methods available in your version, and decide who approves judge prompts before they score production traces.

Prompt management conventions

We set rules for prompt naming, versioning, labels and promotion from development to production, so application code loads the right version predictably. The deliverable is a prompt conventions guide, label definitions, and a checklist for reviewing prompt changes before release. Confirm whether your deployment needs protected labels, which require an Enterprise license key, before you assign ownership of production labels.

License key docs

Public API integrations

We connect Langfuse data to internal tools, such as reporting, ticketing or data warehouses, using the public API and SDKs. The deliverable is working integration scripts, a credential handling note, and a runbook covering rate limits, failure handling and scheduled exports. Confirm the endpoints and their limits in the current API reference, and avoid building on undocumented routes that may change between releases.

Edition-gated feature decision record

We document which customizations you need and whether each one requires the Self-Hosted Enterprise license, such as project-level roles, audit logs, data masking or UI customization. The deliverable is a written decision record that lists each feature, the license requirement, the alternative open-source approach if one exists, and the owner who accepts the trade-off. Confirm the current gated feature list with Langfuse before purchasing, since the list can change between releases.

Self-hosted pricing

Which Langfuse customizations need the Enterprise license key

Langfuse states that all core features and APIs are available in the MIT-licensed open source version without limits, and self-hosted deployments run the same codebase as Langfuse Cloud. For most customization work, this means you can shape Langfuse without buying a license. Typical open source work includes instrumenting applications with the native SDKs or OpenTelemetry, defining custom scores and running evaluations, managing prompts and naming conventions, and building internal tooling against the public API.

  • Instrumentation: Traces, spans and generations can be sent from application code, and OTLP traces can be accepted at the /api/public/otel endpoint.
  • Custom scores and evaluations: Scores and evaluation workflows that your teams define are part of the core feature set.
  • Prompt management: Versioning and conventions for prompts sit in the core product, so naming rules and review habits can be set by your team.
  • Public API: Integrations, reporting and data export built on the public API are not gated by the license key.
  • SSO sign-in: Supported identity providers can be connected in the open source version, while SCIM provisioning is a separate Enterprise feature.

Before committing to a design, confirm the exact behavior of each feature against the current self-hosting documentation for your Langfuse version.

What drives Langfuse customization cost and duration

This table lists the factors that raise or lower the effort of customizing self-hosted Langfuse, why each one matters and how to keep it contained. Read it before requesting a quote, since the scope items you agree on determine most of the cost and schedule. The main takeaway is that the number of instrumented applications, the conventions you must agree across teams, and the edition decision usually matter more than any single feature.

DriverWhy it mattersHow to keep it down
Applications and LLM features instrumentedEach application needs trace structure, naming and user or session attributes decided and tested. Effort grows with every service and workflow added.Start with the one or two highest-value features, reuse a shared instrumentation module, and confirm in the quote which applications are in scope.
Teams and projects needing separate conventionsDifferent teams often want different trace names, tags, score names and prompt folders. Each divergent convention adds design and review time.Agree one naming standard for trace, score and prompt names, and allow teams to extend it only through documented tags.
Custom scores and evaluatorsEach score needs a definition, a data type, a source (human, code or LLM judge) and validation. LLM-based evaluators also need prompt tuning and a check against human labels.Limit the first release to a small set of scores tied to decisions, and ask the quote to name each evaluator and how it will be validated.
Volume and quality of existing tracesHistoric traces with inconsistent names, missing attributes or sensitive content must be cleaned up or mapped before dashboards and evaluations are reliable.Sample existing traces to measure consistency first, and decide in writing which historic data is migrated, relabeled or left alone.
Prompt library size and review workflowA large prompt library with ad hoc review needs folder structure, labeling rules and a versioning process before it can be managed consistently.Scope a defined set of prompts for the first phase and document the review steps so they can be applied to later prompts.
Public API integrations with ticketing or data platformsConnecting traces, scores or prompts to ticketing, warehouses or internal tools means building and testing API clients, error handling and credentials management.Name each integration, its direction of data flow and its owner in the quote, and limit the first release to read-only or one-way exports where possible.
Edition choice and need for protected labels or RBACProject-level RBAC, protected prompt labels, data retention policies, audit logs, data masking, UI customization and SCIM need an Enterprise license key. Adding them later can change configuration and access design.Decide the edition before design starts, and ask the quote to separate the features that need a key from those available in the open source version.
Environments that must match (dev, staging, production)Instrumentation, scores and prompts must be configured and tested consistently across environments. Drift between them is a common source of rework.Keep configuration as code where possible and confirm in the quote whether staging validation is included for each change.

How customized instrumentation, scores and prompts flow through self-hosted Langfuse

Traces start in the LLM applications, either through the native SDKs or through OpenTelemetry sent to the /api/public/otel endpoint, and land in Langfuse Web and Langfuse Worker inside your infrastructure. Scores from human review, code-based checks and LLM-as-judge evaluators write back to the same traces, while applications pull versioned prompts from the Langfuse prompt store. The public API then feeds your internal dashboards and ticketing. Check which hand-offs depend on Enterprise features, such as protected prompt labels and project-level roles, before you design review workflows around them.

Traces, scores and prompts moving through a self-hosted Langfuse deployment.

Prompt management conventions that hold up across teams

Langfuse stores prompts with versions and labels, but it does not decide how your teams name, review, test or retire them. The six conventions below set those rules in writing before several teams share one self-hosted instance, and they flag which controls depend on an Enterprise key.

Naming and folder conventions

Agree on one pattern for prompt names, such as team, use case and purpose in a fixed order, and write it down before the first prompt is created. Use the same separator and casing everywhere, because application code, evaluation scripts and dashboards all refer to prompts by name. Confirm in the current Langfuse prompt docs how names and folders are organized, and plan how a rename would affect every caller that fetches the prompt by name.

Label strategy for environments

Labels such as dev, staging and production let an application fetch the version approved for its environment without a hard-coded version number. Keep the label set small and fixed, and document which label each environment reads. Confirm whether your SDK fetches by label or by version, because that choice decides how a release is promoted from one environment to the next.

Review and approval before a label moves

Moving a production label changes what live applications run, so define who may do it and what evidence they need first, such as an evaluation run and a sign-off recorded in your ticket system. In the open source version this is a team convention enforced by process. Restricting which roles can move protected labels is an Enterprise feature, so check the license key docs before you rely on that control.

License key docs

Versioning and rollback practice

Each edit creates a new version, so a rollback can be a label move back to the last good version without a change to application code. Test the rollback path on staging before you need it, and record the reason for each promotion and rollback in your change log. Confirm in the current docs how the SDK caches fetched prompts, because a cached copy can delay a rollback in running services.

Variable and template standards

Set one syntax for template variables, one naming style for them, and a clear rule for required versus optional inputs, so every prompt fills variables the same way. Document which variables the application supplies and which carry user-supplied text, since that is where prompt injection usually enters. Keep the full prompt, including system instructions and placeholders, in the template so reviewers see it in one place.

Linking prompt versions to traces and scores

Evaluations compare like with like only when each trace records the prompt that produced it and each score points to the same dataset and evaluator. Pass the prompt name and version through your instrumentation so traces carry them, and hold the evaluator and dataset fixed while you compare versions. Confirm with the current Langfuse docs how linked prompts appear in trace and score views, and test the link on a staging trace before you rely on it in a report.

Phases of a Langfuse customization project and the output of each

The sequence moves from understanding how your teams work with traces and prompts to a tested, documented setup that your evaluation owners have accepted and your operators can run. Each phase ends with a named artifact, so scope and sign-off stay visible throughout.

  1. Map workflows and existing traces

    The team reviews which applications, prompts and evaluations need to be visible in Langfuse, who uses each one, and what trace data already exists in Langfuse Cloud, another observability tool or application logs. Engineers and the product owners of each LLM workflow take part. The phase closes with a workflow inventory that lists each application, its trace sources, its users and the questions people need Langfuse to answer. Length depends mainly on how many applications and environments are in scope and how much existing tracing has to be mapped.

  2. Design conventions and score ownership

    Working with the people who will read the data, the team agrees on trace and observation naming, the user and session attributes to record, the tags and metadata keys, and a score catalog. Each score gets a name, a data type, a definition, an owner and the rule for when it is written. The output is a convention document and a score catalog that the owners have signed off. Expect more time when several teams must agree on shared names, since those decisions are hard to change once data has accumulated.

  3. Build instrumentation and evaluation pipelines

    Engineers add tracing to the applications using the agreed conventions, either through Langfuse SDKs or OpenTelemetry where that fits the stack, and build the scripts or jobs that write custom scores and run evaluations. Code is reviewed and kept in version control, and each evaluation job records which model and prompt version it used. The output is tested instrumentation code and evaluation scripts, with a short note on any gaps. The main cost driver is the number of distinct applications and frameworks that need changes.

  4. Set up prompt management workflow

    The team defines how prompts are created, versioned, labeled and promoted from development to production, and who may change each label. It also decides whether protected prompt labels are needed, since that feature requires an Enterprise license key, and confirms this with the vendor before design depends on it. The output is a prompt workflow guide and a set of configured prompts with labels that match the agreed process. Length depends on how many prompts exist and how many teams approve changes.

  5. Verify against sample traces

    Testers run the instrumented applications against a staging Langfuse instance and check the results against sample traces: attributes present, scores written with correct types, evaluations producing expected values, and prompt labels resolving to the right versions. Evaluation owners review a sample of results and confirm whether the scores match their judgment. The output is an acceptance checklist with each check marked pass or fail, and a list of any defects with owners. Verification ends when the evaluation owners accept the results in writing.

  6. Hand over runbooks and edition decisions

    The team delivers runbooks for adding a new score, changing a convention, rotating an evaluation job and troubleshooting missing traces, along with the code repository and configuration records. A decision record lists each edition-gated feature the design uses or considered, such as project-level RBAC, audit logs, data masking, retention policies or SCIM, with the decision made and who approved it. The output is the runbook set and the signed decision record. Ask for both before go-live so operators and compliance reviewers can work from them.

Which Langfuse customization work teams keep in-house and which they outsource

This table compares each customization work area by who usually owns it and where an outside partner tends to speed up the build. Teams should read it as a division of ownership: quality criteria stay with the team, while build acceleration, convention design and handover are the parts a partner commonly takes on. Outsourcing is optional for every row.

Work areaUsually in-houseUsually outsourcedSkills required
Product owner decisions on what to measureOwns the quality criteria, success measures and which failure modes matter for the productFacilitation workshops to turn vague goals into written measurement criteriaProduct knowledge, domain expertise, ability to define acceptable output
Application instrumentation in each serviceOwns trace boundaries, naming and which user and session identifiers are attachedInitial instrumentation of services, SDK setup and review of trace coveragePython or JS/TS development, OpenTelemetry basics, familiarity with each service's code paths
Custom score and evaluator designDecides which scores matter and how they map to business outcomesDrafting score schemas and mapping them to Langfuse score data typesEvaluation methodology, data analysis, understanding of LLM failure modes
Evaluator implementation and calibrationReviews evaluator results against human judgment and signs off on thresholdsBuilding evaluators, running calibration sets and tuning judge promptsTest design, statistics for label agreement, LLM-as-judge techniques
Prompt conventions and governanceApproves prompt ownership, change review and release labelsDesigning naming, versioning and label conventions, plus a written governance guidePrompt engineering practice, Langfuse prompt management features, change control
Public API integrationsSets which internal systems consume trace or score data and who may access themBuilding export jobs, dashboards and sync scripts against the public APIREST API design, authentication handling, data engineering
Edition decisions with licensing reviewDecides whether features gated by an Enterprise license key are requiredMapping required features to the license tiers and documenting the trade-offsFamiliarity with the MIT and enterprise license split, procurement and legal review

What goes wrong in Langfuse customization and how to prevent it

Most Langfuse customization problems come from conventions that were never written down, not from the software itself. The cards below cover naming, scoring, evaluation, prompt changes, API dependencies and Enterprise controls, each with a prevention step and the person who should check it.

Inconsistent trace naming

When each team names traces, observations and tags its own way, dashboards split one workflow into several unrelated series and filters miss traces. Agree a naming scheme for trace names, environments, user and session IDs, and tags before instrumenting more services. Owner: platform engineering lead, who should review new services against the scheme before they reach production.

Scores without agreed rubrics

A score such as quality or helpfulness means nothing across teams unless everyone applies the same definition, scale and threshold. Write a rubric for each custom score that states what each value means, who records it and whether it comes from a human reviewer, an automated check or a model. Owner: the product owner for each evaluated feature, who signs off the rubric before scores are used in reports.

LLM judges without human calibration

An LLM-as-judge evaluator produces confident numbers even when its criteria drift from what reviewers care about. Before trusting an evaluator, have domain reviewers label a sample of traces by hand, compare the results with the judge's scores and revise the judge prompt until the two agree closely enough for your purpose. Owner: the evaluation lead, who records the agreement check and repeats it after any judge prompt change.

Prompts edited in production

Editing a prompt directly in production changes model behavior for every user with no record of who changed it or why. Use prompt versions with labels such as staging and production, promote changes through a review step, and keep the rollback version identified before each release. Owner: the application owner, who confirms that production traffic uses a labeled version rather than an unreviewed draft.

Public API scripts coupled to internals

Reporting scripts and exporters that call the public API often depend on response fields or behavior that the documentation does not promise. These scripts can fail after a Langfuse upgrade even though the documented API still works. Pin SDK versions, keep a test suite that calls every endpoint your scripts use, and run it against a staging instance before each upgrade. Owner: the engineer who maintains the integration, who reruns the suite after each Langfuse or SDK change.

Langfuse upgrade guide

Enterprise controls assumed but not installed

Project-level roles, protected prompt labels, audit logs, data retention policies, server-side masking and SCIM need an Enterprise license key, so a deployment without one may not enforce them at all. Before a security review or go-live, confirm in the running instance which controls are active and document the ones that are missing. Owner: the security or compliance lead, who checks the license status and records each control as enforced, gated or not required.

Langfuse license key docs

What your team must provide before Langfuse customization starts

Customization goes faster when your team has settled a few decisions before the first workshop. Name a product owner for each LLM feature that will send traces to Langfuse. That person decides which prompts matter, which user and session attributes must be attached to traces, and which quality signals count as a pass or a failure. Without one owner per feature, custom scores and evaluations tend to be defined by whoever is available that week, and the resulting dashboards are hard to trust. Also list the internal systems the public API should feed, such as a data warehouse, a ticketing tool or an internal review queue, with the team that owns each one and the fields it expects.

Provide access to a self-hosted staging instance with representative traces. Traces from production are the most useful test input, but they often contain personal or confidential data, so your security or privacy team should approve how they are copied and masked before they leave production. Share your current prompt set and the review process you use today, including who approves a prompt change and how a change is rolled back. Confirm with your Langfuse contact which Enterprise features the design may depend on, such as protected prompt labels or project-level roles, and ask your legal or compliance contact to review the license position in the Langfuse license key documentation before those features are designed in.

Plan the time of your reviewers now. Each feature owner, a security reviewer and an engineer who can change application code will need recurring sessions during the work, and approvals of scores, evaluation criteria and prompt conventions can stall the schedule if they wait for one busy person. Ask each reviewer for a named backup. Agree the scope, deliverables, reviewer roles and acceptance criteria in writing before work starts, so that requests for new integrations or additional Enterprise features are priced as changes instead of absorbed silently.

Questions buyers ask about Langfuse customization before hiring help

Can Langfuse be customized without an Enterprise license key?

Yes, most customization works on the MIT-licensed open source version. Langfuse states that all core features and APIs are available there without limits, so instrumentation, custom scores, evaluations, prompt versioning and the public API do not need a key. Edition-gated items need a 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 or the instance management API. Confirm the exact list against the Langfuse license key docs before you scope the work, because a requirement such as protected labels or masking changes the edition decision.

What drives the cost and time of Langfuse customization?

The main drivers are the number of applications being instrumented, how many distinct score and evaluator types you need, how much your prompt workflow departs from the default, and whether any Enterprise-gated feature is required. Each application with its own trace conventions adds mapping and testing work. Custom evaluators add design, validation against human labels and ongoing tuning. Integrations with your identity provider, ticketing or data warehouse add separate effort. Ask any partner to show these drivers in a written scope, since a quote without them cannot be compared with your own estimate.

What does the customization work need from our team?

It needs named owners on your side who can make decisions quickly. Typically that means an engineering lead who can approve trace and score naming, a product or ML owner who defines what a good output looks like, and a security or compliance contact who reviews where prompts and traces may contain sensitive data. Access matters too: a non-production Langfuse instance, credentials for the applications being instrumented, and a sample of real traces to design against. Agree on these inputs before work starts so that scope does not drift while waiting for answers.

Can an internal team customize Langfuse alone?

Yes, a team with the right skills can do much of it alone, especially the instrumentation and score work. The skills needed are backend or application development for the SDK or OpenTelemetry integration, a working understanding of LLM evaluation and how to validate an automated scorer against human judgment, and API skills for the public API. Experience running Kubernetes or Docker Compose helps when changes touch configuration. Gaps usually appear in evaluator design and in upgrade testing. Assess those honestly against your team's current workload before deciding between building internally and bringing in a partner.

Do our customizations survive Langfuse upgrades, and what should we test?

Customizations built on the public API, SDK conventions and documented configuration usually carry through upgrades, but they still need testing. Langfuse applies database migrations automatically at startup within a major version, and major upgrades follow dedicated migration guides, so a custom integration can break at a major version boundary even when the API looks unchanged. Test trace ingestion from each instrumented application, score writes and reads, evaluator runs, prompt fetches by label and version, and any SDK version pinned in your code. Keep these checks in a repeatable suite and run them against a staging instance before each upgrade.

Can custom scores and evaluators stay inside our infrastructure?

Yes, when Langfuse is self-hosted in your cloud account, data centers or air-gapped network, the traces, scores and evaluation results are stored in your own PostgreSQL, ClickHouse and S3-compatible storage. Confirm the rest of the chain before assuming it stays inside. Evaluators that call an external model API send trace content to that provider, so the judge model must be hosted inside your boundary or approved for the data involved. Also confirm where evaluation code and any secrets for model providers are stored, and document that path for your security review.

What should a written quote for Langfuse customization contain?

A written quote should list the scope as specific deliverables: the applications to instrument, the score and evaluator definitions, the prompt conventions, any Enterprise-gated features and the license assumption behind them, and the environments covered. It should state what is excluded, what the client must provide and by when, the acceptance tests and who signs off, and the timeline with its dependencies. It should also separate one-time work from recurring work such as upgrade testing or support. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and quotes follow from that scope.

How DeployOpen scopes, builds and hands over Langfuse customization

DeployOpen starts by agreeing in writing which Langfuse customizations your team needs, then builds them inside your own infrastructure. Each engagement is fixed-scope, so deliverables and timelines are settled before work begins, and every change is documented for your own engineers to run.

How we scope

  • Inventory the applications, SDKs and workflows that will send traces, prompts and scores to Langfuse.
  • Decide which scores, evaluations and prompt conventions are needed and which stay on the open source feature set.
  • Confirm which Enterprise features, such as RBAC, protected prompt labels or audit logs, your requirements depend on.
  • Record scope, deliverables and timelines in a written agreement before any build work starts.

How we build

  • Instrument applications with the Langfuse SDKs or OpenTelemetry, following the naming and metadata conventions agreed in scoping.
  • Configure custom scores and evaluation workflows, and test them against representative traces in a non-production instance.
  • Build prompt management conventions and calls to the public API, then review them with your application owners.
  • Keep all changes in your repositories and infrastructure so your team can review and modify them later.

How we hand over

  • Document instrumentation patterns, score definitions, prompt naming rules and API usage for your engineers.
  • Walk through the configuration with the team that will operate Langfuse, including how changes are deployed and reviewed.
  • Provide a list of which customizations need an Enterprise license key and which work on the MIT-licensed version.
  • Agree on acceptance checks so both sides confirm the delivered scope before the engagement closes.

How we support

  • Offer ongoing support, upgrades and continuous testing for customizations as a retainer after handover.
  • Re-verify instrumentation and scores when Langfuse upgrades or SDK versions change, before those changes reach production.
  • Ask your DeployOpen contact to confirm retainer scope, response expectations and any support SLA in writing before signing.
  • Use the Langfuse Enterprise support plan separately if you need a named support engineer, which is quoted by Langfuse directly.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.