Read your usage and request log
Usage shows what you spent per day, per model and per key, and every request with its cost.
El centro de ayuda está escrito en inglés y neerlandés. Estás leyendo la versión en inglés.
Open app.nexrouting.com/usage. Everyone in the workspace can see it.
- Period: today, 7 days, 30 days or 90 days. Filter by model or by key.
- Totals: spend, requests, tokens in and out, failed requests and the average time.
- Spend per day (per hour for today), in US dollars.
- Per model and per key, with the playground as its own line.
- Every request, newest first, 50 per page: time, model, key, tokens, cost, duration, status and request ID.
Days and times are in UTC, the same as in the CSV export.
A status of 400 or higher means the request failed; see Error codes. What a request costs is explained in How a request is charged.
From your code, GET /v1/credits returns the balance of the workspace and the total credit and usage so far.