Site administration
Turn on billing
You run a Source site, and you want each account to pay for its CI and AI with a plan. Turn on billing in the Billing card of the Limits page. The same card gives plans for free, adds credits, makes accounts exempt and turns billing on early for chosen accounts.
6 min read
You need:
- To be a site admin.
- Polar connected, so that people can pay. See Connect Polar for payments.
Caution
Before you turn on billing, give more to the accounts that need it. While billing is on, an account with nothing left cannot start new paid work.
1. Open the Billing card
Open Limits. The Billing card is under the cards of limits.
Each list of the card shows at most its first 500 accounts, by name. A longer list says so in a line under it.
2. Prepare the accounts that need more
Free includes 1,000 CI minutes and no forge-paid AI. So on Free, the agents and the chats cannot use the models that Source pays for, unless the account has credits. Plans and billing lists what each plan includes.
For each account that needs more, do one of these:
- Give it a complimentary plan.
- Add credits.
- Make it exempt, so that billing stays off for it.
3. Turn on billing
- Turn on Charge accounts for paid work.
- Read the question Turn billing on?, then click Turn billing on.
Done
The switch says "On. An account with no included amount, credits or overage left cannot start new paid work." Each account starts a new period today, so the days before today are not charged. All accounts see the change within about a minute.
Give an account a complimentary plan
A complimentary plan is a paid plan with no payment.
- In Complimentary plans, type the name of the user or the organization in Account.
- Pick the Plan. Pro is for a user. Team and Enterprise are for an organization.
- For Team and Enterprise, type the Seats, from 1 to 1,000. Each seat adds $3 of forge-paid AI.
- Click Give plan.
The list of the card shows the account, its plan and its seats.
- The period of the plan starts that day.
- To change the plan or the seats, give the account a plan again. Its period does not change.
- To take the plan back, click Back to Free in its row. A new period starts that day.
- A complimentary plan has no overage. When the account needs more, add credits.
A complimentary plan and a Polar subscription do not mix:
- An account that pays through Polar gets no complimentary plan. Give plan then says "This account pays through Polar. Cancel its subscription before you give it a complimentary plan."
- An account with a complimentary plan buys nothing through Polar. Before its owner can buy a plan, click Back to Free.
Add or take back credits
- In Credits, type the name of the user or the organization in Account.
- Type the Amount in dollars, from -100,000 to 100,000. A negative amount takes credits back.
- Click Add credits.
A note says what changed, for example "Added $25.00 of credits to acme."
- Credits pay after the included amounts of the plan, and they never expire.
- Each grant counts once, also when you send the form again.
- After an error, send the same account and amount again: if the first send added the credits, the note says so. If you change the account or the amount, the form sends a new grant.
Make an account exempt
Billing stays off for an exempt account. Source counts its usage, and it limits and charges nothing.
- In the Billing card, find Exempt from billing.
- In Account, type the name of the user or the organization.
- Click Make exempt.
The list under Exempt from billing shows the account.
- An exempt account keeps the limits of the site and its account override, as while billing is off.
- To end the exemption, click Remove exemption in its row. A new period starts that day.
- An account is never exempt and early at once. When you make an account exempt, its billing on early ends.
Turn billing on early for an account
Billing on early turns billing on for chosen accounts while it is off for the site. Use it to test payments with the Polar sandbox, or to start billing for a few accounts first. Nobody else sees a change.
- In the Billing card, find Billing on early.
- In Account, type the name of the user or the organization.
- Click Turn on early.
The list under Billing on early shows the account. Its Billing page now shows the Plan card and the Payment card.
- A new period starts for the account that day.
- When you turn on billing early for an exempt account, its exemption ends.
- To end it, click End early billing in its row. A new period starts that day.
- The end of billing on early does not cancel a subscription in Polar. While billing is off for the site, cancel the subscription first. Else Polar charges it at each renewal, and billing stays off for the account.
What changes while billing is on
- Containers: each account runs the containers of its plan at the same time, in place of CI containers per account and CI containers per repository. So one repository can use all of them. An account override still wins.
- AI: the plan, credits and overage pay for forge-paid AI, in place of Monthly AI spend cap and its deploy variable. The Monthly AI cap of an account override, and the lower cap of an organization, still hold.
- Free work: imports, pushes and repacks never wait for billing. Neither does the free CI of public repositories:
smalljobs, up to 20,000 CI minutes for each account in each period. - Exempt accounts and job sizes: in a public repository of an exempt account, a CI job that sets no size runs on
large, as in a private repository. For other accounts it runs onsmall, the free size. A run reads the exemption when it starts. - Paid public CI: the
mediumandlargejobs of public repositories, and public CI past that limit, are paid work. See Free CI for public repositories.
The limits lists these limits of the site.
Turn billing off
Turn off Charge accounts for paid work. Billing turns off at once, with no question. Billing stays on for the accounts with billing on early. Each other account starts a new period that day, and billing refuses none of its work.
The Billing card is on the web only. src, REST and MCP have no billing commands for site admins.