Loading...

Docs · Routes and pricing

Reading your usage log

What each row of the usage log shows, how to filter it, and what is never recorded.

Usage logs opens on today's Consume rows, one per successful request. Pick All types or another type (Top-up, Manage, System, Error, Refund, Login) in the type selector for the rest.

What a row shows

The Details panel starts with Request ID (quote it to support), Upstream Request ID, Token, Group and Response Time (with FRT for streams). Billing Details names the route, model and unit (USD per 1M tokens, image or second), splits Total input into Uncached input, Cache Read and Cache Write, then lists Item, Quantity, Unit price and Amount, a Billing precision adjustment line when rounding moved the total, and Wallet charged. A long-context request also states the threshold and its input tokens. Stream Status appears only when a stream ended abnormally, with End Reason, Soft Errors and End Error (stream_terminated).

A Refund row reads Billing refund; its Refund Details give the amount, original request, task id and reason. Failed, expired or shorter videos refund this way.

An Error row carries no tokens and no charge, only the HTTP status and a fixed error category. A retried request leaves an Error row beside its final Consume row; only that attempt is charged.

Login rows record the login method, IP address and user agent under Login Info.

Filters

The bar has quick ranges (24h, 7d, 14d, 30d), a date picker, Model Name, Group (a route id such as openai-official) and the type selector. More adds Token Name, Request ID and Upstream Request ID. Search or Enter applies; Reset returns to today's Consume rows. Hide masks key names, routes, the totals and the Group and Token Name boxes.

Below the filters, Net consumption sums the selected range next to RPM and TPM; Gross charges and Billing refunds appear when the range contains a refund.

What is never in the log

Rows hold metadata only: model, route, token counts, charge, latency, request ids, status. Prompts, completions, system prompts, tool calls, images, files and upstream error bodies are never written, and the relay keeps them nowhere else. Rows are pruned after the retention window (30 days by default), and there is no export button.

Related

Previous: How requests are billed · Next: Jev (TypeSafe System One)

Other languages: 简体中文