Skip to main content

Prepaid wallet

AtlasFlux uses a prepaid wallet system. You add credit (MYR) to your wallet, and each API request deducts the actual cost.

Adding credit

Add credit via the Billing Dashboard or through the API:

How billing works

  1. Reservation — Before execution, AtlasFlux estimates the cost and reserves it from your balance
  2. Execution — The request is processed by the selected model
  3. Settlement — Actual cost is charged; excess reservation is released
  4. If request fails — The full reservation is released back to your balance

Cost components

Unit system

All internal values use micro-MYR (1 RM = 1,000,000 micro-MYR). The API returns costs as MYR strings for display.

Insufficient balance

If your wallet balance is insufficient, the request returns:

Usage tracking

Every request is logged with:
  • Token counts (input, output, reasoning, cached)
  • Cost in micro-MYR
  • Latency
  • Routing category
  • Upstream model used
View usage in the Dashboard.