HomeTutorials › Chrome, Server & Billing
Chrome, Server & Billing

Stripe Billing & Plans

#110 0:17 Part of the Rysh video series

Four tiers, Stripe checkout, and limits enforced in three places.

Stripe Billing & Plans — 0:17 walkthrough

What you'll see

  1. Four plans: Free, Solo $19/mo, Team $49/mo, Enterprise (custom).
  2. Limits cap workspaces, sessions, and panes -- Free 1/3/30, Team 20/200/2000.
  3. Stripe integration: Checkout, Billing Portal, and webhooks; monthly or yearly intervals.
  4. Limits enforced at three layers: workspaces (server-side at creation), sessions (server-side at WebSocket upgrade), panes (daemon-side in the WorkspaceActor).

Commands shown

printf 'Free \\$0 | Solo \\$19/mo | Team \\$49/mo | Enterprise custom\\n'
printf 'Limits: workspaces / sessions / panes -- Free 1/3/30 ... Team 20/200/2000\\n'
echo 'Stripe: Checkout + Billing Portal + webhooks (monthly/yearly)'
echo 'Enforced 3x: workspaces (create) | sessions (WS upgrade) | panes (daemon)'

Keys used

Enter

Transcript

0:00Four tiers, Stripe checkout, and limits enforced in three places.

0:05The server has four plans. Free, Solo at nineteen dollars a month, Team at forty-nine, and Enterprise with custom pricing -- each raises your limits.

0:16The limits cap three resources: how many workspaces you can create, how many concurrent sessions, and how many panes -- so Free is one workspace, three sessions, thirty panes; Team jumps to twenty, two hundred, two thousand.

0:27Payments run through Stripe. The billing page offers monthly or yearly with Stripe Checkout, a Billing Portal for managing the subscription, and webhooks that keep the server in sync.

0:38And limits are enforced at three layers: workspaces server-side at creation, sessions server-side at the WebSocket upgrade, and panes daemon-side in the WorkspaceActor before a pane is spawned.

Key takeaway
Four Stripe-billed tiers (Free/Solo $19/Team $49/Enterprise) cap workspaces, sessions, and panes, enforced across three layers.