Skip to main content
Enclave meters AI work and sandbox time in credits. Your balance is shared by everyone in your organization.

What uses credits

Credits pay for the work Enclave does for you:
  • Research messages and the background agents they start
  • Workflow runs, including PR review, repository scans, and security hunts
  • Analysis such as CVE research and exploitability checks
  • Sandbox time: the seconds a sandbox runs for a session or a workflow run, including the test run of each custom sandbox build
AI cost depends on how much the model reads and writes, so larger models and longer tasks use more. Sandbox time is charged by the second while a sandbox runs, and a sandbox with more CPU and memory costs more per second. Viewing findings, Coverage, and other pages doesn’t use credits.

Your balance

Your balance is your plan’s monthly allowance plus any credits you bought.
  • Monthly allowance: your plan grants credits at the start of each billing period. Unused allowance expires when the next period starts. See Plans for how many each plan includes.
  • Purchased credits: credits you buy don’t expire. Enclave uses your allowance first and your purchased credits after that.
Settings → Billing shows what you have left and how many credits you’ve bought.

See your usage

Only owners and admins can open Settings → Billing.
  • Used since shows how many credits you’ve used this billing period, out of everything you could spend: what you’ve used plus what’s left.
  • Usage charts the credits you used each day. Sessions are Research messages and the background agents they start. Workflows are everything else, such as PR review and security hunts. Sandbox is sandbox time, whether a session or a workflow run started the sandbox. Choose Last 7 days, Last 30 days, or Last 90 days, and hover over a bar to see that day’s totals. Days are in UTC.
The Credits and Usage sections of Settings → Billing, with 2,340 of 4,800 credits used and a daily chart of Sessions, Workflows, and Sandbox

Buy more credits

In Settings → Billing, click Add $25**, **Add $50, or Add $100, or enter another amount and click Add. Only owners and admins can buy credits. After you click Add, Stripe Checkout opens. If you cancel Checkout and return to Enclave, you weren’t charged. If you submit payment, Stripe may still be confirming it when you return. Enclave adds credits only after Stripe confirms the payment, so your balance may take a moment to update.

Auto top-up

Auto top-up buys credits with the card on file when your balance runs low, so work doesn’t stop. Only owners and admins can set it up. Your organization needs a Pro or Team plan and a default card. A bank debit can’t be used.
  1. In Settings → Billing, click Set up under Auto top-up.
  2. In When balance drops below $, enter the balance that starts a top-up.
  3. In Add $, enter how much to buy each time. It must be more than the threshold.
  4. Optionally, enter a Monthly limit $. Leave it empty for no limit.
  5. Click Turn on.
If your balance is already below the threshold, the button reads Turn on and add $N, and your card is charged right away. Settings → Billing shows what auto top-up charged this month. The monthly limit resets at the start of each month (UTC), and credits you buy yourself don’t count toward it. Click Edit to change the settings, or Turn off to stop.

When auto top-up pauses

If your card is declined, your bank asks you to confirm the payment, or there’s no card on file, auto top-up pauses. Settings → Billing shows why. Click Update payment method to fix it, then click Resume.

Refer a friend

When someone who signs up with your referral link pays their first invoice, your organization gets $100 in usage credits. You can earn this for up to 10 referrals. The referral card and banner appear once your organization has paid for Enclave for a week. Free trials and complimentary plans don’t count. Anyone in your organization can copy the link. Click Copy link on the referral card in the sidebar, or open Settings → Account and click Copy link in the referral banner. If you dismiss the card, the link stays in Settings → Account. The link opens Enclave sign-up, so Enclave knows you referred them.
  • Who counts: someone new to Enclave who signs up this way and gets a new organization. People who already have an Enclave account, or who join their company’s existing organization through SSO, don’t count.
  • The credits: they’re added automatically when their organization pays its first invoice, and your organization’s owners get an email. They don’t expire.

When you run out

When your balance reaches zero:
  • You can’t send new Research messages, start workflow runs, or start a new analysis.
  • After your credits run out, Enclave refuses the next AI model call. Eligible workflow runs pause; runs that can’t pause may fail. See Pause and resume to learn what to do next.
  • You can still view everything in Enclave.
Buy more credits, turn on auto top-up, or wait for your next allowance, to continue.

Keep usage under control

  • Check where credits go. The Usage chart in Settings → Billing shows whether Sessions, Workflows, or Sandbox use the most, and which days spike.
  • Keep sessions focused. Start a new session for each topic instead of letting a long one drift.
  • Pick the right model. Use larger models for hard reasoning and smaller ones for simple questions.
  • Scope your workflows. Use trigger conditions so runs start only when they matter, and set a budget on each run.
  • Choose which repositories get PR review. Turn off PR review in Repositories for repositories that don’t need it.