TokenRex usage, credits and invoices

Understand who pays for app AI, how Rex AI credits are used, and where to inspect TokenRex requests, failures and usage invoices.

By Apirex Team · Updated

On this page

App AI is separate from building

Building and editing a project uses the builder’s Rex Credits. AI called inside your generated app is app-AI usage. The app owner pays for those requests, including requests made by visitors. A visitor does not need an Apirex credit balance for your app to use the owner’s authorized AI connection.

Which credits are used

BalanceUsed for TokenRex app AI?
Rex AI creditsYes. Your 5 monthly AI-only credits are used first.
Paid Rex CreditsYes, after the AI-only balance runs out.
Daily free creditsNo. These do not fund AI requests inside your app.
Bonus creditsNo. These do not fund AI requests inside your app.

Rex AI credits cannot be used for building. The AI panel shows the monthly balance and its next refill date. If both the AI-only balance and eligible paid balance run out, app AI pauses. An owner-set spending limit can also stop requests; it does not add credits or promise a fixed price per answer.

Read the AI panel

  1. Open More → AI inside the project.
  2. Choose the time range for the activity you want to inspect.
  3. Review Credits used, AI requests, Success rate and Avg. time.
  4. Find the request in AI activity and open Show request details.
  5. Inspect the available input, reply, model, duration, status and recorded credit charge.

Request details can include input and output token counts, cached input, reply type and returned media when the service provides them. Missing details are not proof of zero usage. A short answer is not automatically cheap: long inputs, generated media and repeated calls can increase the recorded cost.

Invoices and cumulative usage

Where a billed request has an Invoice action, open it to inspect the available usage document. TokenRex issues generation invoices; Apirex displays the returned document rather than creating a replacement. If the generation invoice has not been issued, the panel shows “Invoice pending”. A cumulative usage statement is a different document, not a substitute for a missing generation invoice.

Keep spending predictable

  • Use a suitable low-cost model for ordinary tasks; raise quality only when testing shows a need.
  • Send relevant context rather than unrelated records or an entire conversation every time.
  • Prevent accidental double-submits and show progress while a request is running.
  • Check actual usage after testing instead of treating an example answer as a price quote.
  • Use an available owner spending limit when you need to restrict app-AI spending.

Investigate a failed request

Start with the request’s recorded error and the connection status. Check whether the selected model is still offered, whether input matches that model and whether the owner has eligible credits. A failed request should not be presented as a completed answer or a finished media file. Retry only after understanding the failure, and retain the user’s input so they do not have to start over.