Skip to content
FoundationMachines

Billing

Free, Pro and measured-usage PAYG billing for Sebastion Code Security.

Plans

PlanBase priceUsageBest for
Free$0Fixed safety quotasPublic open-source repositories
Pro$19 / monthUnlimited standard reviews; optional overage is not yet availableOne developer working in private repositories
PAYG$0Measured AI usage, subject to a customer-set monthly limitVariable usage for one connected account

Pro remains a recurring subscription. PAYG has no monthly base fee and uses a Stripe activation-date monthly billing period.

PAYG is available

Set a monthly limit in the billing page, complete Stripe setup and pay only for recorded model input and output tokens. There is no monthly base fee.

PAYG model rates

ModelInput / 1M tokensOutput / 1M tokens
Haiku 4.5$2.40$12.00
Sonnet 4.5 or 4.6$9.00$45.00
Opus 4.6 or 4.8$45.00$225.00

The billing page includes a calculator for model and token amounts. Historical usage keeps the rate that was effective when the work began.

How measured usage works

Before billable AI work starts, the Gateway reserves a hard upper-bound amount using known input and the provider-enforced maximum output. Admission includes:

  • settled rated usage in the current Stripe-anchored period;
  • every active reservation; and
  • the new requested reservation.

After the provider responds, the reservation is settled against actual input and output. A customer is never charged more than the reservation. If provider usage exceeds it, Foundation Machines absorbs the difference, blocks the contract and raises an incident.

Unknown provider completion stays reserved for investigation. A reservation is released only after an explicit failure before the provider call begins.

Limits and availability

PAYG requires a customer-set monthly measured-usage limit. You can change the limit from the billing page. Pro overage, when available, will require explicit consent and its own limit.

When billing enforcement is unavailable, new billable AI calls fail closed. Eligible non-billable scanners—including OSV, static analysis and secret detection—continue independently.

Subscription states

  • Active or trialling: applicable paid entitlements are available.
  • Past due: base Pro access can remain, but PAYG work and Pro overage stop.
  • Paused or unpaid: paid entitlements stop immediately.
  • Cancelled or incomplete expired: the connected account returns to Free.
  • Unknown: billable work fails closed until the state is verified.

Billing page

The billing page shows:

  • settled measured usage;
  • active reservations;
  • the amount remaining before the limit;
  • the Stripe-anchored billing period;
  • invoice timing and subscription controls; and
  • Pro-overage consent when that rollout gate is available.

Stripe hosts payment methods, invoices and subscription management. Each connected account has one canonical Stripe customer and subscription binding; events with mismatched customer or subscription identifiers cannot change another account.

Switching plans

  • Free → Pro: use Upgrade to Pro on the billing page.
  • Free → PAYG: set a limit and continue to Stripe from the billing page.
  • Pro → PAYG: cancel Pro through Manage subscription, then set up PAYG.
  • Pro → Free: cancel through the Stripe Billing Portal.
  • PAYG → Free: cancel the PAYG subscription through the Stripe Billing Portal.

Legacy credit packs remain an internal rollback path. They are not the PAYG billing model.