Skip to main content
AI Gateway · Observability

LLM request logging and audit

Every request leaves a record: what was asked, which model served it, what it cost, how long it took, and, when the gateway chose the model, why.

Definition

What the gateway records

LLM observability starts with one record per request, kept where every model call passes. A gateway can record what no single application sees: which key sent the request, which provider served it, what each attempt returned, what it cost, and what the policies decided on the way.

Inferbase keeps a usage record for every request and a routing decision for every routed one, both readable by the request id the response carries. Prompts, and non-streamed responses, are kept for up to 90 days unless a key or the organization turns content storage off.

Requests

One record per request

Usage record

Model, where it ran (Inferbase, your provider key or your cloud account), tokens, cached and reasoning tokens, cost and latency, exportable as CSV.

Routing decision

The task, the objective, the models that qualified, the one that won, the fallbacks and each attempt, by request id from the API.

Request content

Prompts and non-streamed responses for up to 90 days, or none, per key or for the whole organization.

Agent runs

The steps of a session grouped as one run, with its tool calls and its spend.

Changes

Who changed what

Audit log

Changes to API keys, members, projects, policies, provider keys, cloud accounts and webhooks, with who made each and when, exportable.

Policy history

Every version of a routing or guardrail policy, with who changed it.

Events and webhooks

Budget, model availability and guardrail events in the portal and as signed webhooks.

FAQ

FAQ: LLM request logging and audit

Put intelligence in the middle.

Start on the free plan with 5,000 requests a month, no card required.