Softwr

Cloud · head to head

Heroku vs Trunk Code Quality

Heroku logo

Heroku

Cloud

Cloud Application Platform

From
$5/month
Free plan
No
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

  • Heroku is a cloud platform as a service.
  • Trunk Code Quality is free; Heroku starts at $5/mo.
  • Only Heroku lists git-based deployment; only Trunk Code Quality lists version pinning through trunk.yaml.
  • Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.
  • Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.

How do Heroku and Trunk Code Quality differ?

Heroku and Trunk Code Quality differ on starting price ($5/month against Free), pricing model (Subscription against Freemium) and free tier (No against Yes). Only the attributes on which Heroku and Trunk Code Quality actually diverge.

Attributes where Heroku and Trunk Code Quality differ
AttributeHerokuTrunk Code Quality
Starting price$5/monthFree
Pricing modelSubscriptionFreemium
Free tierNoYes
PlatformsWeb, API, WorkersmacOS, Linux, Windows
CategoryCloudDeveloper Tools
Founded20072021

Which features does each one have?

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

  • Git-based deployment
  • Buildpacks
  • Dynos (containers)
  • Add-ons marketplace
  • Postgres database
  • Environment variables
  • Logging
  • API

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?

Heroku is most often brought in for application hosting; Trunk Code Quality for running one lint command across a polyglot repository. The jobs each tool is most often brought in to do.

Heroku

  • Application hostingnot Trunk Code Quality
  • Database as a servicenot Trunk Code Quality
  • CI/CD pipelinesnot Trunk Code Quality
  • API deploymentnot Trunk Code Quality

Trunk Code Quality

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

Where do Heroku and Trunk Code Quality fall short?

Heroku's most cited limit: there is no free dyno tier; the cheapest Eco dyno is $5 per month. 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.

Heroku

  • There is no free dyno tier; the cheapest Eco dyno is $5 per month
  • Eco dynos sleep after 30 minutes of inactivity, are restricted to personal accounts and allow only 2 process types
  • Free SSL and 10 process types start at the Basic dyno at $7 per month
  • Private and Shield dyno types require a Private Space, which is billed on top of the dynos
  • Private Space dynos start at $250 per month for Private-M and $500 per month for Private-L
  • Dyno prices are per dyno per month, so an app with several process types multiplies the bill

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

Heroku starts at $5/mo; Trunk Code Quality is free to use. Plan by plan below, from each vendor's own pricing page.

Heroku

$5/month
  • Eco Dyno$5/mo
    • 0.5 GB RAM
    • Git/Docker deploy
    • Custom domains
  • Basic Dyno$7/mo
    • 0.5 GB RAM
    • Always-on
    • Free SSL
  • Standard-1X Dyno$25/mo
    • 0.5 GB RAM
    • Horizontal scaling
    • App metrics
  • Standard-2X Dyno$50/mo
    • 1 GB RAM
    • Horizontal scaling
    • App metrics

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

  • You need git-based deployment.
  • You work on Web, API, Workers.
  • You also want buildpacks.

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 Heroku or Trunk Code Quality better?
It depends on the job. Heroku fits application hosting; Trunk Code Quality fits running one lint command across a polyglot repository. Heroku starts at $5/month and Trunk Code Quality at Free.
Which is cheaper, Heroku or Trunk Code Quality?
Trunk Code Quality has a free tier; the other does not. Paid plans start at $5/month for Heroku and Free for Trunk Code Quality.
Does Heroku or Trunk Code Quality run on more platforms?
Heroku runs on Web, API, Workers. Trunk Code Quality runs on macOS, Linux, Windows.
Can I use Trunk Code Quality for free?
Yes. Trunk Code Quality has a free tier, so you can try it without paying. Heroku starts at $5/month.
What is Heroku best used for?
Heroku is most often used for application hosting, database as a service, ci/cd pipelines, api deployment. Of those, application hosting and database as a service are not what Trunk Code Quality is typically brought in for.
What can Heroku do that Trunk Code Quality cannot?
Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace. 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

Heroku: How much does Heroku cost?

Heroku dyno pricing starts at $5 per month USD for the Eco tier (with 30-minute inactivity sleep), $7 per month for Basic (always-on), and scales up to $1,500 per month for Performance-2XL with 126 GB RAM.

Source
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
Heroku: What is the cheapest always-on Heroku plan?

The Basic Dyno at $7 per month USD is Heroku's cheapest always-on container option. It provides 0.5 GB RAM, free SSL, and support for 10 process types.

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
Heroku: How is Heroku Postgres priced?

Heroku Postgres Essential tier (shared resources) starts at $5-$20 per month for 1-32 GB disk. Standard tier (dedicated) ranges $50-$12,000 per month. Premium, Private, Shield, and Advanced tiers offer higher performance at corresponding prices.

Source
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