| Wallet | What it pays for | Where credits come from |
|---|---|---|
| Data wallet | Data API calls, connection proxy calls, webhook events, workspace database usage. | Monthly plan allowance + purchased data credits + signup bonus + trial grant. |
| AI wallet | Anthropic model calls for deployed agents — input + output tokens, cache reads, cache writes, runtime. | Monthly plan allowance + purchased AI credits + trial grant. |
Data credits
Data credits are deducted on every successful API request to/v1/data/*, /v1/connections/*, /v1/db/*, and webhook-event consumption.
Make a request
The endpoint has a base cost in cents. Each request consumes that amount, possibly discounted by your plan tier.
| Field | Meaning |
|---|---|
costCents | Data credits charged for this request |
purchasedBalanceCents | Remaining purchased data credits |
subscriptionRemainingCents | Remaining subscription allowance this period |
AI credits
AI credits fund Anthropic model calls for deployed agents — every turn the agent takes, every cache read/write, and the managed-runtime compute time. The wallet is debited per session: each session writes one or moreagent_compute_usage rows that aggregate token + runtime cost and deduct against the AI balance.
What’s billed to the AI wallet:
- Input tokens sent to the model
- Output tokens generated by the model
- Cache reads and cache writes
- Managed-agent runtime usage
- Any other model I/O Anthropic charges for the agent run
Checking your balance
From the dashboard
The Billing page shows both wallets — subscription allowance, purchased balance, and any trial credits still available — with a usage chart on top.From the API
agnt_credits_balance as an MCP tool to check before doing something expensive.
Buying credits
Add to either wallet from the dashboard:- Open Billing.
- Choose Buy data credits or Buy AI credits.
- Pick an amount and complete Stripe checkout.
- Credits land in the chosen wallet immediately.
Auto-reload
Auto-reload tops a wallet up automatically when the balance drops below a threshold. The wallets are configured independently — you can enable auto-reload on data credits and leave AI credits manual, or vice versa.| Setting | Meaning |
|---|---|
enabled | Whether auto-reload fires for this wallet. |
thresholdCents | The balance at or below which we attempt a reload. |
reloadAmountCents | How much we charge the card on reload. |
Subscription vs. purchased vs. trial
| Source | Behavior |
|---|---|
| Subscription allowance | Monthly bucket that resets at billing period rollover. Use it or lose it. |
| Purchased balance | One-time top-up. Doesn’t expire. Drained after subscription. |
| Trial grant | One-time grant during the trial window (see Trial). |
| Signup bonus | Added once when you first activate a credit package. Doesn’t expire. |
Workspace credit sharing
Credits live at the organization level, not on individual workspaces or users:- Every API key in any workspace in the org draws from the same wallets.
- Members see the same balance regardless of which workspace they’re viewing.
- The Billing tab is identical across workspaces in the same org.
Insufficient credits
When the data wallet is empty, billable API calls return:Next steps
Usage
Per-call drill-down on data credit consumption and per-session AI credit burn.
Trial
How trial credits land in each wallet and how the deploy gate works.
Rate limits
Per-plan RPM caps and backoff guidance.
Errors
Error codes you might see when a wallet is empty.