· Observability & evals/ Head to head

Langfuse vs promptfoo

Both sit in the observability & evals layer with similar commercial terms, so the practical split is language: Langfuse targets Python and promptfoo targets Python.

Langfuse

Open-source tracing, prompt management and evals. Self-hostable in one compose file.

Open source · freemium · can be self-hosted · SDKs for Python and TypeScript

promptfoo

Local eval and red-team harness that runs in CI. No account needed.

Open source · can be self-hosted · SDKs for TypeScript and Python

Its red-team mode doubles as your prompt-injection regression suite.

· Side by side/ 4 of 6 differ
Langfusepromptfoo
LicenceOpen sourceOpen source
Pricingfreemiumopen source
Self-hostableYesYes
LanguagesPython, TypeScriptTypeScript, Python
Installpip install langfusenpm install -g promptfoo
Keys requiredLANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEYNone
· Common questions/ FAQ

What is the difference between Langfuse and promptfoo?

Both sit in the observability & evals layer with similar commercial terms, so the practical split is language: Langfuse targets Python and promptfoo targets Python. Langfuse: Open-source tracing, prompt management and evals. Self-hostable in one compose file. promptfoo: Local eval and red-team harness that runs in CI. No account needed.

Can Langfuse and promptfoo be self-hosted?

Langfuse can run on your own infrastructure. promptfoo can run on your own infrastructure.

Are Langfuse and promptfoo open source?

Langfuse is open source (freemium). promptfoo is open source (open source).

Build a stack with LangfuseAll observability & evals options
· For agents/ This page, machine-readable

Every page here answers to Accept: text/markdown and returns the same content at roughly a tenth the tokens. No separate site, no toggle — same URL.

curl -s -H "Accept: text/markdown" https://newagent.build/compare/langfuse-vs-promptfoo