Usage, charges and reconciliation
Understand CHUA ONE reservations, final charges, request records and statement reconciliation.
How billing moves through a request
- Price snapshot. CHUA ONE records the applicable published customer price when it accepts the request. Use the model page for the current price; an older request keeps its recorded price basis.
- Reservation. Before dispatch, the service temporarily reserves a bounded amount against the workspace funding source and the project and key budgets. The final charge appears after settlement.
- Settlement. After a verified success, CHUA ONE settles the recorded customer price against confirmed usage and releases any unused reservation. The request record then shows the final charge.
Request states and money movement
reserved- The request passed admission and funds are held temporarily. No final charge is available yet.
dispatching- The upstream operation is in progress. Keep the request id and wait for a terminal result.
succeeded- Delivery and billable usage were confirmed. charged_micros contains the settled amount and a matching charge can appear in the statement ledger.
failed- Failure was confirmed. The reservation is released and there is no settled usage charge for that attempt.
review- Delivery, usage or the final amount still needs reconciliation. The reservation can remain held and the displayed charge is not final. Check the same request record before retrying.
How usage is measured
- Text and Messages
- Successful requests record input and output tokens. Eligible models may also report cached input or cache-write tokens, which use the price components published for that model.
- Images
- Some image routes use a published per-image price. Other routes settle measured input and image-output tokens. The model page and its request example identify the applicable basis.
- Video
- Video routes settle using the published unit for the selected model, such as verified output seconds or verified completion tokens. Read usage in the completed task and the final charge in the request record.
Keep the request receipt
The X-CHUA-Request-ID response header identifies the recorded operation. Capture response headers in server-side logs and avoid storing API keys or request content with the receipt.
API origin: https://chuaone.si
Response header: X-CHUA-Request-ID: YOUR_REQUEST_ID
Request record: state=succeeded, charged_micros=FINAL_SETTLED_AMOUNT
Statement ledger: kind=charge, reference=request:YOUR_REQUEST_IDReconcile a request
- Open Usage and search for the X-CHUA-Request-ID or model. The Usage page is available to workspace members and shows state, metered tokens and final charge. Open Usage
- For a succeeded paid request, open Statements and match the request to its usage-charge ledger entry. Owners, admins and billing members can access this page and export a UTC date range as CSV. Open Statements
- If the request is still reserved, dispatching or review, keep the original idempotency key and check the existing record before sending another request.
Related guides
Keys, permissions and budgets · Errors and safe retries · Service status