Langfuse logo
    Analytics & product Supported

    Langfuse integration for Rig

    The easiest way to connect Langfuse to Claude and other AI tools

    Langfuse is an open-source LLM observability platform that traces model calls, scores outputs and tracks token usage, cost and latency.

    What Rig syncs from Langfuse

    Once connected, Rig models these objects so questions resolve to the right tables and joins:

    • Traces
    • Observations and spans
    • Generations
    • Scores
    • Datasets
    • Experiments
    • Token usage
    • Costs
    • Latency

    How Langfuse connects to Rig

    Rig Ingest syncs your Langfuse traces, observations, scores, datasets and experiments into your warehouse on a schedule. Rig then models traces and token usage so cost, latency and quality questions resolve correctly.

    Read the step-by-step Langfuse setup guide

    Analyse token cost and LLM spend

    Token cost is the dollar spend of model usage across prompt and completion tokens. Rig reads Langfuse generations and cost data, so you can break spend down by model, feature and time, and see what is driving your LLM bill without exporting Langfuse dashboards.

    Ask Rig
    • What is total LLM token cost by model this month?
    • Which feature drives the most spend per request?
    • Show daily token cost trend over the last 30 days

    Track latency and error rates by feature

    Rig reads Langfuse trace timings and statuses, so you can measure p50 and p95 latency and error rates per feature and model. Engineering teams see where users wait or calls fail before it shows up in complaints.

    Ask Rig
    • What is p95 latency by feature this week?
    • Which model has the highest error rate?
    • Show latency trend for the chat endpoint over 14 days

    Measure quality scores and experiment results

    By joining Langfuse scores to traces, datasets and experiments, Rig shows how output quality changes as you iterate. Teams see whether a change actually improved evaluation scores.

    Ask Rig
    • How did average quality scores change week on week?
    • Which experiment run has the highest average score?
    • Show score distribution by feature this month

    Analyse trace volume and usage by feature

    Rig rolls up Langfuse traces by feature, model and user, so you can see request volume and how usage is growing. Product teams see which AI features are gaining traction and which models carry the load.

    Ask Rig
    • How many traces did each feature generate this month?
    • Which AI feature is growing fastest in usage?
    • Show trace volume by model over the last 90 days

    Claude Langfuse integration: ask your data

    Rig serves your Langfuse data to AI assistants over MCP. Once Langfuse is synced into your warehouse, you can ask questions in plain English from the tool you already use, and every answer is backed by validated, governed SQL.

    Frequently asked questions

    What Langfuse data does Rig sync?
    Traces, observations (including generations), scores, datasets, dataset items and experiments, with the trace structure preserved. Token usage, cost and latency come from the trace and observation fields.
    Can Rig break down LLM cost and latency by feature?
    Yes. Rig models Langfuse traces and generations in your warehouse, so cost, latency, error-rate and quality questions are answered in plain English.
    Can I query Langfuse data in Claude or ChatGPT?
    Yes. Once Langfuse is synced to your warehouse, Rig serves it to Claude, ChatGPT, Cursor and other AI tools over MCP.
    How often does Langfuse data refresh?
    Rig Ingest syncs on a schedule you set so traces, costs and scores stay current.

    Related integrations

    Connect Langfuse data to AI tools like Claude

    Rig builds a governed context layer over your data so every team, and every AI tool, asks questions and gets answers they can trust.