Code Review
Billing and credits
Solidafy Code Review can be paid for with prepaid credits. Solidafy switches credits on per organization, so if your organization doesn't use them, this page doesn't apply to you. It explains what a credit is, how to buy them, how reviews use them, and what happens when you run out, and it's for organization owners and admins.
Credits
- 1 credit = 1 euro cent, so EUR 1 buys 100 credits.
- Credits are priced in EUR excluding VAT.
- Your balance belongs to your Solidafy organization and is shared by every repository the app reviews for it.
Where to manage billing
In the portal, open Manage organization > Billing. The page is visible to organization owners and admins once billing is enabled for your organization. If you don't see it, ask your Solidafy contact.
The page has these sections:
| Section | What it shows |
|---|---|
| Balance | Your current credits (with the approximate EUR value) and the credits spent this month. |
| Billing address | The address and VAT number printed on your receipts and invoices. The VAT number is set by Solidafy and can't be changed here once assigned. |
| Buy credits | Packs and a custom amount (see below). |
| Spend cap | An optional monthly limit on review spend. |
| Invoices | Receipts and invoices for your credit purchases, with VAT itemized. |
| Organization invoices | Invoices issued to your organization directly, separate from credit purchases. Visible to organization owners only. |
Buying credits
- Under Buy credits, pick one of the packs or enter a Custom amount (EUR). The amount must be a whole number of euros, at or above the minimum the page shows. The page tells you how many credits you'll get.
- Click Continue to payment. You're taken to a Stripe checkout page to pay by card.
- When payment completes you're sent back to the Billing page and the credits are added to your balance.
Only an organization owner or admin can buy credits.
The amount you enter is the ex-VAT credit value. VAT is added at checkout: 25% for Swedish organizations, or 0% (reverse charge) for businesses in other EU countries with a valid VAT ID, which Stripe collects and validates during payment.
How reviews use credits
Before a review starts, it sets aside the most it's allowed to cost, so two reviews running at once can't between them spend credits you don't have. When the review finishes, the rest is released and you're charged once, for the work it actually did. Larger and more involved pull requests cost more; a review that stops early costs less. The walkthrough that opens the summary is part of the review and charged with it. The summary comment on the pull request shows what that review cost and how long it took. For a pull request of 20 to 30 changed files it looks like this:
Review usage: 20 credits (150s)
Four settings bound what a single review can cost: the per-review cap, the per-reviewer share, and the per-reviewer time and investigation limits. The amount set aside is the per-review cap the review runs under. A review that reaches a cap stops early and reports what it found so far. All of them are under Review settings on the Code Review settings page; see Budget.
If you leave the per-review cap unset, it grows with the size of the pull request (see Bigger pull requests get a bigger budget), and so does the amount set aside. If your balance can't cover that larger amount, the review isn't refused: it runs under the standard cap instead and sets aside only that much. If you set the cap yourself, the amount set aside is always exactly your cap.
To see what reviews spent over the last 7, 30 or 90 days, and what each pull request's review cost, use the Review Agents app.
Other work charged to your credits
Reviews are not the only thing credits pay for. If Suggest review guidance is on, the pull requests Solidafy opens to write and maintain your .review-agents/ files are charged the same way, at roughly a third of a review for a first suggestion and less for a weekly re-read, with nothing charged in a week where your code didn't change. Each of those pull requests says what it cost. Turning the setting off stops that spend; see Guidance we suggest for you.
Setting a monthly spend cap
Under Spend cap, enter a Monthly cap (EUR) and click Save cap. The page shows the equivalent in credits per month. Leave it unset for no cap.
When the credits spent in the current calendar month reach the cap, new reviews don't run. Their Solidafy Code Review check fails with a budget exceeded status that shows this month's spend and the cap. Reviews resume on their own once you raise the cap or the next month starts.
The spend cap is the same setting as Monthly budget (EUR) on the Code Review settings page, so changing it in either place changes both.
Low-balance warnings
When your balance drops to 500 credits (EUR 5) or below, your organization's owners get an email linking to the Billing page, and an alert in the portal. You're warned once each time the balance drops that low; buying credits that take it back above 500 resets the warning.
When you run out of credits
If your balance is used up, new reviews don't run. Their Solidafy Code Review check fails with an out of credits status, so a required check keeps the merge blocked rather than passing silently. No findings are posted and nothing is charged.
Once you buy more credits, reviews resume automatically on the next push. To review a pull request's current commit straight away, comment /review on it.
Guidance pull requests are held back on the same terms, by either the monthly cap or an empty balance, and are offered again once you top up or the month rolls over. Nothing is lost in the meantime.
