What it does
When your Cogito balance drops below a threshold you set, we charge your saved card for a fixed amount and credit the proceeds to your token balance. No interactive checkout, no 402s mid-deploy. Configure it under Dashboard → Billing → Auto-recharge. You set two values:- Threshold — when balance falls below this, we trigger a recharge.
- Recharge amount — how much to add. Must be greater than the threshold.
Saving a card
Auto-recharge needs a saved card. Open Dashboard → Billing → Saved card and click Save a card — you’ll go through Stripe Checkout, which collects your card details. We don’t charge anything; the card is stored on your Stripe Customer for future use. To replace the card, click Replace in the same section and enter the new one. To remove it entirely, click Remove — auto-recharge will silently stop firing until you save a card again. Saved cards are also used for one-click manual top-ups: when you click a top-up amount, Stripe Checkout pre-selects your saved card so you don’t re-enter details every time.When it triggers
A recharge fires within seconds of any API request that drops your balance below the threshold. We hold a per-account cooldown of about a minute, so a burst of concurrent requests results in a single charge, not many. We never preemptively charge — recharges are always reactive to actual usage.When it fails
If your card is declined (expired, frozen, insufficient funds, fraud hold), we:- Send an email at the recipient on file describing the bank’s reason.
- Pause auto-recharge for an hour to avoid spamming retries.
- After three consecutive failures, disable auto-recharge and email you. To re-enable, replace the saved card under Saved card → Replace and turn auto-recharge back on.