Mesrai vs Greptile
Both review with a graph of your whole codebase. They differ on who picks the model, how reviews are billed, and which Git hosts are supported.
TL;DR — four takeaways
- · Mesrai wins
Your own LLM key
Mesrai runs on the provider and model you choose, on every plan. Greptile runs its own models and bills credits per review.
- · Mesrai wins
Unlimited reviews at a flat price
Mesrai Pro has no review cap. Greptile Pro charges $1 per credit with no seat fee — a standard review is 1 credit, Plus 3 and Apex 10 — so cost grows with review volume and depth.
- · Greptile wins
Free starter plan
Greptile offers a free Starter plan with 50 credits a month for one developer. Mesrai gives every team a 14-day full trial and, as a launch offer, is free for individual developers on their own AI key.
- · Mesrai wins
Azure DevOps
Both support GitHub, GitLab and Bitbucket. Mesrai also supports Azure DevOps.
Feature matrix
- Inline PR comments
- AI pull request summary
- Graph of the whole codebasefunctions, imports, callsAST graph, updated on merge
- Learns from 👍/👎 reactions
- GitHub · GitLab · Bitbucket
- Azure DevOps
- Bring your own LLM keyevery plannot on self-serve plans
- Engineering metrics (DORA)Pulse
- Free planindividuals (launch offer)Starter, 50 credits/mo, 1 dev
- Self-hostedEnterpriseEnterprise
- Pricingflat per dev + your LLM bill$1/credit, no seat fee
✓ full coverage△ partial / on roadmap✕ not available
Competitor pricing and features verified against each vendor's public pricing page and documentation, October 2026. Vendors change plans often — check their site for the latest.
Defect-detection audit
Internal audit on 24 pattern-seeded pull requests across three production codebases (TypeScript, Python, Go). Both reviewers ran on Anthropic claude-opus-4-7 with default prompt packs. Severity was labelled before the run; ✓/✕ reflects whether the reviewer flagged the seeded defect on the inline comment.
- Criticalauth bypass, RCE, secret exfiltration7 bugs in datasetMesrai6/7 · 86%Greptile5/7 · 71%
- Highconcurrency, ownership-check, tenant leakage9 bugs in datasetMesrai6/9 · 67%Greptile7/9 · 78%
- Mediuminjection edge-cases, log leakage, CSRF8 bugs in datasetMesrai6/8 · 75%Greptile4/8 · 50%
Per-codebase audit
The same 24 pull requests, broken out by codebase. Tab through to inspect each PR's seeded defect, severity, and the per-reviewer flag. Defects are real-world patterns ported into representative diffs — not a forensic audit of upstream history.
- Refactor row-level-security policy linterJWT claims parsed before RLS check — anon role leaks rowsCRITICAL
- Storage upload presign endpointBucket name interpolated without path-traversal guardCRITICAL
- Realtime channel auth handshakeSubscription reuses prior connection's claims after reauthHIGH
- Edge-function cold-start optimisationEnv-var cache shared across tenants — secret bleedHIGH
- Postgres connection-pool warmupPool size read from stale config after migrationHIGH
- Auth UI password-strength meterRegex catastrophic backtracking on long input — DoSMEDIUM
- Realtime broadcast payload-size guardLimit checked on stringified length — multibyte bypassMEDIUM
- Migrations CLI diff rendererANSI escapes injected via column name — terminal hijackMEDIUM
Feature deep-dives
- 01Pricing// mesrai
Flat per developer, unlimited reviews
Mesrai Pro is ₹499 / $6 per developer per month with no review limit. Your LLM provider bills you for tokens at its own rates. Every feature is free for 14 days, no card.
// greptilePer seat plus credits
Greptile Pro is $1 per credit with no per-seat fee, and credits are shared across the organisation. A standard review uses 1 credit, a Plus review 3 and an Apex review 10. A free Starter plan includes 50 credits a month for one developer, and qualifying non-commercial open-source projects can use Greptile for free.
verdict — For busy teams, Mesrai's unlimited reviews are easier to budget. For light usage, Greptile's free Starter plan is hard to beat.
- 02Codebase understanding// mesrai
AST graph of the whole repository
When you add a repository, Mesrai parses it into an AST graph of functions, classes, imports and calls, caches it, and updates it incrementally when pull requests merge. Each review loads the graph and parses only the changed files.
// greptileComplete codebase graph
Greptile builds a graph of the codebase — every function, class and dependency — and reviews each change against it.
verdict — Both review with whole-codebase context, so cross-file breakage is visible to either. Choose on model control, pricing and platforms.
- 03Model choice// mesrai
Bring your own key
Choose OpenAI, Anthropic, Google, AWS Bedrock or any OpenAI-compatible model, with a fallback for rate limits — including models hosted inside your network on self-hosted Enterprise.
// greptileGreptile-managed models
Greptile runs reviews on its own model setup and bills by credits; model choice isn't offered on self-serve plans.
verdict — If model choice or provider agreements matter, Mesrai is the fit.
- 04Rules, tickets and metrics// mesrai
Rules, requirements and Pulse
Mesrai Rules in plain English or YAML apply at organization, repository or folder level; business logic validation compares pull requests with Jira or Linear tickets; Pulse tracks DORA metrics.
// greptileLearns what matters
Greptile learns from your team's reactions and replies, and after a few weeks stops commenting on things you don't care about. It can send issues to coding agents such as Claude Code or Cursor to fix.
verdict — Both tune themselves to your team. Mesrai adds explicit rules, requirement checks and delivery metrics.
System recommendation
// primary recommendation
Pick Mesrai if you want whole-codebase review on your own model, with unlimited reviews and Azure DevOps support.
- →Bring your own LLM key on every plan
- →Unlimited reviews at a flat per-developer price
- →AST graph of the whole repository, updated on merge
- →GitHub, GitLab, Bitbucket and Azure DevOps
- →Rules, ticket checks and Pulse DORA metrics
// alternative path
Pick Greptile if you want a free starter plan or prefer a fully managed model setup.
Greptile is a strong codebase-aware reviewer with a free Starter plan and learning from reactions. Trade-offs: credit-based billing, no model choice on self-serve plans, and no Azure DevOps.
Both understand the whole codebase. Decide on model control, billing and your Git host.
Frequently asked
How much does Greptile cost compared with Mesrai?
+Greptile Pro is $1 per credit with no seat fee (a standard review is 1 credit, Plus 3, Apex 10); a free Starter plan includes 50 credits a month for one developer. Mesrai Pro is ₹499 / $6 per developer per month (billed in INR in India, USD elsewhere) with unlimited reviews, plus your own LLM provider's token cost.
Does Mesrai index the whole codebase like Greptile?
+Yes. Mesrai parses each repository into an AST graph when you add it, caches it, and updates it incrementally on every merge, so reviews see how a change affects code outside the diff.
Can Greptile use my own LLM key?
+Not on its self-serve plans — Greptile runs its own models. Mesrai runs on your own key on every plan.
Does Greptile support Azure DevOps?
+Greptile's documentation lists GitHub, GitLab and Bitbucket, including self-managed versions. Mesrai supports GitHub, GitLab, Bitbucket and Azure DevOps.
Greptile vs CodeRabbit — where does Mesrai fit?
+Greptile focuses on codebase-graph review with credit-based pricing; CodeRabbit is a widely used reviewer with IDE extensions and per-user plans from $24 to $72. Mesrai combines a repository graph with bring-your-own-key on every plan and a flat per-developer price.
Can I switch from Greptile to Mesrai?
+Yes. Install Mesrai on the same repositories; it comments on the same pull requests with no CI changes. Run both during Mesrai's 14-day trial to compare.
See Mesrai on your next PR.
Free for individual developers as a launch offer. Set up in about 2 minutes on your own LLM key. Mesrai posts inline on the PR surface your team already uses.