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.
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.
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.
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: LLM request logging and audit
By default, prompts and the responses of non-streamed requests are kept for up to 90 days, then deleted. A key can keep none, and zero data retention on the organization stops content being stored for every request; usage, cost and routing decisions are recorded either way.
The response names the model that served it, and its id reads back the full record: the usage, and for a routed request the decision, with the models considered and every attempt.
Yes. The audit log records changes to keys, members, projects, policies, provider keys, cloud accounts and webhooks with who made each and when, and each policy keeps its version history.
Put intelligence in the middle.
Start on the free plan with 5,000 requests a month, no card required.