What is charged
- Only successful runs are charged, at USD 0.0003 per run (300 micro-USD). The price is the same on every plan; no plan multiplier applies.
- Failed runs are never charged. That includes validation failures, missing connections, connections that need reconnecting, rate limiting, app errors and unknown outcomes.
- Browsing the catalog, connecting, and reading or deleting connections are free.
- Each run reports what it cost in the
X-AISA-Customer-Cost-Micros-USDresponse header, in micro-USD (1 USD = 1,000,000 micro-USD). - A retry answered from an earlier run’s stored result (
Idempotent-Replayed: true) is not charged again. See Retries and idempotency.
Balance checks
Before a run is sent, AIsa checks your balance twice:- Balance gate. Your account balance must be above zero, and the API key’s spending limit, if it has one, must not be used up. Otherwise the request fails with
402 insufficient_balancein the standard error shape, with the message “the account balance or this key’s budget is exhausted”. The same gate applies toPOST /connect/{app}/credentials, because the app checks the credentials, even though connecting is free. - Reservation. AIsa reserves the cost of one run. If the balance is too low, the request fails with
402and the action is not sent.
402 from the reservation has a different body from the other errors:
code is insufficient_api_key_balance. Top up or adjust the key’s limit as described in Billing & Credits.
Connection limit
By default an AIsa account can have 100 active connections, counted across all of your end users. Connections with statusneeds_reconnect count too; deleted ones do not. Beyond that, connecting returns 403 user_quota_exceeded, and a hosted session ends failed with the same code. Delete connections you no longer use, or contact developer@aisa.one to raise the limit.
Reconnecting an existing connection with connectionId does not count as a new connection.
Rate limits
Limits apply per API key:- Every response carries
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset(seconds until the limit resets) for the key’s read or write limit. - Over the limit, AIsa returns
429 rate_limitedwith aRetry-Afterheader. Rate-limited requests are not charged. - Writes also share an account-wide limit across all of your keys, and an overall service limit. Heavy bursts can get
429before one key reaches 60 per minute. - An app can also rate limit a request. Then the run returns
429 rate_limited, and the app’s wait time, when it gives one, is passed on inRetry-Afterand inerror.details.retryAfterSeconds. - MCP and CLI clients signed in with OAuth get the same limits.