Softwr

Developer Tools · head to head

Promptfoo vs Trunk Code Quality

Promptfoo logo

Promptfoo

Developer Tools

Open-source LLM evaluation and red-teaming tool run from the command line and CI

From
Free
Free plan
Yes
Trunk Code Quality logo

Trunk Code Quality

Developer Tools

Metalinter that runs and manages linters, formatters and security scanners

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Promptfoo lists LLM evaluation; only Trunk Code Quality lists version pinning through trunk.yaml.
  • Where Promptfoo falls short: red teaming is capped at 10,000 probes a month on Community, which heavy testing can exceed.
  • Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.

How do Promptfoo and Trunk Code Quality differ?

Promptfoo and Trunk Code Quality differ on pricing model and platforms. Only the attributes on which Promptfoo and Trunk Code Quality actually diverge.

Attributes where Promptfoo and Trunk Code Quality differ
AttributePromptfooTrunk Code Quality
Pricing modelFree open-source Community edition; Enterprise by quoteFreemium
PlatformsLinux, macOS, WindowsmacOS, Linux, Windows

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Promptfoo, founded for Promptfoo.

Which features does each one have?

They share no listed features; 8 appear only for Promptfoo and 8 only for Trunk Code Quality. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Promptfoo

  • LLM evaluation
  • Red teaming
  • CI/CD integration
  • Vulnerability scanning
  • Continuous monitoring
  • Remediation reports
  • SSO and permissions
  • On-premise deployment

Only in Trunk Code Quality

  • Installs and runs over 100 linters and formatters
  • Version pinning through trunk.yaml
  • Hold the Line checks on new changes only
  • Background daemon that precomputes results
  • VS Code and Neovim editor integration
  • GitHub integration for pull request checks
  • Security scanning tools such as trivy and gitleaks
  • Runs in any CI environment

What is each one used for?

Promptfoo is most often brought in for A developer regression-testing prompts in CI; Trunk Code Quality for running one lint command across a polyglot repository. The jobs each tool is most often brought in to do.

Promptfoo

  • A developer regression-testing prompts in CInot Trunk Code Quality
  • A security team probing a chatbot for prompt injectionnot Trunk Code Quality
  • Comparing several model providers on the same test setnot Trunk Code Quality
  • An organisation that needs on-premise AI security testingnot Trunk Code Quality

Trunk Code Quality

  • Running one lint command across a polyglot repositorynot Promptfoo
  • Gradually fixing legacy code with Hold the Linenot Promptfoo
  • Pinning linter versions across a teamnot Promptfoo
  • Enforcing the same checks locally and in CInot Promptfoo
  • Adding security scanners to pull requestsnot Promptfoo

Where do Promptfoo and Trunk Code Quality fall short?

Promptfoo's most cited limit: red teaming is capped at 10,000 probes a month on Community, which heavy testing can exceed. Trunk Code Quality's: private repositories with more than five active committers need a paid licence. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Promptfoo

  • Red teaming is capped at 10,000 probes a month on Community, which heavy testing can exceed
  • Enterprise pricing is not published, so scaling up needs a sales call
  • The About page says Promptfoo is now part of OpenAI, which some teams testing rival models may weigh
  • Centralised dashboards, SSO and remediation tracking are Enterprise only, so team workflows cost extra
  • Community support only on the free tier, with priority support and SLA guarantees in Enterprise

Trunk Code Quality

  • Private repositories with more than five active committers need a paid licence
  • Paid Team and Enterprise prices are not published; quotes come from sales
  • Core CLI is closed source, with only plugins and the GitHub Action under MIT
  • Results depend on the underlying linters, so rule coverage is not Trunk's own

How much do Promptfoo and Trunk Code Quality cost?

Promptfoo is free to use; Trunk Code Quality is free to use. Plan by plan below, from each vendor's own pricing page.

Promptfoo

Free
  • CommunityFree
    • Free forever, per the pricing page
    • All evaluation features and providers
    • Red teaming at 10k probes a month
  • EnterpriseOn request
    • Custom pricing
    • Team sharing, continuous monitoring, SSO, managed cloud deployment
  • On-PremiseOn request
    • Custom pricing
    • Deployment on your infrastructure with a dedicated runner

Trunk Code Quality

Free
  • Free (up to 5 active committers on private repos)Free
  • Team (per seat)On request
  • Enterprise (annual site licence)On request

Which should you pick?

Choose Promptfoo if

  • You need llm evaluation.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want red teaming.

Choose Trunk Code Quality if

  • You need installs and runs over 100 linters and formatters.
  • You want to start without paying.
  • You work on macOS, Linux, Windows.
  • You also want version pinning through trunk.yaml.

Questions people ask

Is Promptfoo or Trunk Code Quality better?
It depends on the job. Promptfoo fits a developer regression-testing prompts in CI; Trunk Code Quality fits running one lint command across a polyglot repository. Promptfoo starts at Free and Trunk Code Quality at Free.
Which is cheaper, Promptfoo or Trunk Code Quality?
Promptfoo starts at Free and Trunk Code Quality at Free.
Does Promptfoo or Trunk Code Quality run on more platforms?
Promptfoo runs on Linux, macOS, Windows. Trunk Code Quality runs on macOS, Linux, Windows.
Can I use Promptfoo for free?
Both have a free tier, so you can try either at no cost before committing.
What is Promptfoo best used for?
Promptfoo is most often used for a developer regression-testing prompts in ci, a security team probing a chatbot for prompt injection, comparing several model providers on the same test set, an organisation that needs on-premise ai security testing. Of those, a developer regression-testing prompts in ci and a security team probing a chatbot for prompt injection are not what Trunk Code Quality is typically brought in for.
What can Promptfoo do that Trunk Code Quality cannot?
Promptfoo covers LLM evaluation, Red teaming, CI/CD integration, Vulnerability scanning. Trunk Code Quality covers Installs and runs over 100 linters and formatters, Version pinning through trunk.yaml, Hold the Line checks on new changes only, Background daemon that precomputes results.

Answered from the vendors’ own pages

Promptfoo: Is Promptfoo free?

The Community edition is free and open source, with red teaming limited to 10k probes a month.

Trunk Code Quality: What does Trunk Code Quality do?

It is a metalinter that installs, pins and runs third party linters, formatters and security scanners from one CLI. A background daemon precomputes results for editor annotations.

Source
Promptfoo: Who owns it?

The About page says Promptfoo is now part of OpenAI and remains open source.

Trunk Code Quality: Is Trunk Code Quality free?

Public and open source repositories have no stated usage limit, and private repositories with five or fewer active committers can use the CLI at no cost. Larger private teams need a paid licence.

Source
Promptfoo: Can I run it on my own servers?

Yes, Community runs locally or self-hosted, and On-Premise is the managed option.

Trunk Code Quality: Which operating systems are supported?

The launcher supports macOS and Linux. Windows is supported from CLI version 1.13.0, using git-bash, msys2 or a PowerShell launcher.

Source
Trunk Code Quality: How many linters does it support?

The supported linters page claims over 100 linters and formatters. They cover many languages plus infrastructure, security, SQL and Markdown tooling.

Source
Share

Related pages

Other head to heads