/

/

How to connect GitHub Copilot (VS Code) to your Vertex AI costs

How to connect GitHub Copilot (VS Code) to your Vertex AI costs

Connection guide

How to connect GitHub Copilot (VS Code) to your Vertex AI costs

Connect GitHub Copilot to your Vertex AI costs through Costory's FinOps MCP. GitHub Copilot gets Vertex AI spend allocated to teams and features, next to the deploys and metrics that explain it.

What you can ask GitHub Copilot about Vertex AI

  • “What is Gemini spend on Vertex by project and label?”

  • “How much of Vertex output cost is reasoning tokens?”

  • “Show Vertex next to OpenAI and Anthropic in one view.”

  • “Which team owns most of this month's increase?”

  • “Set up a weekly Slack report of this spend for #finops.”

What GitHub Copilot sees

Costory ingests Vertex AI cost through GCP BigQuery billing export (project isolation or per-call labels), normalizes it into one cost model alongside your other providers, and allocates it with GCP project per team, request labels. Through the MCP server, GitHub Copilot can query that allocated cost, compare periods, look up deploys and other events in the same window, and create alerts, reports and dashboards in Costory. It has no write access to your cloud accounts.

Good to know for this setup

  • Copilot in VS Code reads Costory from .vscode/mcp.json, under "servers", with type "http" and the Costory URL. Committing that file shares the setup with the repository.

  • Gemini 3.x bills internal reasoning as output tokens; regional endpoints carry a premium.

Connect in under 30 minutes

1. Connect Vertex AI to Costory. Follow the Vertex AI setup guide in the docs.

2. Map spend to owners. Use Virtual Dimensions to group accounts, projects, labels and tags into teams, products and environments, even where tagging is incomplete.

3. Add Costory to VS Code with GitHub Copilot.

Add Costory to .vscode/mcp.json and use Copilot in agent mode:

{
  "servers": {
    "costory": { "type": "http", "url": "https://app-api.costory.io/mcp" }
  }
}
{
  "servers": {
    "costory": { "type": "http", "url": "https://app-api.costory.io/mcp" }
  }
}
{
  "servers": {
    "costory": { "type": "http", "url": "https://app-api.costory.io/mcp" }
  }
}

No local proxy or Node.js is needed: point the client directly at https://app-api.costory.io/mcp.

Full client instructions: MCP setup guide.

Good to know

Gemini 3.x bills internal reasoning as output tokens; regional endpoints carry a premium.

FAQ

Does GitHub Copilot get write access to my Vertex AI account?

No. Costory reads billing data you export to it. MCP actions create Costory objects (alerts, reports, dashboards, events) and never change your cloud resources.

What Vertex AI permissions does Costory need?

Read access to billing data only. The exact permissions are listed in the Vertex AI setup guide.

Where is the data stored?

Costory stores and processes data in the EU.

How much does it cost?

Plans start at €250/month (up to €10M annual cloud spend), billed annually, with a 30-day free trial. See pricing.

Connect in under 30 minutes, get your first optimization recommendation the next day.

30-day free trial. Plans from €250/month, billed annually. We recommend Team (€600/month) once more than one team uses Costory.

First optimization recommendation

The next day

ROI

Pays for itself with the first recommendation you act on

Setup

Under 30 minutes

Data residency

EU

Access

Read-only on your cloud