Back to the blog AI Infrastructure

Can You See Who Is Using Your AI Model Budget? A Usage-Governance Checklist

A practical pre-deployment checklist for tracing model requests to users or teams, testing limits and retries, and understanding what application and provider reports can—and cannot—tell you.

Diagram showing users, a self-hosted AI application and a model provider as separate points for tracking and governing AI usage

What usage governance should let you answer

Before deployment, define what you need to know about model activity and what action you would take with that information. A useful setup should help you determine who or what initiated a request, which model or endpoint handled it, and whether usage stayed within the limits you intended.

Reporting alone is not governance. Decide who reviews usage, what counts as unusual, and who can change access or limits. The controls you can apply depend on the application, any gateway in the request path, and the model provider.

  • Can you attribute a request to an authenticated user, team, service, or workflow—not just to a shared credential?
  • Can you distinguish models or endpoints and identify requests that failed, timed out, retried, or were routed elsewhere?
  • Can you apply limits or alerts at the scope you need, and understand what happens when a limit is reached?
  • Can the people responsible for review access the required reports without exposing sensitive request content unnecessarily?
What usage governance should let you answer

Map the request path before testing

Trace a request from the person or workflow that starts it, through the AI application, any proxy or gateway, and on to the model provider. Note where authentication happens and where user, team, model, and request identifiers are added, transformed, or dropped.

A provider may see only the credential used by the application. If many people share one API key, the key can identify the application account without identifying the person behind each call. An application may record a username separately, but treat a caller-supplied label as unverified attribution unless the system validates identity through a trusted mechanism.

If an application serves both people and automated jobs, include both in your map. A scheduled workflow, background task, or integration may use the same credential as an interactive user while following a different request path.

  • Record the identity available at each layer: authenticated user, team, service account, API key, and provider project or account.
  • Check whether model and endpoint names remain visible in both application-side and provider-side records.
  • For calls that can time out before a response arrives, check whether you can correlate records using a caller-generated request identifier as well as a provider-generated one.
Map the request path before testing

Test attribution, shared credentials, failures, and retries

Do not assume that a report’s labels prove who made a request. Run controlled tests with representative users and teams, then compare what the application records with what the provider or gateway records. Include an automated workflow and a request that uses the same shared credential as a person, if that reflects your design.

Include failures and retries in the test. Some gateways record each processing attempt separately, so one caller request can produce multiple attempt events with the same request identifier. A timeout can also leave the caller without a response identifier even if the provider received the request. Ask whether your reports count requests, attempts, successful responses, or some combination.

Record expected results before testing. If one request is retried, for example, decide whether your report should show one logical request, multiple attempts, or both. Confirm the system’s actual behavior rather than assuming that one row equals one user action or one billable call.

  • Test at least two authenticated users and, where relevant, more than one team or access group.
  • Make requests to each model or endpoint you intend to offer and check whether their identities remain distinguishable in reports.
  • Exercise a failed request and a retry or failover path; compare request IDs, attempt records, status, and usage fields.
  • Check whether a user identifier is validated by the application or gateway, or simply accepted as a caller-provided value.
  • Confirm whether usage dimensions such as project, key, user, or model are available in your provider’s report and whether they must be explicitly selected.

Check limits and alerts at the scope you need

Identify where each control is enforced. An application may offer user or team controls; a gateway may apply key- or group-level budgets and rate limits; a provider may enforce account, project, or workspace limits. These are possible control points, not interchangeable features, so verify what your actual components support.

Check both the scope and the behavior. A monthly spend cap and a rate limit address different problems: one limits cost over a billing period, while the other limits request volume over time. Also verify whether an alert is informational or whether a hard limit blocks affected traffic.

Find out what callers see when a limit is reached, whether queued or automated work keeps retrying, and who can raise or reset the limit. Provider behavior can vary: a spend cap may pause API use until a period resets or access is increased, and retries may continue to fail while the cap remains in force. Treat the provider’s documented behavior as part of your incident plan.

  • For each alert or limit, write down its scope, threshold-setting owner, enforcement point, reset period, and notification route.
  • Verify whether limits are hard stops or warnings, and which requests or traffic they affect.
  • Test the response to a reached limit in a safe environment, including the effect on retries and legitimate work.
  • Decide what the application should show users and how operators will restore service or adjust access.

Review the data behind the reports

A usage report is only useful for the period and fields it actually retains. Check how often records become available, how long they remain accessible, which roles can view them, and whether you can export or correlate them with your own records.

