Langfuse v4.47.0
Langfuse v4.47.0 introduces dedicated trace transcripts, NAPI batch encoding, ClickHouse native write strategies, and AI Gateway payload/environment tracking improvements alongside token pricing fixes.
Why this signal matters
Langfuse v4.47.0 introduces several new platform features and performance improvements. Key features include the ability to render and measure dedicated trace transcripts, exposing the current turn nesting level, and encoding JS event batches through NAPI. The worker adds a ClickHouse Native write strategy alongside existing JSON handling. On the AI Gateway side, it now supports setting trace environments via the 'langfuse-environment' header, capturing full-mode inputs up to 5 MiB (marking omitted inputs accordingly), and keeping control-plane connections alive. Ingestion and worker fixes correct token pricing for Anthropic 1-hour cache writes and OpenAI cache-write tokens, while halting usage inference for failed or cancelled gateway generations.
Actionable summary
Langfuse release v4.47.0 adds trace transcript rendering with nesting level exposure, JS event batch encoding via NAPI, ClickHouse Native write strategy, and AI Gateway payload support up to 5 MiB. It also fixes Anthropic and OpenAI cache-write token pricing.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Verify cache-write token billing logic if utilizing Anthropic 1-hour cache or OpenAI cache writes.
- Evaluate configuring the ClickHouse Native write strategy in worker setups for improved performance.
- Adopt the 'langfuse-environment' header when passing requests through the AI Gateway to configure trace environments directly.