Langfuse joins ClickHouse! →Langfuse joins ClickHouse! Learn more →
Langfuse LogoLangfuse Logo
Hiring in Berlin and SFLooking for GOATS!
DocsSelf HostingGuidesIntegrationsFAQHandbookChangelogPricingLibrarySecurity & Compliance
GitHub
22K
Get DemoAppSign Up
  • Docs
    IntegrationsSelf HostingGuidesAI Engineering Library
  • Overview
  • Example Project
  • Ask AI
  • Get Started
  • Start Tracing
  • Use Prompt Management
  • Set up Evals
  • Products
    • Overview
    • Get Started
    • Concepts
      • Essential
      • Sessions
      • User Tracking
      • Environments
      • Tags
      • Metadata
      • Trace IDs & Distributed Tracing
      • Advanced
      • Comments
      • Corrections
      • User Feedback
      • Log Levels
      • Agent Graphs
      • Masking
      • MCP Tracing
      • Multi-Modality
      • Observation Types
      • Event queuing/batching
      • Releases & Versioning
      • Sampling
      • Token & Cost Tracking
      • Trace URLs
      • Query Data ↗
      • Metrics API ↗
      • Custom Dashboards ↗
      • Overview
      • Instrumentation
      • Advanced Features
      • Troubleshooting & FAQ
        • Overview
        • Python v3 → v4
        • Python v2 → v3
        • JS/TS v4 → v5
        • JS/TS v3 → v4
      • Python Reference ↗
      • JS/TS Reference ↗
    • Integrations ↗
    • Troubleshooting & FAQ
    • Overview
    • Get Started
    • Concepts
      • Essential
      • Link to Traces
      • Version Control
      • Playground
      • Advanced
      • Variables
      • Prompt Composability
      • Message Placeholders
      • Config
      • Prompt Experiments ↗
      • Caching
      • MCP Server
      • Webhooks
      • GitHub Integration
      • n8n Node
      • Guaranteed Availability
      • A/B Testing
      • Folders
    • Troubleshooting & FAQ
    • Overview
    • Concepts
      • LLM-as-a-Judge
      • Annotation Queues
      • Scores via UI
      • Scores via API/SDK
      • Score Analytics
      • Data Model
      • Datasets
      • Experiments via SDK
      • Experiments via UI
    • Guides ↗
    • Troubleshooting & FAQ
  • Platform
    • Overview
      • Custom Dashboards
      • Metrics API
      • Export to PostHog ↗
      • Export to Mixpanel ↗
    • Overview
      • Export from UI
      • Export to Blob Storage
      • MCP Server
      • Observations API
      • Public API
      • Query via SDKs
    • Auth
    • Authentication & SSO
    • Access Control (RBAC)
    • SCIM and Org API
    • Security
    • Audit Logs
    • Data Deletion
    • Data Retention
    • Security Docs ↗
    • Configuration
    • LLM Connections
    • Spend Alerts
    • Misc
    • Billable Units
    • Troubleshooting & FAQ
  • Security & Guardrails
  • More
  • Glossary
  • Roadmap
  • Docs MCP Server
    • API Reference ↗
    • Python SDK ↗
    • JS SDK ↗
    • Java SDK ↗
  • Security & Compliance ↗
  • Support ↗

On This Page

  • Python SDK
  • JS/TS SDK
Question? Give us feedback →Edit this page on GitHub
Contributors
Hassieb Pakzad
Hassieb Pakzad
Founding Engineer
DocsObservabilitySDKsUpgrade PathOverview

Upgrade paths

This page shows the migration guides to the latest versions of the Langfuse SDKs. Pick your SDK to follow the relevant migration steps.

Python SDK

  • Python SDK v3 → v4 — Latest
  • Python SDK v2 → v3

JS/TS SDK

  • JS/TS SDK v4 → v5 — Latest
  • JS/TS SDK v3 → v4
Troubleshooting & FAQPython v3 → v4
Was this page helpful?
Support

Platform

  • LLM Tracing
  • Prompt Management
  • Evaluation
  • Human Annotation
  • Datasets
  • Metrics
  • Playground

Integrations

  • Python SDK
  • JS/TS SDK
  • OpenAI SDK
  • Langchain
  • Llama-Index
  • Litellm
  • Dify
  • Flowise
  • Langflow
  • Vercel AI SDK
  • Instructor
  • API

Resources

  • Documentation
  • Interactive Demo
  • Video demo (10 min)
  • Changelog
  • Roadmap
  • Pricing
  • Enterprise
  • Self-hosting
  • Open Source
  • Why Langfuse?
  • AI Engineering Library
  • Status
  • 🇯🇵 Japanese
  • 🇰🇷 Korean
  • 🇨🇳 Chinese

About

  • Blog
  • Careers
  • About us
  • Press
  • Customers
  • Support
  • Talk to us
  • OSS Friends
  • Twitter
  • LinkedIn

Legal

  • Security
  • Imprint
  • Terms
  • Privacy

  • SOC 2 Type II
  • ISO 27001
  • GDPR
  • HIPAA
© 2022-2026 Langfuse GmbH / Finto Technologies Inc.