Separate usage metadata from request content. A report may contain aggregated request counts and token totals, while application logs or tracing tools may retain identifiers, status details, or prompt and response content. Inspect each system’s settings and retention behavior instead of assuming that a usage dashboard contains—or excludes—sensitive content.

Keep only the data you need for operations and accountability. Limit access to detailed records, decide how long each type of data should be retained, and verify that those decisions match your organization’s data-handling requirements.

  • List the fields retained at the application, gateway, and provider layers, including identity, model, timestamp, status, tokens, and request identifiers where available.
  • Check whether prompts, responses, or other sensitive content are captured in logs or traces, and who can access those records.
  • Confirm retention periods, export options, access controls, and whether historical records remain available for the reviews you plan to conduct.

Reconcile reports without treating them as a complete cost ledger

Application-side records explain activity from the application’s perspective; provider-side reports show what the provider reports for the relevant account or project. A gateway can add another view, including attempt-level events. Compare them over the same time window and use request identifiers where possible.

Expect gaps when identities are not propagated, clocks or reporting windows differ, a response is lost, or retries create multiple attempts. Provider usage summaries may be aggregated rather than a request-by-request financial ledger. Token totals and request counts help investigate usage, but do not assume that either report alone accounts for every charge or resolves every discrepancy.

Document what each report can establish and what it cannot. For example, a provider report grouped by API key may attribute usage to an application credential without proving which employee initiated each request.

  • Compare the same time period, account or project, model, and available identity dimensions.
  • Separate logical requests from processing attempts and check how failures and retries appear.
  • Record known gaps, reporting delays, aggregation rules, and any differences between usage quantities and the charges shown in your billing records.
  • Escalate unexplained differences using the identifiers and timestamps your systems retain.

What each layer can tell you

Use this comparison to plan which records to inspect. Actual fields and controls depend on the application, gateway, provider, and configuration in use.

LayerEvidence to checkWhat it can help establishImportant limitation
AI applicationAuthenticated user or workflow, selected model, application request recordWho the application recognized and what it attempted to sendIdentity or request details may not be forwarded to downstream systems
Gateway or proxy, if usedCredential or group, request ID, model, status, attempt recordsHow traffic was routed and whether retries or failovers occurredCaller-declared user labels may not be independently verified
Model providerAvailable account, project, key, user, model, request-count, or token dimensionsUsage recorded by the provider for the available reporting scopeA shared credential may identify the application rather than the individual caller; aggregation may limit request-level reconciliation

Turn the test into an operating procedure

Assign an owner to review usage and define a regular review cadence that matches your operational needs. The procedure should explain how to investigate unexpected changes, who may adjust access or limits, and how to avoid interrupting legitimate work while responding.

Keep application credentials distinct from human identities wherever practical. Use a dedicated application identity rather than tying a production integration to an individual developer’s key, and establish ownership, expiration, and rotation practices for credentials. Where users need separate attribution or limits, verify that the application or gateway can carry validated identity through the request path.

Managed hosting can simplify infrastructure operations, but it does not decide which users may access a model, what usage data you retain, or which budgets you enforce. Those remain design and operating choices for the team deploying the application.

  • Name an owner for usage review and a separate approver for material changes to credentials or limits, if your organization requires that separation.
  • Document the expected response to unusual usage, failed requests, repeated retries, and a reached limit.
  • Review whether access, attribution, retention, and limit settings still match how people and workflows use the application.
  • Re-run the test checklist after material changes to authentication, routing, models, credentials, or reporting configuration.

Frequently asked questions

Can a shared API key show which employee made each request?

Not by itself. A shared key can identify the application credential while obscuring the person using it. The application or gateway needs to associate the request with a user, and a caller-supplied user label should not be treated as verified identity unless the system validates it.

Do retries count as additional requests in usage reports?

It depends on the reporting layer. Some gateway records represent processing attempts, so a retry or failover can create multiple events for one logical request. Check whether each report counts requests, attempts, successful responses, or usage quantities.

Does a usage dashboard tell me the complete cost of model use?

Not necessarily. Reports may aggregate usage by available dimensions, and application records may not match provider-side reporting one-for-one. Reconcile matching time periods and scopes, account for retries and known gaps, and compare usage records with billing information before treating a report as a full cost ledger.

What should I verify before relying on a provider spend limit?

Confirm its scope, whether it is an alert or a hard stop, when it resets, which traffic it affects, and what callers see when it is reached. Check whether automated retries will keep failing and how an authorized operator can restore or increase access.

Sources and further reading 7