SonarQube Cloud uses analyzers, quality profiles and quality gates with pricing tied to private lines of code. CodeRabbit supplies AI review on PR and local changes. A quality-gate requirement and a conversational diff review are different tasks, even when both post on the same PR.
Code Review Guide · Reviewed October 16, 2026 · Published by Perch / Verglas LLC
CodeRabbit and SonarQube Cloud at a glance
Documented review inputs, requirements and licensing
Decision
CodeRabbit
SonarQube Cloud
Review scope
Pull requests, local changes, and agent-loop review.
Static quality and security analysis across supported languages.
Local review input
CLI and IDE review committed and uncommitted changes.
SonarScanner CLI runs in local and CI workflows.
Custom requirements
Guideline files and natural-language pre-merge checks; custom-check allowances depend on plan.
Quality profiles, configurable analyzer rules and quality gates.
License and service
Commercial review service.
Commercial Cloud; separate LGPLv3 Community Build.
Compare analyzer quality gates with conversational review
CodeRabbit billing
Essentials: $24/user/month billed annually, or $30 monthly. Public-repository reviews are free.
Essentials annual subscription floor; 1 repository and 5 included reviews/developer/hour. Eligible extra reviews cost 25¢ per reviewed file. Built-in checks are included; custom pre-merge checks start on Team.
Team starts at $34/month for 100,000 private lines on the current plans page.
Free includes 50,000 private lines and unlimited public-project lines. The current plans page is used; an older product page showed $32. Repository LOC determines the tier.
Perch is a stronger fit for a project-specific English requirement, such as preserving authorization inside a write. Keep analyzer gates and add the named working-file check.
Suppose an agent removes tenant authorization from a database update. The rule below requires the cancellation update to constrain the authenticated tenant before changing the order. It comes from the FastAPI tenant-authorization recipe. Source and captured tenant checks.
- name: tenant-scoped-update
where: "orders.py"
ensure: >-
The cancellation UPDATE must constrain tenant_id to actor.tenant_id
before changing the order.
Set up the agent and check its repair
Install the CLI, then choose the setup command for your agent:
curl -fL 'https://reporules.fyi/fastapi/tenant-cancellation/rule-pack.zip' -o tenant-rule.zip
unzip -n tenant-rule.zip
perch check orders.py --rules tenant-scoped-update --json
# Repair the finding, then repeat the same check.
perch check orders.py --rules tenant-scoped-update --json
Keep the root perch.yaml. The archive adds its focused rule under .perch/rules/ and preserves existing files. Adapt the file selector to your application. Run the named check after the agent edit, repair any finding and repeat the same command. Working-file and rule selectors.
Perch charges 10¢ per 1,000 fresh rule checks, with no developer seat fees. Unchanged requests can use cached answers free. The team cost examples show the rule counts and methods behind the broader pull-request estimate. Calculate the team workload.
Fresh model judgments can vary; unchanged requests can reuse cached answers. The Perch CLI is MIT licensed; relevant source goes to the configured hosted model service.
Try the decision on your own change
Run the relevant analyzer gate and review the same application change. Record supported-language coverage, repository LOC and diff-review findings separately.
Use a pinned regression and clean control. Record each tool’s configuration, findings, false positives, actual cost and elapsed time, then repeat the review after the repair.