How reviews are charged
Last updated .
How much does a MergeSafe review cost?
Each reviewed commit costs $0.25 at Essential, $0.50 at Strong (the default) or $1.80 at Ultra, taken from your organization’s prepaid balance, and nothing is charged for a review that doesn’t complete.
MergeSafe charges per review from your organization’s prepaid dollar balance. There are no seats, no minimums and no invoices after the fact.
Your balance
- Every new organization gets $20 in free credit when it signs up, once per GitHub account ($5 for GitHub accounts under 30 days old), valid 30 days. Fair use: to prevent abuse, the number of new organizations credited each day is limited; if yours didn’t arrive, write to support@mergesafe.ai.
- Add to your balance by card from the app.
- Funds you add never expire. Free signup credit ($20, or $5) expires 30 days after it’s granted. Free credit is spent before paid credit.
- Within 30 days of first installing MergeSafe you can ask for a refund of 90% of your unused paid credit, at most $900. Free credit isn’t refunded. A balance can be up to $1,000. See the Terms of Service.
Auto-refill
- An organization admin can turn on Auto-refill on the Billing page: when your balance falls to an amount you choose, MergeSafe charges your saved card to bring it back up. Each refill is $10 to $1,000, and Stripe emails an invoice for it.
- Every auto-refill has a monthly limit: the most it adds in a calendar month (UTC). It’s $1,000 unless you change it. You can also set a daily limit, the most it adds in a UTC day.
- A refill that would pass a limit is made smaller, or skipped when less than $10 is left, until the next day or month. A refill never takes your balance above the maximum balance.
What a review costs
- Essential $0.25, Strong $0.50 (default), Ultra $1.80, per reviewed commit, in US dollars.
- Add-ons: Expert security +$0.70, Expert logic +$0.80. Essential or Strong with both add-ons runs as Ultra, at $1.80, so a review never costs more than $1.80 at the normal price.
- An add-on that doesn’t complete isn’t charged.
- Small follow-up changes on Essential and Strong are automatically reviewed at half price ($0.125 on Essential, $0.25 on Strong). Add-ons are always charged in full. See Follow-up reviews at half price.
- Large pull requests ask first. Above 2,000 hand-written changed lines (lockfiles and generated files don’t count), MergeSafe comments with the price and waits. Reply
@mergesafe review largeto go ahead at 1.5× the level’s base price, with add-ons charged as usual. An admin can have them reviewed automatically instead, for the organization or one repository. Above 5,000 lines, or more than 60 files, a pull request isn’t reviewed or charged; you get a prompt to split it. See Large pull requests.
Sentry issue analysis and fixes
- With the Sentry integration’s analysis on, each Sentry issue MergeSafe analyzes costs 30¢, from the same balance.
- Each issue is charged once: repeat events for an issue already analyzed are free. A regression (the issue returns after being resolved) is analyzed and charged again.
- A failed or skipped analysis isn’t charged. Turn automatic Sentry analysis off and nothing is charged unless someone clicks Analyze now on an error (30¢ for that one).
- Sentry fix: $1.00 per pull request it opens, with a Strong review of it included. Sentry auto-fix is off by default. Declined or failed attempts aren’t charged. See Sentry integration.
Issue cards
- With Issue cards on, MergeSafe reads each new issue against your code and says whether it’s ready to work on. Only issues opened by your organization’s owners, members and collaborators get a card; an outside contributor’s issue gets none and doesn’t use a free one. 20 issue reviews a day, up to 100 a month, are free. Each additional one is 5¢, from the same balance. Issue cards are on by default; an admin can turn them off in Settings.
- The free ones are per organization, counted by UTC day and UTC calendar month, shared across your repositories and trackers: an issue is free only while both counts are under their limits. The Billing page’s Prices tab shows how many you’ve used today and this month. At most 5 free ones are made a minute; a free issue past that gets no card.
- Only a card that is made uses a free one or is charged: a failed issue review doesn’t use a free one and isn’t charged (free ones are tried at most 60 times a UTC day, made or failed; past that, no more are tried free that day), and each issue is charged at most once. There is no daily or monthly fee.
- Spending limits apply. When your balance or a limit doesn’t cover the next one, that issue gets no card, and the app’s Issues page says why.
- Past the free ones, you approve more. When today’s free issue reviews are used, new issues get no card until an org admin approves more: 50 more (up to $2.50) or 100 more (up to $5.00) at a time, for the rest of the UTC day, with Approve on the Billing page or the Issues page, or by replying to MergeSafe’s Slack post or email with the exact text it shows. MergeSafe tells your admins how many issues are waiting. When an approval is used up, cards stop and ask again, and approvals don’t carry over to the next day. Your spending limits still apply. An issue not approved within 2 days of arriving gets no card, isn’t charged, and is listed on the Issues page.
Advisory check
- The CVE check is free: MergeSafe matches every new security advisory against the packages and versions your repositories declare.
- CVE verification is free too, only when an advisory hits one of your repositories: it checks whether your code actually calls the affected functions or code paths. Nothing comes out of your balance.
- It’s optional: on by default, and an admin can turn it off under Settings, Security advisories.
Full audit
- Every repository gets its onboarding audit free, however many you install. Full audits are never charged: an organization can also run one more full audit, free, each calendar month.
- About a month after a private repository’s last audit, MergeSafe audits its default branch again, free, if the branch has changed since. It’s on by default; an admin can turn it off for the organization or for a repository.
You only pay for completed reviews
Nothing is charged for a review that is:
- skipped — for example the author isn’t selected for review, or the pull request is too large and nobody agreed to the large-PR price;
- failed — a review that fails is not charged, even if part of it was already posted on the pull request;
- “nothing new” — asking for a review of a commit that was already reviewed gets a reply saying so, and no charge.
To keep spending predictable, set spending limits.