Generative AI agent
Every LLM token, attributed and optimized.
Usage per model and per caller, end-of-life models, repeated prefixes without caching, workloads that could go batch, and spend nobody can attribute.
The problem
AI spend grows faster than the rest and is hard to read: one model serves several teams, and the same long prefix is paid on every call.
The answer
The agent rebuilds usage from the bill, Cloud Monitoring and, if you allow it, the request log (fingerprints only, never the prompt text).
Method
What the agent checks.
Per-caller measurement
Cost, tokens per request, repeated prefix, share already cached.
Model upgrade
To a newer, cheaper model, with the old one's end-of-life date.
Context caching
For long repeated prefixes, cache cost deducted.
Batch
For workloads that tolerate a delay, as declared by your teams.
Stacked levers
Never added up: one saving is counted once.
Unattributed spend
The share of the AI bill nobody can tie to a team.
Data read
Read-only, nothing is changed.
- Vertex AI billing
- Cloud Monitoring: calls per model
- Request log, optional (fingerprints only)
- Read-only roles only
- No access to your data content
- A service account you create and can revoke
- Every read logged in your audit logs
$25,250 over 12 months
Including $12.6k for a single assistant: newer model version and caching.
See it in the sample reportSee the agent at work
Start with an audit.
All five agents run together during the audit; the report consolidates their results without double counting.