· Observability & evals/ Head to head

Pydantic Logfire vs promptfoo

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

Pydantic Logfire

OpenTelemetry observability with first-class Python and Pydantic AI support.

Open source · 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/ 5 of 6 differ
Pydantic Logfirepromptfoo
LicenceOpen sourceOpen source
Pricingfreemiumopen source
Self-hostableNoYes
LanguagesPython, TypeScriptTypeScript, Python
Installpip install logfirenpm install -g promptfoo
Keys requiredLOGFIRE_TOKENNone
· Common questions/ FAQ

What is the difference between Pydantic Logfire and promptfoo?

The deciding difference is operational: promptfoo can run on infrastructure you control, Pydantic Logfire cannot. If that constraint is real for you, it settles the choice before anything else is considered. Pydantic Logfire: OpenTelemetry observability with first-class Python and Pydantic AI support. promptfoo: Local eval and red-team harness that runs in CI. No account needed.

Can Pydantic Logfire and promptfoo be self-hosted?

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

Are Pydantic Logfire and promptfoo open source?

Pydantic Logfire is open source (freemium). promptfoo is open source (open source).

Build a stack with Pydantic LogfireAll 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/logfire-vs-promptfoo