Usage and spend
See what your organization spends over a period, on which GPUs and rentals, your balance, runway and top-ups, in the app or through the API.
In the app
Open Spend in the Rent workspace. Pick a period at the top (the last 30 days unless you choose another); every day is a UTC day, and each figure is compared with the period of the same length just before it.
Overview: what you spent, the GPU-hours you used, what a GPU-hour cost you on average (platform fee included), your daily average, and what everything running now costs per hour. Below them, spend over time (by day, week or month, split by charge type, GPU model, tier or rental if you like), the price per GPU-hour over time, what the money went on, and the five rentals that cost most.
Rentals: every rental charged in the period, with its state, GPUs, GPU-hours, price per GPU-hour, what promo credit paid and what it cost. Each one opens its page. Download CSV has every rental with its charges split by type. Below the list, Data transfer shows this month's data sent out (see Data sent out of Legion).
Breakdowns: the period's spend by GPU model, charge type, rental, tier, rental type, GPU count or country, with the previous period, the change and each one's share.
Balance & top-ups: your organization's prepaid credit, the runway (how long it lasts at the rate of everything running now), promo credit, and each top-up and what became of it.
Activity: usage by rental session, and every credit and charge.
The charge types are GPU time (what providers charged for the hours your rentals ran), Platform fee (Legion's share on top), Storage (the disks of stopped rentals), Backups (see backup pricing) and Data transfer. The prices you see when you rent already include the platform fee. Spend figures can run a few minutes behind; the page says when they were last updated.
A rental's own page shows its billed time and its cost so far. Its Cost tab lists GPU time, storage, and any backup charge and refund.
Through the API
| Operation | Returns |
|---|---|
| getRenterSpendOverview | What you spent in a period, against the previous one, and what runs now. |
| getRenterSpendSeries | Spend over time, by day, week or month. |
| getRenterSpendBreakdown | A period's spend by one dimension. |
| listRenterSpendRentals | The rentals charged in a period, with what each cost. |
| getBillingAccount | Your balance. |
| listRentalCharges | What each rental has cost. |
| getRentalCharges | One rental's billed time and charges. |
| listBillingActivity | Usage by rental session. |
| listTopUps | Your top-ups and their status. |
The period reads take from and to as UTC dates, both days included. An agent connected to the MCP server reads the same figures with get_, get_ and list_.
Money is always an integer number of cents with a currency code, for example {"amount_ for $4.20.
curl -s "https://api.legion.ambient.xyz/v1/billing/account" \
-H "Authorization: Bearer $LEGION_API_KEY"curl -s -G "https://api.legion.ambient.xyz/v1/renter/spend/overview" \
--data-urlencode "from=2026-10-05" \
--data-urlencode "to=2026-11-03" \
-H "Authorization: Bearer $LEGION_API_KEY"