Documentation / Attribution / Google Vertex AI and Gemini
Google Vertex AI and Gemini
Connection steps are in the Vertex AI and Gemini connector guides. This page is only attribution. Both connectors read the same kind of billing export, with a different service filter.
What you set up
- Turn on the Cloud Billing export to BigQuery for the billing account. Without that export, Vertex AI has nothing to pull. Gemini still validates a key, and it does not pull spend until the export is there.
- Connect the provider with its connector guide, using credentials that can query that export.
- Create departments and agents you will assign to, under Governance and Agents & allocation.
Spend is split by the Cloud project on the billing export (project.id) only after support@onaro.io turns that source on. Vertex and Gemini are separate switches. The project id is stored on the row. It is not a Source identities mapping type. Request labels are not read. The export schema does not say which column receives a generateContent label. (Add labels to API calls)
A Cloud project is the billing boundary inside a billing account. One project shared by many agents is one set of rows even after the split is on.
What Meridian receives
While the switch is off, one charge per UTC day and SKU. The query groups by day, SKU, and currency.
After that source's switch is on, the same query also groups by project.id. A null project is kept so the day total does not shrink. The project id is stored on the row. It is not used as the agent or the department. Labels are still not read. Turning Vertex on does not group Gemini, and the reverse.
The export's own time windows are often hourly, and many calls can share a row before Meridian sums them to a day and a SKU. (Standard usage export) Costs can take more than a day to appear.
Gemini without a billing export does not write spend rows. The key check can still succeed.
How it's attributed
Rows arrive unattributed. A rule can match the vendor or the model. A person can assign the inbox rows. The pull does not declare an agent and does not inherit a label.
A rule fills only rows still unattributed. It does not replace a mapped, inherited, or declared row from another path, and it does not replace a row a person has assigned.
What lands unattributed, and how to fix it
Every day-and-SKU total from this pull lands unattributed until you assign it or a rule matches it, including rows that were split by project id. The Reason column has no label sentence, because labels were not read. The project id on the row is the split, not an assignment.
Assign the rows, or add a rule and choose Apply rules now. Unlocked dates update. A locked month shows the change as an adjustment later.
To separate agents, send labels only if you also have another path that can see them. This pull cannot. Use a gateway or OASA events per agent, or a FOCUS upload if your Google export is in FOCUS and the labels survived into that file. Which BigQuery column holds a generateContent request label is not settled in Google's export schema. Meridian does not guess it.
Limits
- Provisioned Throughput silently ignores request labels. The call still succeeds. The label is not on the bill. (Add labels)
- The labels page's examples use Vertex (
aiplatform.googleapis.com). A labels-to-billing page for the Gemini Developer API (generativelanguage.googleapis.com) was not part of the provider pages this guidance relies on. Do not assume the samelabelsbody reaches a Gemini Developer API bill. - A label key can be dropped after 1,000 distinct values for that key over the life of the billing account. That is Google's rule. It does not change this pull, which does not read labels either way.
- Vertex and Gemini are two catalog entries and two connections. They share this attribution behavior. A dollar that is in one export filter is not in the other.
Status
- Google Vertex AI is Available in the integrations catalog.
- Google Gemini (API) is Available in the integrations catalog.