Cloud

Google Cloud

Roiva books the Google Cloud spend behind each AI initiative, Vertex AI and Gemini included, through one Cloud Billing budget each, so its ROI is net of it.

What each AI initiative's Google Cloud footprint costs, Vertex AI and the Gemini API included

Your budgets, and monthly cost by project and service from your Cloud Billing export in BigQuery. Nothing inside your resources.

Your billing export in BigQuery, and read access for the service account Roiva makes for this connection

What you can measure with Google Cloud
One budget per initiative

Give an initiative its own Cloud Billing budget, filtered by project, label or service, and the spend that budget covers is booked to it.

gcp.billing.budget_spend
Only the AI services

Limit a budget to Vertex AI or the Gemini API, and the initiative carries those services and nothing else from the projects it shares.

gcp.billing.budget_spend
Only the AI part of the bill

AI Spend counts Google's AI services and what budgets claim, and lists the rest of the bill as outside its figures, so the compute behind your website never reads as AI.

gcp.billing.total_spend
Budget against spend

Each budget's amount beside what it spent, month by month, so an initiative running over its cloud budget shows before the invoice does.

gcp.billing.budget_amount gcp.billing.budget_spend
A worked month

A claims-triage model on Vertex AI

Cloud cost, booked from the billing export through the initiative's budget, for September

Vertex AI, in the claims-triage budget $3,420 Google Cloud
Gemini API, in the same budget $1,180 Google Cloud
Cloud Run, in the same budget $310 Google Cloud

$3,420 + $1,180 + $310

$4,910 booked to the claims initiative for September, from a $61,200 Google Cloud bill

AI Spend counts Vertex AI and the Gemini API as AI on their own, and the Cloud Run because the budget claims it. The rest of the bill is named as outside the AI figures, not added to them.

Illustrative figures. Roiva keeps every input with the entry it calculates, and none of it counts until it's approved.

Each initiative linked to Google Cloud, the budget it books through, and what it booked over the last 90 days.

What gets synced

Roiva writes these metric observations on each sync. Reference the key in a value formula to use this data in your ROI calculations.

Budgets and Spend

gcp.billing.budget_spend Spend per Budget currency
gcp.billing.budget_amount Budget Amount currency
gcp.billing.total_spend Total Spend currency
What Roiva keeps

Reads: Your budgets, and monthly cost by project and service from your Cloud Billing export in BigQuery. The first sync covers 12 months and later ones the last two. Labels only where a budget filters on them.

Keeps: Records of budgets, plus the totals worked out from them.

What Roiva keeps from each platform, field by field →

How to connect

You connect Google Cloud from inside Roiva, so you need a Roiva workspace first. Sign in to connect it now. New to Roiva? Start free with your work email, take the free assessment and create your workspace at the end, or request an invite.

  1. In Google Cloud: Open the Billing export page (console.cloud.google.com/billing/export), choose your billing account, and look at Standard usage cost on the BigQuery export tab. If it already names a project and dataset, the export is on and you can skip the next two steps
  2. In Google Cloud: If it's off, enable it and pick the project and dataset to hold it. The project must be linked to this same billing account, so a project still in the free BigQuery Sandbox can't hold the export, and the dataset should have table expiration turned off. Enabling it needs the Billing Account Administrator or Billing Account Costs Manager role, plus BigQuery User on the project. A US or EU multi-region dataset also gets the previous month's costs
  3. In Google Cloud: Give the export time to fill. Google creates the table shortly after the export is enabled, but cost data takes a few hours to start arriving and the previous month's backfill can take up to five days. You can keep going with the next steps meanwhile
  4. In Roiva: Under Billing Export, enter the project and dataset the Billing export page shows, e.g. my-project.billing_export, and click Create Connection. Roiva finds the export table in that dataset (its full Table ID works too), creates a Google service account for this connection, and shows its email on the connection page
  5. In Google Cloud: Grant that service account three read-only roles: Billing Account Viewer on the billing account, BigQuery Data Viewer on the export dataset, and BigQuery Job User on the dataset's project. The connection page lists the gcloud and bq commands, filled in, to paste into Cloud Shell or send to whoever administers your Google Cloud
  6. Back in Roiva: The connection page checks each step as the service account and says what's still missing. Once it's all ticked, click Test Connection; your total Google Cloud spend syncs from there, with no budgets needed
  7. In Google Cloud: To split spend by initiative (optional), create a budget for each one on the Budgets & alerts page (console.cloud.google.com/billing/budgets) whose name identifies it, e.g. roiva-invoice-ai, limited to the projects, services (such as Vertex AI or the Gemini API) or label that initiative uses. Creating budgets needs the Billing Account Administrator or Billing Account Costs Manager role
  8. Back in Roiva: Link this connection to each initiative as a cost source and add a budget mapping with that initiative's budget name (or part of it)
Need help?

Email hello@roiva.ai with what you're seeing, and you'll hear back within one business day.

Google Cloud

Start free, then connect Google Cloud once your workspace is set up. Or begin with the free AI ROI exposure assessment.

Start free → Sign in to connect
AWS