Billing

Token usage and cost for a single RFT run

Changed on

Return the running token + cost totals for one RFT run.

Mirrors the per-row training data shown on the billing page (Training tokens, Inference input/output tokens, price per million tokens, and total cost) so an agent can poll this endpoint to monitor a live run.

get/api/v1/billing/runs/{run_id}/usage

Request

  • Base URL
    https://api.primeintellect.ai
  • Auth
    HTTP bearer

Path parameters

run_idstring required

Response

Successful Response

run_idstring required
run_namestring nullable
base_modelstring nullable
statusstring nullable
total_tokensinteger required
total_cost_usdnumber required
record_countinteger

Changes