> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lanesync.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Billing and plans

> Free vs Pro plans, repository limits, and how to upgrade your LaneSync workspace.

LaneSync offers a **Free** plan for small teams and a **Pro** plan for unlimited repository bootstraps. Billing applies to the hosted SaaS at [lanesync.dev](https://lanesync.dev).

## Plan comparison

| Feature                                  |     Free    |                  Pro                 |
| ---------------------------------------- | :---------: | :----------------------------------: |
| Managed repositories                     | Up to **3** |             **Unlimited**            |
| Full release pipeline                    |     Yes     |                  Yes                 |
| Team members                             |     Yes     |                  Yes                 |
| Trusted Bootstrap & zero-touch bootstrap |     Yes     |                  Yes                 |
| Price                                    |     \$0     | Monthly or annual (see upgrade form) |

A **managed repository** counts toward your limit once bootstrap reaches **`COMPLETE`**. Repos still in setup (`PR_CREATED`, `SETUP_PENDING`, etc.) do not count until setup finishes.

## Free plan limit

When your workspace already has the maximum number of bootstrapped repos, starting bootstrap on a new repository returns **HTTP 402 Payment Required**:

```json theme={null}
{
  "error": "Free plan allows up to 3 managed repositories. Upgrade to Pro for unlimited repositories.",
  "code": "UPGRADE_REQUIRED",
  "maxRepos": 3,
  "usedRepos": 3
}
```

The repo setup wizard shows an upgrade prompt instead of creating a bootstrap PR.

<Note>
  Only repositories with bootstrap state **COMPLETE** count toward the Free plan limit.
</Note>

## Request a Pro upgrade

Only **workspace admins** can request an upgrade.

<Steps>
  <Step title="Open Billing settings">
    Go to [lanesync.dev](https://lanesync.dev) → **Settings** → **Billing** tab.
  </Step>

  <Step title="Choose billing cycle">
    Select **Monthly** or **Annual** billing. Annual pricing includes approximately two months free compared to monthly.
  </Step>

  <Step title="Submit payment reference">
    Click **Upgrade to Pro**. Review the payment instructions, complete payment outside LaneSync (bank transfer, UPI, or method shown in the form), and enter your **payment reference** (transaction ID or reference number).

    LaneSync calls `POST /api/billing/upgrade` and creates a pending payment request.
  </Step>

  <Step title="Wait for approval">
    A LaneSync platform admin reviews your request. Once approved, your workspace moves to **Pro** with unlimited repositories and an active billing period.
  </Step>
</Steps>

While a request is pending, the Billing tab shows its status. You cannot submit a second request until the first is approved or rejected.

## Admin payment approval flow

Pro upgrades use manual payment verification — there is no self-serve card checkout in the dashboard today.

1. Workspace admin submits upgrade with payment reference
2. Request appears in the LaneSync **Admin — Billing** queue (platform operators only)
3. Admin verifies payment against bank records
4. Admin clicks **Approve** or **Reject**
5. On approval, the tenant plan updates to **Pro** and repository limits are lifted immediately

<Tip>
  Include a clear payment reference and optional note when submitting — this speeds up approval.
</Tip>

## Enterprise and self-hosted billing

Self-hosted and Enterprise deployments use separate licensing — not the hosted Free/Pro tiers.

* **Hosted SaaS:** Free and Pro plans at [lanesync.dev](https://lanesync.dev)
* **Self-hosted:** Contact your account team or see [Enterprise overview](/enterprise/overview) for deployment and billing options

Enterprise customers run LaneSync in their own environment with custom domains, data residency, and org-controlled GitHub Apps.

## Related

<CardGroup cols={2}>
  <Card title="Install the GitHub App" icon="github" href="/guides/install-github-app">
    Bootstrap your first repository on Free or Pro.
  </Card>

  <Card title="Enterprise overview" icon="building" href="/enterprise/overview">
    When to choose self-hosted over hosted SaaS.
  </Card>
</CardGroup>
