APIs · head to head
Portkey vs Trunk Code Quality

Portkey
APIs
Observe, govern, and secure every AI interaction across your enterprise
- From
- On request
- Free plan
- No

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.
| Attribute | Portkey | Trunk Code Quality |
|---|---|---|
| Starting price | On request | Free |
| Free tier | No | Yes |
| Platforms | Web | macOS, Linux, Windows |
| Category | APIs | Developer 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 requestNo 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
SourceTrunk 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.
SourcePortkey: 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
SourceTrunk 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.
SourcePortkey: 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
SourceTrunk 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.
SourcePortkey: 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
SourceTrunk 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.
SourceRelated pages
More on Trunk Code Quality
Other head to heads
- Portkey vs LiteLLM
- Portkey vs Kong Gateway
- Portkey vs Apigee
- Portkey vs Tink
- Portkey vs AWS API Gateway
- Portkey vs WSO2 API Manager
- Portkey vs Treblle
- Portkey vs Volt
- Portkey vs 3scale
- Portkey vs Akana
- Portkey vs Mambu
- Portkey vs TrueLayer
- Portkey vs Basis Theory
- Portkey vs curl
- Portkey vs Flybits
- Portkey vs Moesif
- Portkey vs Neonomics
- Portkey vs Novu
- Portkey vs SonarQube
- Portkey vs ESLint
- Portkey vs Earthly
- Portkey vs Prettier
- Portkey vs Garden
- Portkey vs HCP Terraform
- Portkey vs Okteto
- Portkey vs Visual Studio Code
- Portkey vs Ona (formerly Gitpod)
- Portkey vs Harness
- Portkey vs Jenkins
- Portkey vs Depot
- Portkey vs Bitbucket
- Portkey vs Daytona
- Portkey vs Helix
- Portkey vs Losant
- Portkey vs Nx Cloud
- Portkey vs Pants Build
- Trunk Code Quality vs LiteLLM
- Trunk Code Quality vs Kong Gateway
- Trunk Code Quality vs Apigee
- Trunk Code Quality vs Tink
- Trunk Code Quality vs AWS API Gateway
- Trunk Code Quality vs WSO2 API Manager
- Trunk Code Quality vs Treblle
- Trunk Code Quality vs Volt
- Trunk Code Quality vs 3scale
- Trunk Code Quality vs Akana
- Trunk Code Quality vs Mambu
- Trunk Code Quality vs TrueLayer
- Trunk Code Quality vs Basis Theory
- Trunk Code Quality vs curl
- Trunk Code Quality vs Flybits
- Trunk Code Quality vs Moesif
- Trunk Code Quality vs Neonomics
- Trunk Code Quality vs Novu
- Trunk Code Quality vs SonarQube
- Trunk Code Quality vs ESLint
- Trunk Code Quality vs Earthly
- Trunk Code Quality vs Prettier
- Trunk Code Quality vs Garden
- Trunk Code Quality vs HCP Terraform
- Trunk Code Quality vs Okteto
- Trunk Code Quality vs Visual Studio Code
- Trunk Code Quality vs Ona (formerly Gitpod)
- Trunk Code Quality vs Harness
- Trunk Code Quality vs Jenkins
- Trunk Code Quality vs Depot
- Trunk Code Quality vs Bitbucket
- Trunk Code Quality vs Daytona
- Trunk Code Quality vs Helix
- Trunk Code Quality vs Losant
- Trunk Code Quality vs Nx Cloud
- Trunk Code Quality vs Pants Build
