Heystack vs Langfuse

Langfuse is an open-source platform for improving the AI part of your app. Heystack keeps the whole AI-built app working, AI included. An honest look at where each one fits.

Written in November 2026 from Heystack's own docs and Langfuse's public description of its product. Products change: check langfuse.com for what Langfuse offers today.

The short version

  • Choose Langfuse if you're working on the quality of your AI features: managing prompts, scoring answers, and testing changes against saved examples.
  • Choose Heystack if you want to know whether your app is working for the people using it: errors, failing requests, visits and replays, what changed in a release, and AI cost, speed and safety in the same place.

The two answer different questions, and some teams use both.

Where Langfuse is stronger

  • Answer quality. Langfuse supports evaluations, such as scoring answers automatically with a model or by hand. Heystack measures the cost, speed and failures of AI calls and tracks plain signals (answers cut short, declined, empty, or marked bad by your users with a thumbs down), but it does not score how good the answers are.
  • Prompt management. Langfuse lets you version and manage prompts outside your code. Heystack has nothing comparable.
  • Datasets and experiments. Langfuse can run a prompt or model change against saved examples and compare the results. Heystack doesn't.
  • AI framework coverage. Langfuse integrates with many AI libraries and frameworks. Heystack now reads the common ones too: the Vercel AI SDK (5, 6 and 7), LangChain and LangGraph, LlamaIndex, the OpenAI Agents SDK, Mastra, Pydantic AI, the OpenAI and Anthropic Python libraries, LiteLLM and the Cloudflare and Vercel AI gateways, showing each the same way and counting every call once. Langfuse's list is still longer, and some sources Heystack reads aren't confirmed against a live app yet. See AI frameworks.
  • Self-hosting. Langfuse is open source and can be self-hosted. Heystack is a hosted service only.

Where Heystack is different

  • The whole app, not just the AI calls. An AI call in Heystack sits next to the request it was part of, the errors around it, the visitor's session and replay, and the release it ran in. A person's page shows their visits, problems and AI use together. See The console.
  • Honest cost. Spend uses the amount your provider reported, an estimate from public prices otherwise, and No price when the price is unknown, never $0. Spend by route shows which page or feature costs the most, and Cheapest wins suggests where a cheaper model might do. See Find out why your AI app is slow or expensive.
  • AI safety rules inside your app. You write rules in plain language in the console. Your app checks messages against them in-process and calls the provider directly; Heystack is never between your app and the model. Blocked and would-have-been-blocked requests are counted separately. See Security.
  • Problems, not just records. Errors, failing requests, crashes, bug reports, alerts and AI safety problems share one Issues list, and your coding agent can investigate them. See Give Cursor or Claude Code your production errors.
  • AI health and spend across providers. AI & Safety › Health says whether your AI answers are working, getting worse or failing for some, and what changed (a new model, prompt version or release). Spend is shown across every provider and gateway, with a monthly forecast and budgets that alert you. See AI health and AI gateways.
  • Prompt text is off by default. Heystack keeps the words of prompts and answers only when you turn that on, and access keys can't read them.

Both record

AI calls with model, tokens, cost, failures and timing, grouped into conversations, are in both products, with different depth. If that is your main need, compare them on your own app.