Skip to main content
Darkbloom uses a prepaid balance: you add funds before making inference requests or running sandbox jobs, and usage is deducted as it settles. Deposits go through Stripe Checkout.

Add credits in the console

1

Sign in to the console

Go to console.darkbloom.dev and sign in with your email address.
2

Open billing

Navigate to Billing and choose Buy Credits.
3

Enter an amount

Enter the amount you want to add. The minimum deposit is $0.50.
4

Complete Stripe checkout

You are redirected to a Stripe-hosted checkout page. Enter your card details and confirm the payment.
5

Wait for the webhook

The coordinator credits your balance when Stripe delivers checkout.session.completed, usually within seconds. The redirect back to the console does not itself apply the credit.

Add credits with the API

Create a Checkout session with your API key:
amount_usd is a string and must be at least 0.50. The response includes the Stripe URL to open and the coordinator’s session ID:
Poll the session to confirm the credit:
status moves from pending to completed after the webhook is processed. A session owned by another account returns 404.
A deposit is spendable but not withdrawable. Only earnings (provider payouts and referral rewards) count toward the withdrawable balance.

Check your balance after deposit

Pay for Darkbloom Sandbox jobs

Darkbloom Sandbox bills the account that consents to pay for a GitHub App installation. Grant consent with the installation ID the sandbox service shows you:
Each job holds the price of 60 minutes of its runner class from your balance when it starts, then charges per second with a one-minute minimum and returns the rest. Infrastructure failures are released and cost nothing; jobs on your own provider Mac are free. Read the current rates and platform fee with:
Before Darkbloom publishes prices this route returns 503 sandbox_billing_unavailable, and no job can start. List your charges or revoke consent with GET /v1/sandbox/charges and DELETE /v1/sandbox/consents/{installation_id}.
Do not close the Stripe checkout tab before the payment completes. If you do and the payment goes through, the credit still applies once the webhook arrives, but it may take a few seconds.
See Pricing for how credits are consumed and how sandbox jobs are metered.