Softwr

Developer Tools · head to head

Sourcery vs Trunk Code Quality

Sourcery logo

Sourcery

Developer Tools

AI code review for GitHub and GitLab, free on public repos and from US$12 per developer

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

  • Trunk Code Quality is free; Sourcery starts at $15/mo.
  • Only Sourcery lists one-click fixes; only Trunk Code Quality lists version pinning through trunk.yaml.
  • Where Sourcery falls short: the free plan covers public repositories only, so private code needs Pro.
  • Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.

How do Sourcery and Trunk Code Quality differ?

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

Attributes where Sourcery and Trunk Code Quality differ
AttributeSourceryTrunk Code Quality
Pricing modelPer developer per monthFreemium
PlatformsWebmacOS, Linux, Windows

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

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

Which features does each one have?

They share no listed features; 5 appear only for Sourcery 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 Sourcery

  • Pull request reviews
  • One-click fixes
  • Custom review rules
  • Auto-approve low-risk PRs
  • Security scanning

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?

Sourcery is most often brought in for open source maintainers who want free automated review on public repos; Trunk Code Quality for running one lint command across a polyglot repository. The jobs each tool is most often brought in to do.

Sourcery

  • Open source maintainers who want free automated review on public reposnot Trunk Code Quality
  • Small teams adding a first review pass before human reviewersnot Trunk Code Quality
  • Teams on GitLab who want a reviewer that supports it on every plannot Trunk Code Quality
  • Companies that need self-hosted review with their own LLM keysnot Trunk Code Quality

Trunk Code Quality

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

Where do Sourcery and Trunk Code Quality fall short?

Sourcery's most cited limit: the free plan covers public repositories only, so private code needs Pro. 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.

Sourcery

  • The free plan covers public repositories only, so private code needs Pro
  • Security scanning with nightly scans and an issues dashboard is limited to Team at double the Pro price, and covers 50 repositories
  • Review limits are higher on paid plans but the pricing page gives no figures, so heavy users cannot tell where they will hit them
  • Only GitHub and GitLab are listed; GitHub Enterprise Server needs the custom-priced Enterprise plan
  • You pay per assigned developer, so large teams with occasional contributors pay for seats that rarely open a pull request

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 Sourcery and Trunk Code Quality cost?

Sourcery has a free plan, with paid plans from $15/mo; Trunk Code Quality is free to use. Plan by plan below, from each vendor's own pricing page.

Sourcery

Free
  • Open SourceFree
    • AI reviews on public repos
    • PR summaries, diagrams and one-click fixes
    • Security checks on every PR
  • Pro$15/mo
    • Per developer; US$12 a month billed annually
    • AI reviews on private repos
    • Higher review limits and Jira
  • Team$30/mo
    • Per developer; US$24 a month billed annually
    • Nightly scans of 50 repos and issues dashboard
    • On-demand scans and team analytics
  • EnterpriseOn request
    • Self-hosting and GitHub Enterprise Server
    • SSO and bring-your-own LLM keys
    • Dedicated success manager and invoice billing

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 Sourcery if

  • You need pull request reviews.
  • You want to start without paying.
  • You also want one-click fixes.

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 Sourcery or Trunk Code Quality better?
It depends on the job. Sourcery fits open source maintainers who want free automated review on public repos; Trunk Code Quality fits running one lint command across a polyglot repository. Sourcery starts at Free and Trunk Code Quality at Free.
Which is cheaper, Sourcery or Trunk Code Quality?
Sourcery starts at Free and Trunk Code Quality at Free.
Does Sourcery or Trunk Code Quality run on more platforms?
Sourcery runs on Web. Trunk Code Quality runs on macOS, Linux, Windows.
Can I use Sourcery for free?
Both have a free tier, so you can try either at no cost before committing.
What is Sourcery best used for?
Sourcery is most often used for open source maintainers who want free automated review on public repos, small teams adding a first review pass before human reviewers, teams on gitlab who want a reviewer that supports it on every plan, companies that need self-hosted review with their own llm keys. Of those, open source maintainers who want free automated review on public repos and small teams adding a first review pass before human reviewers are not what Trunk Code Quality is typically brought in for.
What can Sourcery do that Trunk Code Quality cannot?
Sourcery covers Pull request reviews, One-click fixes, Custom review rules, Auto-approve low-risk PRs. 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

Sourcery: Is Sourcery free?

It is free on public repositories on GitHub or GitLab. Private repos need Pro at US$15 per developer a month, or US$12 billed annually.

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
Sourcery: How does the free trial work?

Installing Sourcery gives your organisation 14 days of Team without a card.

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
Sourcery: Does it work with GitLab?

Yes, on GitLab.com and self-managed GitLab on every plan.

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
Sourcery: Does Sourcery train on my code?

The pricing page says your code is used only for the review and never used to train any model.

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