show charges
Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use show invoices instead.
CLI: vastai show invoices-v1 --charges
Documentation Index
Fetch the complete documentation index at: https://docs.vast.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key must be provided in the Authorization header
Query Parameters
day (required). Date range in unix seconds (UTC). Operators: gte, lte.
type (optional). Filter by contract type: instance, volume, serverless. Operator: in.
Examples:
// All charges in January 2026
{"day":{"gte":1767225600,"lte":1769903999}}
// Only instance charges
{"day":{"gte":1767225600,"lte":1769903999},"type":{"in":["instance"]}}
// Volumes and serverless only
{"day":{"gte":1767225600,"lte":1769903999},"type":{"in":["volume","serverless"]}}table(default) flat list of per-contract rows withtype: "instance"or"volume".treeserverless contracts are collapsed under endpoint/workergroup wrappers withtype: "serverless"andsource: "endpoint-<id>"/"workergroup-<id>". Regular instances and volumes are unchanged.
table, tree "table"
Sort by most recent charges first.
true
Max results per page. Server maximum 500.
x >= 120
Pass the next_token value from the previous response to fetch the next page of results. When the response returns next_token: null, there are no more pages.
"eyJ2YWx1ZXMiOiB7ImlkIjogMTIzNDU2Nzh9fQ=="
Response
Paginated per-instance charge results
true
Number of contracts returned in this page.
2
Total number of contracts matching the filters.
14
Pagination cursor for the next page. null when no more pages.
"eyJ2YWx1ZXMiOiB7ImlkIjogMTIzNDU2Nzh9fQ=="
List of per-contract charge entries.