code-review-bot
GitHub PR reviewer at $19/dev/mo — drop-in vs CodeRabbit ($30) and Greptile ($50). Local Qwen = $0 inference.
API quickstart
After purchase, you'll receive an API key (ock_...) by email. Call the endpoint below with that key as the bearer token.
pr_title— stringpr_description— stringdiff— string — unified-diff of the PR
curl -X POST -H 'Authorization: Bearer ock_xxx' \
-H 'Content-Type: application/json' \
-d '{"pr_title": "Add caching to user lookup", "pr_description": "Reduces p99 by 40%", "diff": "--- a/users.py\n+++ b/users.py\n@@\n+from functools import lru_cache\n+@lru_cache(maxsize=1024)\n def lookup(user_id):\n ..."}' \
https://openclawapi.vercel.app/v1/code-review-bot/runLaunch kit
code-review-bot — launch kit
1-liner
GitHub PR reviewer at $19/dev/mo — drop-in vs CodeRabbit ($30) and Greptile ($50). Local Qwen = $0 inference.
Tweet hook
CodeRabbit is $30/dev/mo because they pay GPT-4 for every review.
Built the same thing on Qwen 30B. Inference cost: $0.
Repricing at $19/dev/mo. Self-host option for orgs that can't send code to cloud LLMs.
Stack 🧵
- r/programming: "Open-source GitHub PR reviewer — local Qwen, no cloud needed"
- r/devops: "Self-host code review (privacy-first orgs)"
- r/SaaS: "60% under CodeRabbit by replacing the inference layer"
Cold-email ICP
- Engineering managers at 10-100 dev orgs
- Fintech / gov-contractor CTOs (privacy-sensitive)
- Tech leads at startups currently using Cody or Tabnine
Cold-email template
Subject: PR-review at $19/dev (was $30 with CodeRabbit)
Hi {first} — caught {their company / their tech stack post}.
I run a GitHub code-reviewer that's structurally cheaper than
CodeRabbit/Greptile because the inference runs on Qwen 30B locally
(no cloud LLM cost per review).
$19/dev/mo managed. Or $0 self-host on your H100 / 3090.
For privacy-conscious teams (fintech, healthcare, gov contractors),
the self-host option is the bigger draw: source code never leaves
your network.
Free 30-day trial on your repo. Reply with the org name and I'll
set you up.
SEO content
- "CodeRabbit alternatives 2026 (with self-host)"
- "Self-hosted GitHub code review: setup guide"
- "Qwen 30B for code review — quality benchmarks vs Claude / GPT"
- "AI code review for fintech: what changes when PHI/PCI is in scope"
- "Cost-of-review: per-PR pricing math"
Documentation
code-review-bot
GitHub code-review bot powered by local Qwen 30B. Drop-in alternative to CodeRabbit ($30/dev/mo), Greptile ($50/dev/mo), and Codiumate ($45/dev/mo) at $19/dev/mo.
Why this exists
Code-review SaaS tools have ~50% gross margin because they pay GPT-4 / Claude for every review. We pay Qwen 30B running on the user's hardware (or our own GPUs if managed plan) which means ~95% gross margin → we can price-undercut by 60%+ at parity output.
Pricing tiers
| Plan | Reviews | Self-host | Managed | Audience |
|---|---|---|---|---|
| Solo | unlimited | ✓ | — | indie devs, $0 (open source) |
| Team | 1k/mo | $19/dev/mo | $29/dev/mo | <10-dev startups |
| Growth | 5k/mo | $49/dev/mo | $79/dev/mo | 10-50 devs |
| Enterprise | unlimited | call us | call us | 50+ devs |
Compare:
- CodeRabbit: $30/dev/mo (managed only)
- Greptile: $50/dev/mo (managed only)
- Codiumate: $45/dev/mo (managed only)
We're the only self-host option in this category. That's a wedge for privacy-conscious enterprises, fintech, and gov contractors.
Architecture
┌──────────────────┐ ┌───────────────────┐ ┌─────────────────┐
│ GitHub PR event │───►│ FastAPI /webhook │───►│ reviewer.py │
│ (opened/sync) │ │ verify HMAC sig │ │ Qwen 30B │
└──────────────────┘ └───────────────────┘ │ JSON output │
└────────┬────────┘
│
▼
┌─────────────────────┐
│ github_client.py │
│ post_review/comment │
└─────────────────────┘
Setup (self-host)
1. Create the GitHub App
- https://github.com/settings/apps/new
- Permissions:
- Pull requests: Read & write
- Contents: Read
- Metadata: Read (auto)
- Subscribe to events: pull_request
- Webhook URL:
https://your-domain.com/webhook - Webhook secret: generate one (random 32-byte string)
- Generate + download the private key (.pem)
2. Run the service
cd C:\openclaw-products\code-review-bot
python -m venv .venv
.\.venv\Scripts\activate
pip install -e ".[dev]"
$env:GH_APP_ID="123456"
$env:GH_APP_PRIVATE_KEY=Get-Content -Raw .\private-key.pem
$env:GH_WEBHOOK_SECRET="whsec_..."
# Make sure LM Studio is running with qwen3-30b-a3b-2507 loaded
uvicorn src.webhook:app --port 8090
3. Expose to GitHub
For dev: use ngrok or Cloudflare Tunnel to expose localhost. For prod: deploy via Dockerfile to Railway/Fly/Render.
4. Install the app on a test repo
- Visit your GitHub App page → Install
- Pick the repo to test on
- Open a PR; the bot reviews within ~30 seconds
Local CLI (no GitHub needed)
git diff main..HEAD | crbot review-stdin --title "my PR"
This is how you iterate on the review prompt.
Test
pytest tests/ -v
Roadmap
- Inline comments on specific lines (currently top-of-PR comments only)
- Repo-specific config file (.crbot.yaml) for tone/strictness
- Diff chunking for >80K token diffs
- PR triage (label assignment based on findings)
- Approve-when-clean automation flag
- Slack/Discord integration for review summaries
- Marketplace listing on github.com/marketplace
- Stripe billing wrapper