Skip to the documentation
API

Read pay as you go

Whether usage past the allowances is billed, and what it costs so far.

GET/billing/pay-as-you-go

Runs the real call on your workspace.

GET /billing/pay-as-you-go

Whether usage past the allowances is billed, and what it costs so far.

Example

Needs billing:read. Amounts are in US cents. limits are the monthly limits that can be chosen, prices what extras cost, and period the current billing period of pay as you go, null until it is set up.

curl
curl "$API/billing/pay-as-you-go" -H "$AUTH"
Response
{  "object": "pay_as_you_go",  "available": true,  "enabled": true,  "suspended": false,  "enrolled": true,  "switchedOn": true,  "viaPlan": false,  "coversSends": true,  "coversAiActions": true,  "coversAddressChecks": true,  "coversReceived": true,  "coversStorage": true,  "coversApiRequests": true,  "limitCents": 5000,  "spentCents": 260,  "extraSends": 3000,  "extraAiActions": 0,  "extraAddressChecks": 0,  "extraReceived": 2000,  "extraStorage": 0,  "extraApiRequests": 1000000,  "estimatedCents": 260,  "limits": [1000, 2500, 5000, 10000, 25000, 50000, 100000, 250000, 500000],  "prices": {    "sends": { "unit": 1000, "priceCents": 50 },    "aiActions": { "unit": 100, "priceCents": 50 },    "addressChecks": { "unit": 100, "priceCents": 150 },    "received": { "unit": 1000, "priceCents": 40 },    "storage": { "unit": 1, "priceCents": 30 },    "apiRequests": { "unit": 1000000, "priceCents": 30 }  },  "period": {    "endsAt": "2026-11-01T09:00:00.000Z",    "sends": 3000,    "aiActions": 0,    "addressChecks": 0,    "received": 2000,    "storage": 0,    "apiRequests": 1000000,    "estimatedCents": 260  }}

enabled is true while extras are billed: switched on and not paused. suspended means the last payment failed, and the card is updated on the billing portal. viaPlan is true when the plan subscription itself bills the extras, as on Pro and Max, and false on Starter, where adding a card sets pay as you go up. prices are the rates of the plan of the workspace, the usageRates of that plan on GET /billing/plans, and the rates for sends, received emails, storage and API requests differ from plan to plan. storage is priced per GB a month. While pay as you go is on, every request a key or a connected app makes to the REST API or the MCP server is billed at the apiRequests rate of the plan, up to the monthly spending limit like every other extra. Per 1,000,000 requests that is $0.50 on Starter, $0.30 on Pro and $0.20 on Max. Requests refused with 429 rate_limited, requests that failed on our side with a 5xx and the requests made before pay as you go started are never billed.

Only the owner of the workspace reaches billing: an API key, or an access token the owner connected with every address. A member’s token is a 403 owner_only, and a key or token limited to particular addresses or domains is a 422 capability_unsupported.

Reference