Skip to content

Tracking an LLM or agent through AI Gateway's inference tables, usage tables, and rate limiting

AI Gateway is a governance layer on Databricks Model Serving endpoints that lets you centrally manage access, cost, and observability for LLMs and agents deployed via Agent Framework. It provides Inference Tables for automatic logging of requests and responses, Usage Tables for tracking token consumption, and rate limiting to control traffic, all configurable without changing client code.

1 · Learn the must-know

  • Inference Tables must be explicitly enabled on a serving endpoint and automatically capture request payloads, response payloads, and metadata (timestamp, status code) as a Delta table you can query for evaluation, monitoring, or debugging.
  • Because Inference Tables are standard Delta tables, they can be joined with Lakehouse Monitoring or custom evaluation jobs to track drift, quality, or safety metrics over time.
  • Usage Tables track token-level consumption (prompt and completion tokens) per endpoint, enabling cost attribution and budget monitoring across models or teams.
  • Rate limiting in AI Gateway can be configured per endpoint (and in some cases per user or service principal) to throttle queries-per-minute or tokens-per-minute, protecting downstream systems and controlling spend.
  • AI Gateway features apply uniformly whether the endpoint serves a foundation model, a fine-tuned model, or an agent built with Agent Framework, since agents are ultimately deployed as Model Serving endpoints.
  • Enabling Inference Tables or rate limits requires endpoint configuration (via UI, API, or SDK) and may need permissions on the endpoint; changes do not require redeploying the underlying model.

2 · Check your understanding

Check this objectiveFree · always available

A Generative AI Engineer deploys a customer support agent through Agent Framework to a Mosaic AI Model Serving endpoint. The engineer must capture every request and response payload, including retrieved context and tool calls, for offline evaluation, but cannot modify the agent's application code. The captured data must land automatically in a Unity Catalog Delta table. Which AI Gateway feature should the engineer enable on the endpoint?

Your objective map0 tried · 0 answered correctly · 56 untouched

What you have tried across Databricks GenAI Engineer's objectives, not a readiness score.

Design Applications10.71% of the exam*0 of 6 tried
Data Preparation14.29% of the exam*0 of 8 tried
Application Development23.21% of the exam*0 of 13 tried
Assembling and Deploying Applications26.79% of the exam*0 of 15 tried
Governance7.14% of the exam*0 of 4 tried
Evaluation and Monitoring17.86% of the exam*0 of 10 tried

* Our estimate. Databricks publishes no section weights.

3 · Keep going