Basic
Query Usage-based Billing
GET
Request Headers
string
required
Enum:
application/jsonstring
required
Bearer authentication format, for example: Bearer {{API Key}}.
Query Parameters
string
required
Billing cycle granularity. Options:
Hour, Day, Week, Month.string
required
Product type. Common values:
summary(Summary bill)gpu(GPU instance)llm(LLM API)serverless(Serverless Endpoint)cloud_storage(Storage resources)gen_api(Image/Video/Audio generation)cloud_sandbox(Agent Sandbox)llm_dedicated_endpoint(LLM Dedicated Endpoint)web_search(Web Search)bare_metal(Bare Metal)
string
Product name. Supports fuzzy matching.
string
Product subcategory.
integer
Start time of the billing period to query, Unix timestamp in seconds (int64).
integer
End time of the billing period to query, Unix timestamp in seconds (int64).
string
Resource instance ID.
This endpoint does not support pagination. Keep each query range within 31 days. For longer ranges, split requests by calendar month or calendar week.
Response Parameters
object[]
required
Pay-as-you-go bill list.
Last modified on June 2, 2026