Mesrai

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.

BYOK
Yes vs No
Review limit
None vs credits
Azure DevOps
Yes vs No
II.

TL;DR — four takeaways

4 cards
  • · 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.

III.

Feature matrix

11 dimensions
// featureMesraiGreptile
  • Inline PR comments
  • AI pull request summary
  • Graph of the whole codebasefunctions, imports, calls
    AST graph, updated on merge
  • Learns from 👍/👎 reactions
  • GitHub · GitLab · Bitbucket
  • Azure DevOps
  • Bring your own LLM key
    every plan
    not on self-serve plans
  • Engineering metrics (DORA)
    Pulse
  • Free plan
    individuals (launch offer)
    Starter, 50 credits/mo, 1 dev
  • Self-hosted
    Enterprise
    Enterprise
  • Pricing
    flat 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.

IV.

Defect-detection audit

INTERNAL AUDITv2026-06

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.

Mesrai overall
75%18/24 caught
Greptile overall
67%16/24 caught
  • Criticalauth bypass, RCE, secret exfiltration
    7 bugs in dataset
    Mesrai6/7 · 86%
    Greptile5/7 · 71%
  • Highconcurrency, ownership-check, tenant leakage
    9 bugs in dataset
    Mesrai6/9 · 67%
    Greptile7/9 · 78%
  • Mediuminjection edge-cases, log leakage, CSRF
    8 bugs in dataset
    Mesrai6/8 · 75%
    Greptile4/8 · 50%
V.

Per-codebase audit

3 codebases · 24 PRs

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.

Supabase_REPORT.csv· TypeScript.ts
8 records
PR · bugSeverityMesraiGrep
  • Refactor row-level-security policy linterJWT claims parsed before RLS check — anon role leaks rows
    CRITICAL
  • Storage upload presign endpointBucket name interpolated without path-traversal guard
    CRITICAL
  • Realtime channel auth handshakeSubscription reuses prior connection's claims after reauth
    HIGH
  • Edge-function cold-start optimisationEnv-var cache shared across tenants — secret bleed
    HIGH
  • Postgres connection-pool warmupPool size read from stale config after migration
    HIGH
  • Auth UI password-strength meterRegex catastrophic backtracking on long input — DoS
    MEDIUM
  • Realtime broadcast payload-size guardLimit checked on stringified length — multibyte bypass
    MEDIUM
  • Migrations CLI diff rendererANSI escapes injected via column name — terminal hijack
    MEDIUM
// total6/85/8
VI.

Feature deep-dives

4 dimensions
  • 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.

    // greptile

    Per 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.

    // greptile

    Complete 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.

    // greptile

    Greptile-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.

    // greptile

    Learns 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.

VII.

System recommendation

90-second decision
~/compare$mesrai recommend --vs=greptileREADY

// 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.

# closing comparison

Both understand the whole codebase. Decide on model control, billing and your Git host.

VIII.

Frequently asked

6 questions
  • 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.

// try it

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.