Langfuse launches AI Gateway Learn more
Self HostingLicense Keys
Version: v4

License keys

All core Langfuse features and APIs are available in the open-source edition without a license key. Enterprise and Government keys unlock additional features for self-hosted deployments.

Included features

Both Enterprise and Government include:

Government additionally supports FIPS mode and sends no telemetry. Enterprise sends limited telemetry for license compliance. See telemetry details.

Compare plans on the self-hosted pricing page.

Activate your key

Set this environment variable on both the web and worker containers, then redeploy:

LANGFUSE_EE_LICENSE_KEY=<your-license-key>

Use the same variable for either key type. Government keys start with lf_gov_.

To enable FIPS mode, also complete the FIPS setup.

Removing a key? See How do I remove my license key? in the self-hosting FAQ.


If you experience any issues when self-hosting Langfuse, please:

  1. Check out Troubleshooting & FAQ page.
  2. Use Ask AI to get instant answers to your questions.
  3. Ask the maintainers on GitHub Discussions.
  4. Create a bug report or feature request on GitHub.

Enterprise-grade support is available when self-hosting Langfuse. Learn more on our pricing page.


Was this page helpful?

Last updated on