latestOpenAPI 3.1.02026-08-10475185.4 KB

fd9320b4b13d

Provides the inference request cost in nanoUSD for a list of request IDs.

Inference requests are billed based on the cost of the tokens used in the request. The request ID can be found in the "X-Inference-Request-Id" inference response header.

post/v2/usage/request-cost

Request body

requestIdsstring[] required

Response

Successful response