Billing and credits

Buy Ostra credit, set up auto top-up, redeem coupon codes, set a monthly spend limit, manage your card and billing details, and find receipts in the TestRelic Console.

The Console is the pay-as-you-go way to use Ostra, and it is prepaid. You buy credit; each request is charged against the workspace balance as it runs. The Console has no subscription, no invoice and no free tier, and its credit is separate from your TestRelic platform plan. The Growth, Pro and Enterprise plans also include Ostra usage, metered and reset automatically; see pricing. Credits don't expire and can't be refunded or transferred.

Billing (console.testrelic.ai/billing) is visible to everyone in the workspace. Changes need the Owner, Admin or Billing role.

Credit balance

The Credit balance card shows the balance and how long it lasts at your last 7 days' usage, for example "About 12 days left", "Less than a day left" or "No recent usage".

Buy credits

Click Buy Credits (on this page or at the bottom of the sidebar).

Pick $5, $25, $100, $500 or $999 ($25 is selected), or type an Amount (USD): $5 to $999 per top-up, at most two decimal places. The dialog shows the Balance after top-up.

Click Pay $X. You pay on Stripe Checkout; card details never touch the Console. When you return: "Payment received. Credits appear in your balance within a few seconds." If you cancel: "Purchase cancelled. You were not charged."

Your first paid top-up saves the card for auto top-up. Need more than $999? Make several top-ups.

ErrorFix
"Minimum top-up is $5." / "Maximum top-up is $999 per transaction."Pick an amount from $5 to $999.
"Use at most two decimal places."Round the amount to cents.
"Add your billing details before adding credit."Fill in billing details first.

Auto top-up

Auto top-up refills the balance from your saved card so requests don't fail when it runs low. The line reads "Auto top-up $X when balance falls below $Y", with a switch to turn it on or off. Edit auto top-up sets:

FieldRangeDefault
Top up by (USD)$5–$999$25
When balance falls below (USD)$1 or more$5
  • It needs a saved card, which your first paid top-up saves. Until then: "Make a top-up first to save a card for auto top-up."
  • It's checked after billed requests, at most once every 10 minutes, and charges the saved card without asking.
  • Three failed charges in a row turn auto top-up off. Each failure sends a billing.auto_topup_failed webhook and appears in the audit log. Update the card, then turn it back on.

Spent this month

The Spent this month card shows this calendar month's spend (UTC) against your limit, with a progress bar and the alert marker.

Edit limit opens Monthly spend limit:

FieldRules
Limit per calendar month (USD)$1 or more. Empty for no limit.
Alert at (% of limit)1–100, default 80.

"Requests are refused with 402 spend_limit_reached once this month's spend reaches the limit, even with credit left." The limit resets at the start of each month (UTC).

When spend first crosses the alert percentage in a month, the Console sends a billing.spend_alert webhook and adds an audit-log entry. It doesn't send an email: subscribe a webhook to get alerts in your chat or paging tool.

Individual keys can have their own monthly cap; see API keys.

Payment method

The Payment method card shows the saved card (brand, last four digits, expiry), or "No card saved yet. Your first top-up saves one for auto top-up." Manage payment method opens the Stripe customer portal, where you can replace the card. It's available once a card is saved; before that: "No card on file yet. Make a top-up first."

Billing details

Billing details are required before the first top-up. Edit billing details changes them later.

FieldRules
Billing asCompany ("Billed to a business; add a VAT or GST ID") or Individual.
Company legal name / Full nameRequired, up to 200 characters.
Billing emailRequired. Stripe sends your payment receipts here.
Country or regionRequired. Pre-filled from your browser's language.
Address line 1Required, up to 200 characters.
Address line 2Optional.
CityRequired, up to 100 characters.
RegionState (US, Australia, India: required), Province (Canada: required), County (UK), otherwise State / province (optional).
Postal codeZIP code (US), PIN code (India), Postcode (UK, Australia), otherwise Postal code. Required except where a country has no postal codes; up to 20 characters.
Tax IDOptional, up to 40 characters, saved in upper case. Labelled EIN (US), GSTIN (India), GST/HST number (Canada), ABN (Australia), VAT number (UK and EU), GST number (Singapore), otherwise Tax ID.

The first time, you also accept the terms by ticking: "I agree to the TestRelic Terms of Service and Refund & Cancellation Policy, and I have read the Privacy Policy. Credit is prepaid, charged once per top-up, and can't be refunded or transferred." The three documents are linked from the checkbox: Terms of Service, Refund & Cancellation Policy and Privacy Policy.

Coupon codes

Have a coupon code? adds free credit. Enter the code (3–50 letters, digits, _ or -; upper-cased for you) and click Redeem.

  • "Each code works once per organization."
  • You need billing details first.
  • Coupon credit never expires, and doesn't count toward your usage level.
MessageMeaning
"That code isn't valid. Check the spelling and try again."Unknown code.
"<CODE> can't be redeemed for credit."The code isn't a credit code.
"This code expired on <date>." / "This code is no longer active."Too late.
"This code is for new accounts only."The workspace has topped up before.
"Your organization already redeemed <CODE>."Already used here.
"This code has reached its redemption limit."Used up.
"Could not check that code right now. Try again in a minute."Temporary problem.

Rates

The Ostra Decision rates and Ostra Pro rates cards list current prices: "Billed per input; the decisions it returns are free · REST and MCP are billed the same · batch calls 50% off · cached results and errors are not billed". Full pricing and how charges work: Billing (API).

Top-ups, coupons and receipts

The history table lists every Top-up, Auto top-up and Coupon with its date, status (Paid, Pending, Failed) and amount. Receipt opens the Stripe receipt for a payment (coupons have none). There are no invoices.

When requests fail for billing reasons

ErrorFix
402 insufficient_balanceBuy credits or turn on auto top-up. For Ostra Pro, lowering max_tokens lowers the amount held per request.
402 spend_limit_reached, scope: "org"Raise or clear the monthly spend limit, or wait for next month.
402 spend_limit_reached, scope: "key"Raise the key's cap in API keys.
Was this page helpful?

On this page