Softwr

APIs · head to head

Portkey vs Trunk Code Quality

Portkey logo

Portkey

APIs

Observe, govern, and secure every AI interaction across your enterprise

From
On request
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

  • Trunk Code Quality is free; Portkey prices on request.
  • Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.

How do Portkey and Trunk Code Quality differ?

Portkey and Trunk Code Quality differ on starting price (On request against Free), free tier (No against Yes) and platforms. Only the attributes on which Portkey and Trunk Code Quality actually diverge.

Attributes where Portkey and Trunk Code Quality differ
AttributePortkeyTrunk Code Quality
Starting priceOn requestFree
Free tierNoYes
PlatformsWebmacOS, Linux, Windows
CategoryAPIsDeveloper Tools

Not yet recorded: pricing model for Portkey, founded for Portkey.

Which features does each one have?

They share no listed features; 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 Portkey

Nothing recorded that Trunk Code Quality does not also cover.

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?

Portkey is most often brought in for accessing 1,600+ language models through unified API gateway; Trunk Code Quality for running one lint command across a polyglot repository. The jobs each tool is most often brought in to do.

Portkey

  • Accessing 1,600+ language models through unified API gatewaynot Trunk Code Quality
  • Monitoring and observing LLM behavior in production environmentsnot Trunk Code Quality
  • Managing costs and setting budget limits for AI spendingnot Trunk Code Quality
  • Implementing guardrails and PII redaction for secure AI interactionsnot Trunk Code Quality

Trunk Code Quality

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

Where do Portkey and Trunk Code Quality fall short?

Trunk Code Quality's most cited limit: 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.

Portkey

  • The free Developer tier records only 10,000 logs per month with 3 day log retention; the $49 per month Production tier raises that to 100,000 logs with $9 per additional 100,000 requests, as of August 2026
  • The product is now sold to enterprises as Palo Alto Networks' Prisma AIRS AI Gateway, and the old pricing page redirects to Palo Alto content

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

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

Portkey

On request

No published plan breakdown. See the Portkey review.

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

Nothing in the data separates Portkey from Trunk Code Quality on the points above - pick on price and on how each one feels to use.

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 Portkey or Trunk Code Quality better?
It depends on the job. Portkey fits accessing 1,600+ language models through unified API gateway; Trunk Code Quality fits running one lint command across a polyglot repository. Portkey starts at On request and Trunk Code Quality at Free.
Which is cheaper, Portkey or Trunk Code Quality?
Trunk Code Quality has a free tier; the other does not. Paid plans start at On request for Portkey and Free for Trunk Code Quality.
Does Portkey or Trunk Code Quality run on more platforms?
Portkey runs on Web. 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. Portkey starts at On request.
What is Portkey best used for?
Portkey is most often used for accessing 1,600+ language models through unified api gateway, monitoring and observing llm behavior in production environments, managing costs and setting budget limits for ai spending, implementing guardrails and pii redaction for secure ai interactions. Of those, accessing 1,600+ language models through unified api gateway and monitoring and observing llm behavior in production environments are not what Trunk Code Quality is typically brought in for.
What can Portkey do that Trunk Code Quality cannot?
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

Portkey: What happens if I exceed my Portkey plan's request limit?

Production tier ($49/month) charges $9 per additional 100,000 requests beyond the included 100,000. Enterprise customers have custom limits determined through their service agreement. Source: https://portkey.ai/pricing

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
Portkey: Can I self-host Portkey to avoid per-request billing?

Yes. Portkey offers an Open Source self-hosted version with unlimited requests at no cost, including universal API, routing, guardrails, and load balancing features. Source: https://portkey.ai/pricing

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
Portkey: How long does Portkey retain my logs and metrics?

Free Developer tier retains logs 3 days and metrics 30 days. Production tier retains logs 30 days and metrics 90 days. Enterprise tier offers custom retention periods. Source: https://portkey.ai/pricing

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
Portkey: What compliance features are included in the Enterprise plan?

Enterprise tier includes SOC2 Type 2 certification, GDPR compliance, HIPAA compliance, VPC hosting, SSO, advanced guardrails, and dedicated support. Custom pricing required. Source: https://portkey.ai/pricing

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