Skip to Content
API ReferenceBilling & Usage

Billing & Usage

LaunchGate uses usage-based billing with plan tiers.

Plans

PlanMonthly runsRetentionOverage
Free50014 daysHard block (402)
Pro15,0001 year$3 per 1,000 runs
Scale100,0001 year$1.50 per 1,000 runs
EnterpriseUnlimitedCustomN/A

One run = one completed POST /v1/run call.

On the Free plan, exceeding 500 runs returns HTTP 402. Upgrade to Pro or Scale for automatic overage billing.


Get usage

GET /v1/billing/usage

Response

{ "plan": "pro", "plan_name": "Pro", "monthly_limit": 15000, "current_usage": 3420, "retention_days": 365, "usage_percentage": 22.8 }

Create checkout session

POST /v1/billing/checkout

Creates a Stripe Checkout session for upgrading.

Request body

FieldTypeRequiredDescription
planstringYes"pro" or "scale"
success_urlstringNoRedirect URL on success
cancel_urlstringNoRedirect URL on cancel

Response

{ "checkout_url": "https://checkout.stripe.com/c/pay/..." }

Customer portal

POST /v1/billing/portal

Creates a Stripe Customer Portal session for managing subscriptions, invoices, and payment methods.

Response

{ "portal_url": "https://billing.stripe.com/p/session/..." }
Last updated on