Skip to content

feat(billing): remove the team-member seat limit on cloud plans (unlimited seats) #372

Closed

Description

@gkhngyk

Summary

Remove the team-member seat limit for cloud plans, so an organization can invite unlimited teammates in cloud mode. Today the paid cloud tiers cap team size (Starter = 1, Growth = 3), while Self-Hosted and Enterprise are already unlimited (-1). We want to drop that cap on the cloud plans too.

What to change

-1 is already the codebase's "unlimited" sentinel for plan limits (used by Self-Hosted and Enterprise, and special-cased everywhere the limit is read), so this is mostly a config change:

  1. Set maxTeamMembers: -1 on the Starter and Growth plans, in BOTH plan configs — they must stay in sync:

Everything downstream already keys off -1, so it flows through automatically:

  • enforceLimit(orgId, 'maxTeamMembers', …) in inviteMember (web/src/lib/actions/team.ts) becomes a no-op (within limit is always true for -1).
  • getTeamInfo's canInvite = max === -1 || … becomes always-true, so the "Seat limit reached" upsell banner in web/src/components/settings/team-section.tsx no longer shows, and the seat label already renders "N seats used" (no "of M") for -1.
  • The plan switcher already prints "Unlimited" for -1.

UI follow-up (small)

The onboarding plan card currently only lists team members when maxTeamMembers > 1 (onboarding/page.tsx ~line 1557), so with -1 that line disappears for Starter/Growth. Prefer showing "Unlimited team members" for -1 instead of hiding it, so the perk stays visible (mirror how the plan switcher handles -1).

Non-goals

  • Self-Hosted and Enterprise are unchanged (already -1).
  • Other plan limits (prompts, volumes, audits, etc.) are unchanged — this is only about maxTeamMembers.
  • No Stripe/billing change is needed for the limit itself; seats aren't metered.

How to test

  1. On a Starter or Growth (cloud) org, go to Settings → Team → invite more than the old cap (2+ for Starter, 4+ for Growth) → invites succeed; no "Seat limit reached" banner.
  2. The seat label reads "N seats used" (no "of M").
  3. The onboarding plan cards show "Unlimited team members" for those plans.
  4. Self-Hosted / Enterprise behave exactly as before.

Notes

  • Keep the two plan configs (web + server) identical — a mismatch would let the UI and the server disagree on the limit.

Activity

  1. added
    enhancement
    help wanted
    on Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions