Credits, top-ups and limits
How prepaid credit works, how a request is priced, how to add credit, how spending is capped, and where invoices are.
Prepaid credit#
Panward is prepaid: you add credit in USD, and each request draws on it at your organization's prices. Receipts and verification are free. The Billing page of the console shows the paid and promotional balance, the spend so far this month and the days of credit left at the recent spend rate. Changing billing needs the Owner, Admin or Billing role.
How a request is priced#
A price has components: input, cached_input, output (reasoning tokens included), image, audio and request (a flat amount per request, normally 0). A price can also have a per-request minimum: an answered request is then billed at least that amount, also when its tokens cost less; the price list states it. Amounts are integer nano-USD (1 USD = 1,000,000,000 nano-USD); a token price is nano-USD per 1,000,000 tokens. For each token component a request costs ceil(quantity × amount_nano_usd / 1,000,000), in integer arithmetic.
For example, at an input price of 2,160,000,000 nano-USD ($2.16) per 1,000,000 tokens, 1,500 input tokens cost ceil(1500 × 2160000000 / 1000000) = 3,240,000 nano-USD, or $0.00324. The list prices are open, with no key:
curl "https://panward.ai/api/public/pricing?kind=chat&tier=sealed"
import requests prices = requests.get("https://panward.ai/api/public/pricing").json() def components(model, tier): for entry in prices["data"]: if entry["model"] == model: for price in entry["pricing"]: if price["tier"] == tier: return price["components"] raise KeyError(model) def amount(tokens, component): # ceil(tokens * nano-USD per 1M tokens / 1,000,000), in integers return -(-tokens * component["amount_nano_usd"] // 1_000_000) c = components("z-ai/glm-5.3", "sealed") nano_usd = amount(1500, c["input"]) + amount(500, c["output"]) print(f"{nano_usd} nano-USD = ${nano_usd / 1e9:.6f}")
type Component = { amount_nano_usd: number }; type Pricing = { data: Array<{ model: string; pricing: Array<{ tier: string; components: Record<string, Component> }> }>; }; const prices = (await (await fetch("https://panward.ai/api/public/pricing")).json()) as Pricing; function components(model: string, tier: string): Record<string, Component> { const entry = prices.data.find((e) => e.model === model); const price = entry?.pricing.find((p) => p.tier === tier); if (!price) throw new Error(`no ${tier} price for ${model}`); return price.components; } // ceil(tokens * nano-USD per 1M tokens / 1,000,000), in integers const amount = (tokens: bigint, c: Component) => (tokens * BigInt(c.amount_nano_usd) + 999_999n) / 1_000_000n; const c = components("z-ai/glm-5.3", "sealed"); const nanoUsd = amount(1500n, c.input) + amount(500n, c.output); console.log(`${nanoUsd} nano-USD`);
What is billed and what is not#
- Billed: the tokens actually produced, including a stream you cut, which is billed for what was generated.
- Not billed: requests Panward refuses (authentication, policy, limits, validation) and upstream failures before any output.
Promotional credit#
Promotional credit, when you are granted some, is used before paid credit, expires on the date the Billing page shows, and is never refundable.
Add credit#
Choose Add credits on the Billing page. The balance is credited only when the payment provider confirms the payment, never from what the browser reports.
| Method | Name | How it works |
|---|---|---|
| card | Card | $10 to $5,000 per top-up. You pay in the payment provider's hosted form or with a saved card; Panward never sees card data. A bank challenge may ask you to confirm the payment. |
| link | Link | $10 to $5,000 per top-up, with the payment details saved in a Link account. |
| usdc | USDC on Ethereum or Base | Choose the network and send the exact amount shown to the deposit address within 30 minutes. |
| invoice | Invoice or bank transfer | Team plan and above, at least $1,000: Panward issues a pro-forma invoice, with your purchase-order number if you give one, and you pay it by bank transfer. |
Following a USDC deposit
A deposit moves through awaiting_payment, detected, confirming (the dialog shows the confirmations seen, n of N) and credited. It can also end underpaid, overpaid, expired (nothing arrived in the 30 minutes) or wrong_asset. For an underpaid deposit you choose: credit what arrived now, or keep the deposit open for 72 hours to send the rest.
Auto top-up
Auto top-up charges a saved card or Link when the balance falls below a threshold you set: an amount of $10 to $5,000, with an optional monthly cap. Three failed charges in a row pause it and notify you. The default payment method cannot be removed while auto top-up is on.
Enterprise terms
Organizations on invoice terms are invoiced monthly in arrears, within a credit limit agreed in their contract.
Limits on spending#
- The organization's Monthly spend limit, on the Billing page: a cap per calendar month (UTC). At the limit requests are refused with
402 spend_limit_reacheduntil the cap is raised or the month ends. - A project's budget, in its policy (Policies).
- A key's monthly limit, on the key.
The lowest limit that applies wins.
When credit runs out#
A request whose estimated cost is more than the balance is refused with 402 insufficient_credit. Nothing is forwarded and nothing is billed. Requests already in flight can take the balance slightly below zero, up to the overdraft limit shown in the billing summary; the next top-up covers it.
402 spend_limit_reached means one of your limits is reached. 402 billing_unavailable means Panward's billing could not be reached to cover the request; retry shortly. Inference continues on balance already set aside for a region while billing is unavailable.
{
"error": {
"type": "insufficient_credit",
"message": "Your balance is too low for this request. Add credit and try again.",
"param": "max_tokens",
"request_id": "req_01JC7Q4N8G5T2R9X1M3K6P7W4D",
"doc_url": "https://panward.ai/docs/errors#insufficient_credit"
}
}import os import requests r = requests.post( "https://api.panward.ai/v1/chat/completions", headers={"Authorization": f"Bearer {os.environ['PANWARD_API_KEY']}"}, json={"model": "z-ai/glm-5.3", "messages": [{"role": "user", "content": "Hello"}]}, ) if r.status_code == 402: error = r.json()["error"] if error["type"] == "insufficient_credit": print("Add credit in the console, or turn on auto top-up.") elif error["type"] == "spend_limit_reached": print("A monthly limit is reached: raise it or wait for the next month (UTC).") elif error["type"] == "billing_unavailable": print("Billing could not be reached: retry shortly.")
Alerts#
Alert rules in the console watch your balance, your spend and the share of a budget used, among other things, and notify the channels you choose.
A webhook endpoint of yours can receive top_up.credited when a top-up is added to your balance and budget.reached when spend reaches one of your monthly limits, and an alert rule can use a webhook endpoint as its channel (Webhooks).
Statements, invoices and tax#
For prepaid credit the invoice is issued at top-up. Invoices, credit notes and monthly usage statements are listed under Billing, newest first; each invoice's PDF does not change once issued. You can email an invoice to up to 10 addresses, or to your billing contacts, and export every invoice PDF of a calendar year as one ZIP file.
Billing details hold the legal entity, address, tax id, purchase-order number and billing contacts. A tax id is validated, and reverse charge applies where the rules allow it. Changes apply to future invoices only.
Refunds#
Unused paid credit can be refunded to the original payment method; ask Panward support. USDC refunds are sent by hand after a review. Promotional credit is never refundable.
Price changes#
Prices follow our suppliers' prices and can change at any time; the price in force when a request is made is the one charged. A change appears under pricing[].next of the public price list a few minutes before it takes effect, with the time it does.