TL;DR: Teams are TokenMaxing, measuring success by tokens consumed, and two things go wrong at once: spend climbs and visibility does not. Both are solvable on Databricks. Route every model and agent call through the Unity Gateway and each call becomes governed data, logged by default, with a usage dashboard out of the box. That alone is visibility most teams did not have before. GatewayIQ, the app we built on those same logs, takes it further: spend by team and use case, where you are exposed, and where you are wasting. For work that does not need a frontier model, serve open models through that same governed endpoint, where Databricks runs them for you. Cost controls, budgets and routing, follow in Part 2.
This meme captures something real. Some offices now stack-rank employees by token use on lobby displays, a trend now called TokenMaxing: optimizing for tokens consumed instead of real value. The enterprises that pull ahead will measure value delivered per token, and that takes governed AI usage data sitting right next to business outcomes. This is an argument for measuring what it produces.
AI coding agents promised a step change in productivity, and consumption has followed. But more tokens does not automatically mean more value, and TokenMaxing hides two separate problems.
The first is cost. Teams default to an expensive frontier model even for trivial classification a far cheaper one would handle. An agent breaks a task into more model calls than it needs, or loops without bound until a single runaway job multiplies the bill overnight.
The second is visibility. You often cannot tell which spend is productive and which is waste, because tokens are trivially easy to measure and value is hard, so teams optimize the metric they can see. Visibility is not only a cost question, it's a risk. Traditional AI mostly analyzed and predicted; agents now act, they query databases, call APIs, execute code, and invoke external tools, which makes an agent one of the most privileged actors in the organization. When calls scatter across coding agents, apps, and services, each with its own keys and logs, a credential pasted into a prompt is effectively exfiltrated, an incident has no central log to trace which model or identity caused it, and regulated data quietly crosses into third-party providers. The industry calls this agent sprawl. Databricks' AI Security Framework (DASF) describes the pattern to watch: an agent that can reach sensitive data, act on untrusted input, and take real actions at the same time, where one poisoned input turns legitimate access into real damage.
The riskiest agents sit where three capabilities overlap, and Databricks maps controls to each. Source: DASF
Solve visibility and you can see the waste. Then you can act on the cost. The rest of this post takes them in that order.
The logs show which requests are over-served, a heavyweight model answering something a lighter one would handle just as well. A large share of enterprise AI work, classification, extraction, and routine coding, runs well on smaller open-weight models, which are now competitive on quality and far cheaper to run. That cost concern is exactly why open-weight models are worth a serious look.
But a model that looks good in a benchmark is not the same as one running well in production. Capturing that value has usually meant one of two hard paths: stand it up yourself and take on the GPUs, scaling, and uptime, or hand it to a third-party host that treats it as one more endpoint, with little optimization and thin enterprise support. Open models are competitive. Running them well is the problem worth solving.
Proprietary vs open-weight model cost comparison. Source: Artificial Analysis.
This is the gap Databricks closes. As a first-party provider, Databricks runs open models on its own serving stack and handles the hard parts for you: optimized inference, autoscaling, and uptime, with every request under the same governance as the rest of your data. And it is not only open models. Through one endpoint, Databricks serves external frontier models, the open-weight models it hosts, and your own existing models, all identically, with Unity Catalog applying the same governance, permissions, and lineage across every one. Because that same endpoint fronts many models, you can send each request to the tier that fits without changing the application. The best model is not fixed, it is contextual, and right-sizing it stops being a guess and becomes a decision backed by the logs.
Multi-model serving - one governed endpoint fronting external frontier, Databricks-hosted open-weight, and your own models under Unity Catalog
Those scattered calls need one place to flow through. The Unity Gateway is the single endpoint every model and agent call goes through, and putting it in front changes the economics of visibility. Every call is governed and logged at the point it happens, with no pipeline to build. Observability is on by default: each call is written to Delta with tokens, latency, model, identity, and any guardrail that fired. The same endpoint also enforces routing and fallbacks, rate limits, and guardrails, and it governs the tools agents call through MCP, with tool-level permissions and on-behalf-of execution so an agent acts with the requesting user's own access.
Those calls land in two Unity Catalog system tables, the inference and usage logs, queryable in plain SQL and joinable to any other enterprise data. And out of the box the Gateway ships a usage dashboard for free: requests, tokens, latency, cost, and error rates broken down by endpoint, model, and user, plus coding-agent activity and MCP tool usage. This visibility most teams did not have before, and it arrives without building anything.
Databricks AI gateway usage analytics dashboard
The out-of-the-box dashboard is genuinely useful, but it stops at the breakdowns the Gateway ships: endpoint, model, and user. The teams furthest along wanted more, and the logs clearly held it. Here is what we saw in the field: the Gateway gave us the core metrics, but the deeper questions, spend by team and use case, what the AI was actually doing, where we were exposed, and where we were wasting, all lived in the logs and none of them came out of the box. That is the gap we built GatewayIQ to close.
GatewayIQ turns the same governed tables into the answers the monthly bill never gave:
It also reads developer productivity by joining the Gateway's coding-agent activity to engineering signals already in your lakehouse, PR velocity, deployment frequency, and lead time from Git and Jira, so you see value per token by team instead of guessing. Anomaly detection runs statistical baselines over the logs, token burn, cost, off-hours access, and model misuse, and flags deviations. And it adds spend forecasting on top. Because it all sits on governed tables, the same pattern extends: join in incident, CRM, or finance data to connect AI usage to reliability, customer outcomes, and revenue.
Instead of a token graph, you see spend mapped to what the AI was actually doing: a workflow that drove most of the bill but shipped nothing, a heavyweight model answering questions a lighter one would have nailed, an agent looping overnight and caught in the moment. Each is a recommendation you can act on: reroute the workflow, right-size the model, stop the loop.
Seeing those answers is the art of the possible. Acting on them is the art of execution, and the same tables get you both: cost attribution, use-case classification, anomaly detection, productivity tracking, and spend forecasting. The goal isn't more AI usage. It's smarter AI usage.
Github repo: https://github.com/databricks-solutions/databricks-blogposts/tree/main/2026-09-token-maxing-to-value...
The advantage now goes to enterprises that can point to their data and say exactly what their AI spend is buying: faster delivery, higher quality, lower risk. Getting there is a shift in what you measure: govern every call, put that usage data next to the outcomes it should produce, and serve the right model for each job. Every month of governed telemetry sharpens the next month's decisions.
TokenMaxing is easy, everyone is doing it. ValueMaxing compounds. Start by making your AI spend visible and actionable: route your models and agents through the Unity Gateway, and let the logs show what it is actually buying.
Seeing the spend is half the story. Part 2 covers the controls on the same Gateway endpoint: budgets and hard caps that stop a runaway loop before it hits the bill, routing and fallbacks across models, and guardrails, the brakes that turn visibility into enforcement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.