Softwr

Cybersecurity · head to head

Grype vs Semgrep

Grype logo

Grype

Cybersecurity

Vulnerability scanner for container images and filesystems

From
Free
Rated
-
Semgrep logo

Semgrep

Cybersecurity

Open-source static analysis tool for finding security bugs and enforcing code standards.

From
Free
Rated
-

The short version

  • Each has a real cost: Grype depends on public vulnerability databases, so coverage and false positives vary by ecosystem; Semgrep free tier caps out at 10 contributors and 10 repositories.
  • They diverge on capability: Grype covers Image and filesystem scanning, Semgrep covers Static code scanning.
  • Prices and features above were last checked on 29 August 2026.

Where they differ

Only the attributes on which Grype and Semgrep actually diverge.

Attributes where Grype and Semgrep differ
AttributeGrypeSemgrep
Pricing modelOpen source, no licence feefreemium
PlatformsLinux, macOS, Windows, Dockerweb, api, linux, mac, windows

Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated), category (Cybersecurity).

What each one covers

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 Grype

  • Image and filesystem scanning
  • SBOM-driven
  • Wide ecosystem coverage
  • Pipeline friendly

Only in Semgrep

  • Static code scanning
  • Supply chain scanning
  • Secrets detection
  • Cross-file analysis
  • AI-powered triage and remediation
  • CI/CD integration

What people use each for

The jobs each tool is most often brought in to do.

Grype

  • Re-scanning stored SBOMs as new CVEs are published, without rebuilding imagesnot Semgrep
  • Failing CI when a build introduces a known vulnerabilitynot Semgrep
  • Auditing what is actually installed inside a third-party imagenot Semgrep

Semgrep

  • Scanning code for security vulnerabilities in CI/CDnot Grype
  • Detecting vulnerable open-source dependenciesnot Grype
  • Finding hardcoded secrets before code shipsnot Grype
  • Enforcing custom code standards with rule setsnot Grype
  • Prioritizing findings with AI-assisted triagenot Grype

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Grype

  • Depends on public vulnerability databases, so coverage and false positives vary by ecosystem
  • No triage, exception tracking or reporting UI — that is Anchore’s commercial product
  • Overlaps heavily with Trivy, and most teams pick one rather than running both

Semgrep

  • Free tier caps out at 10 contributors and 10 repositories.
  • Secrets scanning is priced as a separate module ($15/contributor) from Code and Supply Chain.
  • Self-managed repositories and custom CI/CD require the Enterprise tier.
  • AI credits are limited per tier and additional usage requires upgrading.

Pricing, plan by plan

Grype

Free
  • GrypeFree
    • Full functionality
    • No usage limits
    • Community support

Semgrep

Free
  • FreeFree
    • Up to 10 contributors
    • Code and Supply Chain scanning
    • 60 AI credits total
  • Teams$30/month
    • Code, Supply Chain, or Secrets scanning per contributor
    • Pro rules
    • AI-powered triage and remediation
  • Enterprise$undefined/month
    • On-prem support
    • Custom CI/CD
    • 50 AI credits per developer/month

Which should you pick?

Choose Grype if

  • You need image and filesystem scanning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Docker.
  • You also want sbom-driven.

Choose Semgrep if

  • You need static code scanning.
  • You want to start without paying.
  • You work on web, api, linux, mac, windows.
  • You also want supply chain scanning.

Questions people ask

Is Grype or Semgrep better?
Neither clearly leads. Grype starts at Free and Semgrep at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Grype or Semgrep?
Grype starts at Free and Semgrep at Free.
Does Grype or Semgrep run on more platforms?
Grype runs on Linux, macOS, Windows, Docker. Semgrep runs on web, api, linux, mac, windows.
Can I use Grype for free?
Both have a free tier, so you can try either at no cost before committing.
What is Grype best used for?
Grype is most often used for re-scanning stored sboms as new cves are published, without rebuilding images, failing ci when a build introduces a known vulnerability, auditing what is actually installed inside a third-party image. Of those, re-scanning stored sboms as new cves are published, without rebuilding images and failing ci when a build introduces a known vulnerability are not what Semgrep is typically brought in for.
What can Grype do that Semgrep cannot?
Grype covers Image and filesystem scanning, SBOM-driven, Wide ecosystem coverage, Pipeline friendly. Semgrep covers Static code scanning, Supply chain scanning, Secrets detection, Cross-file analysis.

Answered from the vendors’ own pages

Grype: Is Grype free?

Yes, open source from Anchore. Anchore Enterprise is the paid platform around it.

Semgrep: What does Semgrep cost?

The Free edition covers up to 10 contributors; Teams starts at $30/contributor/month for Code scanning (Supply Chain also $30, Secrets $15); Enterprise is custom-priced.

Source
Grype: What is the difference between Grype and Syft?

Syft generates the software bill of materials; Grype matches that inventory against vulnerability data. They are designed to be used together.

Semgrep: Is there a free plan, and what are its limits?

Yes, the Free edition supports up to 10 contributors and 10 repositories with Code and Supply Chain scanning plus 60 AI credits total.

Source
Grype: Grype or Trivy?

They cover similar ground. Trivy is broader out of the box, including misconfiguration and secret scanning; Grype pairs more cleanly with an SBOM-first workflow.

Semgrep: How is usage metered?

Pricing is per contributor, defined as someone who made at least one commit to a scanned private repository in the past 90 days.

Source
Semgrep: Is there special pricing for startups?

Yes, Semgrep offers special startup pricing upon request for early-stage companies.

Source
Share

Related pages

Other head to heads