PlatformAPI documentation

Developer docs

10. Billing: credit, balance and usage

Version 1.0 · 2026-10-20

← Back to the API reference

The platform is prepaid: you add credit first, and each request is charged for its actual usage once it completes. When the balance runs out, requests return 402. Failed requests, such as backend or validation errors, are not charged, and neither is a non-streaming request whose connection drops before the response arrives. If a stream is interrupted after it has started sending, the tokens already generated are still billed.

Credit packs

PlanYou payCreditedBonus
StarterUS$10US$10.00—
BuilderUS$50US$52.505%
ScaleUS$200US$224.0012%

Credit packs are delivered as redeem codes. Email info@powerchampion.org to buy one.

Redeem a code POST /v1/redeem

bash
curl https://b300.powerchampion.ai/v1/redeem \
  -H "Authorization: Bearer $PC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code": "<redeem code>"}'
json
{ "ok": true, "credited_nano_usd": 10000000000, "new_balance_nano_usd": 12345000000 }
StatusMeaning
200Credited; amounts are in units of 10⁻⁹ USD
400No code, the body is not a JSON object, or this key does not support credit; the code is not consumed
404The code does not exist
409The code has already been used, disabled or expired

Balance and usage

EndpointReturnsNotes
GET /dashboard/billing/subscriptionplan.remaining_usdRemaining balance; excludes reservations for in-flight requests, so it may read slightly high
GET /dashboard/billing/usagetotal_usage, total_usage_nano_usdCumulative historical spend (USD); date ranges are not supported
bash
curl https://b300.powerchampion.ai/dashboard/billing/subscription \
  -H "Authorization: Bearer $PC_API_KEY"
json
{
  "object": "billing_subscription",
  "has_payment_method": true,
  "hard_limit_usd": 8.42,
  "system_hard_limit_usd": 8.42,
  "access_until": null,
  "plan": { "title": "prepaid", "remaining_usd": 8.42 }
}

There is no API for per-request records yet; ask us for a monthly report. Every response also reports usage: usage for text models, and the X-Usage-Tokens header for text to speech.

Billing rules

Every model uses the same formula, priced at the list price when the request is accepted:

Cost (US$) = (input tokens × input price + output tokens × output price) ÷ 1,000,000

Non-text models are first converted into equivalent tokens:

Model typeConversionResult
Image generation1,000 tokens per image × US$10 / 1MUS$0.01 per image
Text to speech50 tokens per second × US$10 / 1MUS$0.03 per minute
Speech recognition50 tokens per second × US$3.33 / 1MAbout US$0.01 per minute

Video generation does not use the token conversion above: it is priced per second of output video, reserved at submission and settled on completion with the difference refunded. See section 9.

Precision is 10⁻⁹ USD. Charges are applied after the response completes, so the last request can leave the balance slightly negative.