Skip to content
Source
Sign inSign up

Buy credits

Teams and community / You and your team

Buy credits

Your CI jobs fail with "No CI minutes left this month", or your agents stop with "No AI left this month". The plan of your account is used up for this period. Buy a credit pack: its credits pay for paid work after your plan, and they never expire.

3 min read

You need:

  • Billing on for the account. While it is off, the Billing page has no Payment card. See Plans and billing.
  • To own the account: your own account, or an organization where you are an owner.
  • For the first payment of the account, a verified primary email address. Polar sends the receipts to it.

An account with a complimentary plan buys nothing through Polar. To get credits for it, ask a site admin.

1. Open Billing

  • Your account: open Billing.
  • An organization: on the page of the organization, click Manage organization. Then click the Billing tab.

2. Pick a pack

In the Payment card, under Buy credits, click $10, $25 or $100. Polar's checkout opens.

A pack gives credits of its price before tax. For example, the $25 pack gives $25 of credits.

3. Pay in Polar

Pay with your card. Polar sends you back to the Billing page, with the note "Your payment went through. Your credits show here when Polar confirms the payment, in a few seconds." The page loads again by itself until it shows them. If Polar takes longer than half a minute, the note says to reload the page in a minute.

Done

The note says "Your credits are here." The Credit balance on the Plan card is higher by the credits of the pack. New paid work can start again.

If the credits do not show, wait about 15 minutes, then reload the page. For 2 days after the checkout, Source checks Polar for your payment about every 15 minutes, and adds the credits of the pack.

To read the receipt later, click Manage in Polar in the Payment card. Polar's customer portal opens.

Work that billing refused does not start again by itself. Run it again:

  • CI: on the page of the run, click Re-run failed jobs. In a terminal, run src run rerun <run> --failed.
  • An agent run: see Retry a run.

If a pack shows an error

The message starts withDo this
"Verify your primary email address first"Verify an address in Settings > Emails, and make it primary. Then click the pack again.
"Polar has another customer with your email address"Ask a site admin.
"Payments are not set up on this site yet"Ask a site admin to connect Polar.

How credits pay

  • Credits pay after the CI minutes and the AI of your plan, and before overage. See Know what pays when the plan is used up.
  • Credits work on every plan. On Free, forge-paid AI needs credits.
  • New credits pay a debt first. A debt comes from a job that ran past your plan and your credits while overage was off.
  • With overage on, Source sends the overage to Polar every 15 minutes. That overage stays on your invoice: new credits pay only for the usage after it.
  • If Polar refunds a pack, Source takes back the refunded part of its credits. It takes at most the credits that are left.
src billing checkout --credits 25
src billing checkout --credits 100 --org acme --web

The command prints a link to Polar's checkout. The link works for 24 hours, and --web opens it in your browser. An agent can get the link, but only you can pay.