CodeQL vs Semgrep: Pricing and Ratings Compared (2026)
Entry prices and free plans as read on each vendor's pricing page, and user ratings as published on review sites, for CodeQL and Semgrep side by side. This page compares data; it is not a hands-on review.
On the data: On the data below, Semgrep leads on lower entry price. We do not name an overall winner for this pair.
Short on time? Here's the quick answer
- CodeQL: best for you if
- Researchers and open source developers querying code for vulnerabilities
- Semgrep: best for you if
- Developers securing code written by people and agents
| At a Glance | ||
|---|---|---|
| Starts at | CodeQL Free plan, paid from $19/mo Secret Protection plan | Semgrep Free plan, paid from $15/mo per user Teams (Secrets) plan |
| Category | CodeQL Security Developer Tools | Semgrep Testing & QA Security |
| Rating | CodeQL No rating yet | Semgrep 4.6 (56 reviews) G2 4.6 |
| Free plan | CodeQL Yes | Semgrep Yes |
| Watch out for | CodeQL Nothing on file | Semgrep Modules are priced separately ($30 each for SAST and SCA, $15 for Secrets) |
| Website | CodeQL | Semgrep |
These entry prices are not on the same basis: some are per user and some are not. Each one is shown as its vendor sells it, and none is ranked against the others.
Choose CodeQL or Semgrep?
Choose CodeQL if
- Researchers and open source developers querying code for vulnerabilities
- You want to discover vulnerabilities across a codebase with industry-leading semantic code analysis
Choose Semgrep if
- Developers securing code written by people and agents
- Budget matters ($15/mo per user vs $19/mo)
In-Depth Analysis
CodeQL
Discover vulnerabilities across a codebase with industry-leading semantic code analysis.
CodeQL is best-in-class for code security scanning.
Strengths
- Pro: Powerful code analysis
- Pro: Security focus
- Pro: GitHub integration
- Pro: Custom queries
- Pro: Free for public repos
Weaknesses
- Con: Learning curve
- Con: Query writing complex
- Con: Slow scans
- Con: Resource intensive
- Con: False positives
Key features
Semgrep
Static analysis for finding bugs
Semgrep has a useful free edition for up to 10 contributors and 10 private repos.
Watch out
Modules are priced separately ($30 each for SAST and SCA, $15 for Secrets)
Strengths
- Pro: Code analysis tool
- Pro: Good pattern matching
- Pro: Multi-language
- Pro: Active development
Weaknesses
- Con: Learning curve
- Con: Enterprise features paid
- Con: False positives
- Con: Configuration needed
- Con: Resource usage
Key features
Plans and prices: CodeQL vs Semgrep
| Plans | CodeQL | Semgrep |
|---|---|---|
| Plans and prices | CodeQL
| Semgrep
|
| Source | CodeQL codeql.github.com read Sep 27, 2026 | Semgrep semgrep.dev/pricing read Nov 24, 2026 |
Prices as read on each vendor's own pricing page on the date shown. Each tool's plans are listed on their own: the lists are not matched line by line. Details on CodeQL pricing and Semgrep pricing.
Key Takeaways
CodeQL
- Choose CodeQL if you want to discover vulnerabilities across a codebase with industry-leading semantic code analysis
Semgrep
- Lower entry price: $15/mo per user vs $19/mo
What the data shows
On the data below, Semgrep leads on lower entry price. We do not name an overall winner for this pair.
- Only Semgrep has a published user rating (4.6/5 from 56 reviews); CodeQL has none we can show.
- Semgrep has the lower entry price: $15/mo per user (Teams (Secrets)) against $19/mo (Secret Protection) for CodeQL.
- Both have a free plan.
Criteria: user rating (only above 20 reviews on both sides, gap of 0.2 or more), entry price (only on the same unit and commitment term), free plan. How we rate
How we compared CodeQL and Semgrep
- Prices and plans: each vendor's own pricing page, read by the Toolradar pricing tracker (CodeQL on Sep 27, 2026, Semgrep on Nov 24, 2026).
- Verdict: each line names its criterion and the numbers behind it (price, free plan, ratings, listed features); there is no overall winner.
- Ratings: from the review site named next to each one, with its review count and snapshot date. A rating leads the At a Glance row only with enough reviews on both sides and a gap of 0.2 stars or more.
- Some offers on this page may be paid placements or contain affiliate links.
Full method: How we rate.
Frequently Asked Questions
How do CodeQL and Semgrep compare in 2026?
On the data below, Semgrep leads on lower entry price. We do not name an overall winner for this pair. Only Semgrep has a published user rating (4.6/5 from 56 reviews); CodeQL has none we can show. Semgrep has the lower entry price: $15/mo per user (Teams (Secrets)) against $19/mo (Secret Protection) for CodeQL. Both have a free plan.
What are CodeQL and Semgrep used for?
CodeQL: Discover vulnerabilities across a codebase with industry-leading semantic code analysis. Semgrep: Static analysis for finding bugs.
What does CodeQL cost vs Semgrep?
CodeQL's cheapest paid plan is Secret Protection at $19/mo; it also has a free plan. Semgrep's cheapest paid plan is Teams (Secrets) at $15/mo per user; it also has a free plan. Prices read on the vendors' pricing pages, latest check Nov 24, 2026.
What's the main difference between CodeQL and Semgrep?
CodeQL's main strength: powerful code analysis. Semgrep's main strength: code analysis tool.
Spotted an outdated price or a wrong fact? Suggest a correction: we check it against the vendor's own page. Work for one of these vendors? Claim your listing to update it yourself.