Skip to main content
Flex capacity keeps GitHub PR AI reviews running after your workspace uses its included reviewed-line capacity. You set a monthly spend limit, and cubic buys extra reviewed-line capacity only when a review would otherwise be paused. Flex capacity is available on paid workspaces billed through Stripe. Admins manage it in Settings → Subscription by choosing a top-up size and setting a monthly spend limit.

How flex capacity works

Flex capacity turns a reviewed-line usage block into an automatic one-off charge:
  1. Your workspace uses its included reviewed-line capacity for the billing period.
  2. A new GitHub PR review would otherwise pause because the workspace is over its monthly limit.
  3. cubic checks your flex capacity setting and monthly spend limit.
  4. If the needed capacity fits under your spend limit, cubic charges the saved payment method immediately.
  5. After payment succeeds, cubic adds the extra reviewed-line capacity for the current billing period and continues the review.
Flex capacity applies only to GitHub PR AI review usage. CLI/local reviews, codebase scans, daily scans, wikis, and cubic coding agents use separate limits.

Pricing

Flex capacity costs $20 per 10,000 extra reviewed lines. The price is the same for Team and Pro workspaces, and the same for monthly and annual subscriptions. Flex capacity is separate from your seat subscription; it appears as a one-off invoice charge when cubic adds capacity.

Example charges

You choose a preferred top-up size in multiples of 10,000 lines. cubic buys enough blocks to cover the current overage, and it never buys a partial block. For a preferred top-up size of 20,000 lines: If a review is 25,000 lines over the included limit, cubic needs two blocks of 20,000 lines each. If your remaining monthly flex limit is less than the price for a preferred top-up, then cubic will buy the smallest amount that fits under the limit. For example, if your remaining limit is 30,butyourpreferredtopupis20,000linesfor30, but your preferred top-up is 20,000 lines for 40, and the review needs 5,000 lines, cubic will buy a 10,000-line block for 20.Ifareviewneeds40,000lines,cubicwillbuynothingbecausetheremaining20. If a review needs 40,000 lines, cubic will buy nothing because the remaining 30 cannot fund the required 40,000 lines.

Spend limits

A monthly spend limit is the most cubic can spend on flex capacity during one billing period. The setting is a hard stop: reviews can continue while the needed flex purchase fits under the limit, and reviews pause once the next needed purchase would exceed the limit. For example, a 60monthlyspendlimitcanbuyupto30,000extrareviewedlinesduringthecurrentbillingperiod.Ifyourworkspacehasalreadyspent60 monthly spend limit can buy up to 30,000 extra reviewed lines during the current billing period. If your workspace has already spent 40 and the next review needs 5,000 lines, cubic can buy a smaller 10,000-line top-up for the remaining 20.Ifthereviewneeds15,000lines,cubicbuysnothingbecausetheremaining20. If the review needs 15,000 lines, cubic buys nothing because the remaining 20 cannot fund the required 20,000 lines. Admins can set, raise, lower, or remove the spend limit from Settings → Subscription → Flex capacity. Removing the spend limit turns flex capacity off for future purchases. Extra capacity already bought during the billing period remains available until the period ends.

Payment behavior

Flex capacity is granted only after payment succeeds. If the payment method is declined, cubic does not grant the extra capacity and reviews stay paused at the current limit. Some cards require extra authentication, such as 3D Secure. When that happens, cubic emails workspace admins with a secure Stripe invoice link. The extra capacity is granted after the payment is confirmed. A failed flex capacity payment stops additional automatic flex purchase attempts for the same billing period. Update the payment method in billing settings to resume automatic flex capacity.

How to turn it on

Admins can enable flex capacity from the subscription settings:
  1. Open Settings → Subscription.
  2. Find Flex capacity.
  3. Select Set a spend limit.
  4. Choose how many lines cubic should add per top-up.
  5. Enter a maximum monthly spend.
  6. Save the settings.
The setting takes effect for future reviews. If reviews are already paused because your workspace is over the reviewed-line limit, setting a limit can let cubic buy the needed extra capacity and resume reviews.

How to monitor usage

Open Settings → Usage to see your reviewed-line usage, reset date, and flex capacity spend for the current billing period. The subscription page also shows flex spend, the monthly limit, and how many extra reviewed lines were bought this period. Flex capacity resets with your billing period. Unused extra capacity does not roll over.

FAQ

No. Seats still determine your included reviewed-line allowance and who has paid AI review access. Flex capacity covers temporary overages after your included reviewed-line capacity runs out.
No. cubic charges flex capacity only when a review needs extra capacity and the purchase fits under your monthly spend limit.
No. The spend limit is a hard cap. If the next required purchase would exceed the limit, cubic buys nothing and reviews stay paused until you raise the limit or the billing period resets.
cubic buys your preferred top-up size in 10,000-line units. It can combine multiple preferred top-ups when the current overage needs more capacity.
cubic stops making future flex capacity purchases. Extra capacity already paid for during the current billing period remains available until the period resets.
Your included reviewed-line allowance resets, flex spend returns to $0 for the new period, and any unused extra flex capacity from the previous period expires.
Flex capacity applies to your paid workspace’s GitHub PR AI review usage. Public repositories may also be subject to separate fair-use and abuse-protection limits, which flex capacity does not override.