Operate

Observability

See what every request cost and how long it took, and how the gateway uses provider health to route around trouble.

Request logs

Logs in the dashboard lists your requests with the model, the provider that served it, prompt and completion tokens, latency, time to first token, cost and status. Search by model, filter by provider, status or date, and export what you see as CSV for a spreadsheet or JSON for your own tools.

For one request, GET /v1/generation?id=gen-… returns the same numbers from code; see the API reference.

Provider health and routing

For every provider endpoint, the gateway keeps a moving average of latency and of tokens per second, and counts recent errors. Endpoints with recent errors are tried last rather than dropped, so a request still gets an answer if they are the only ones left. Send provider.sort as latency or throughput to order by those averages.

Billing is settled on a queue after the answer has been sent, so it never slows a response down.

What the logs keep

Logs hold metadata only: tokens, timings, cost, status, model and provider. We never store chat prompts. Completions are cached for up to 24 hours, only for your account, when temperature is 0 or you opt in.