Skip to main content
agntdata bills usage in cents against two separate wallets: The split exists so that an agent runaway on AI tokens doesn’t drain the wallet you use for data lookups, and vice versa. Both wallets are organization-scoped: every workspace in the org draws from the same balance.

Data credits

Data credits are deducted on every successful API request to /v1/data/*, /v1/connections/*, /v1/db/*, and webhook-event consumption.
1

Make a request

The endpoint has a base cost in cents. Each request consumes that amount, possibly discounted by your plan tier.
2

Plan discount applies

If you hold an active credit package, the discount lowers the effective cost.
3

Wallets drain in order

Subscription allowance first, then purchased balance, then trial credits. The response tells you how much of each is left.
Every response on a billable endpoint includes the live balance:

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 more agent_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
Agent builder model calls and the support widget are also billed to the AI wallet so all model usage rolls up in one place.

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

A deployed agent can also call agnt_credits_balance as an MCP tool to check before doing something expensive.

Buying credits

Add to either wallet from the dashboard:
  1. Open Billing.
  2. Choose Buy data credits or Buy AI credits.
  3. Pick an amount and complete Stripe checkout.
  4. Credits land in the chosen wallet immediately.
Purchased credits never expire. Trial credits are bound to the trial window and aren’t refunded after conversion.

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. Auto-reload requires a saved payment method on the org. The dashboard’s Billing tab walks through the Stripe setup intent flow.

Subscription vs. purchased vs. trial

Across all sources, drain order is: subscription → purchased → trial.

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.
If you need separate billing per project, use separate organizations.

Insufficient credits

When the data wallet is empty, billable API calls return:
When the AI wallet is empty, deployed agent runs are paused (the model call returns the same error) and the dashboard surfaces a banner with a one-click top-up.

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.