· Observability & evals/ Head to head

LangSmith vs promptfoo

The deciding difference is operational: promptfoo can run on infrastructure you control, LangSmith cannot. If that constraint is real for you, it settles the choice before anything else is considered.

LangSmith

Tracing, datasets and evals from the LangChain team.

Proprietary · freemium · hosted service only · 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/ 6 of 6 differ
LangSmithpromptfoo
LicenceProprietaryOpen source
Pricingfreemiumopen source
Self-hostableNoYes
LanguagesPython, TypeScriptTypeScript, Python
Installnpm install -g promptfoo
Keys requiredLANGSMITH_API_KEYNone
· Common questions/ FAQ

What is the difference between LangSmith and promptfoo?

The deciding difference is operational: promptfoo can run on infrastructure you control, LangSmith cannot. If that constraint is real for you, it settles the choice before anything else is considered. LangSmith: Tracing, datasets and evals from the LangChain team. promptfoo: Local eval and red-team harness that runs in CI. No account needed.

Can LangSmith and promptfoo be self-hosted?

LangSmith is a hosted service only. promptfoo can run on your own infrastructure.

Are LangSmith and promptfoo open source?

LangSmith is proprietary (freemium). promptfoo is open source (open source).

Build a stack with LangSmithAll 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/langsmith-vs-promptfoo