[Providers](https://spiral.ai/providers) › [Google Vertex AI](https://spiral.ai/providers/vertex)

# How to Use Google Vertex AI in Any AI Agent

To use Google Vertex AI in Cursor, connect Spiral to Cursor once, then ask for what you want in plain words. Cursor can then reach all 22 Google Vertex AI tools on Spiral, priced per run from one balance.

## Prompts that work in any agent

- Ask Google Vertex AI through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.
- Get a second opinion from Google Vertex AI on this function, then tell me what the call cost.
- Summarize these release notes with Google Vertex AI in five bullet points.
- Ask Google Vertex AI to write unit tests for the file I have open and explain each case.
- Compare Google Vertex AI with my current model on this prompt and tell me which answer is better and what each cost.

## Google Vertex AI tools and prices

- [Gemini 3.1 Pro Preview](https://spiral.ai/tools/vertex/google/gemini-3.1-pro-preview) (Vertex AI): Up to $0.063989 per run at the default inputs. $2.60 per 1M input tokens, $0.26 per 1M cached input tokens, $0.4875 per 1M cache write tokens, $15.60 per 1M output tokens; for a prompt above 200,000 tokens, $5.20 per 1M input tokens, $0.52 per 1M cached input tokens, $0.975 per 1M cache write tokens, $23.40 per 1M output tokens.
- [Gemini 3.5 Flash](https://spiral.ai/tools/vertex/google/gemini-3.5-flash) (Vertex AI): Up to $0.04806 per run at the default inputs. $1.95 per 1M input tokens, $0.195 per 1M cached input tokens, $0.108333335 per 1M cache write tokens, $3.90 per 1M audio input tokens, $11.70 per 1M output tokens.
- [Gemini Omni 1.2 Flash · Video Generation](https://spiral.ai/tools/vertex/gemini-omni-1.2-flash) (Vertex AI): About $1.788598 per run at the default inputs for 60 seconds of input. $15.60 per 1M video output tokens, $11.70 per 1M text output tokens, $1.95 per 1M input tokens.

## Use Google Vertex AI in your AI agent

- [Google Vertex AI in Amp](https://spiral.ai/integrations/amp/vertex)
- [Google Vertex AI in ChatGPT](https://spiral.ai/integrations/chatgpt/vertex)
- [Google Vertex AI in Claude](https://spiral.ai/integrations/claude-desktop/vertex)
- [Google Vertex AI in Claude Code](https://spiral.ai/integrations/claude-code/vertex)
- [Google Vertex AI in Cline](https://spiral.ai/integrations/cline/vertex)
- [Google Vertex AI in Codex](https://spiral.ai/integrations/codex/vertex)
- [Google Vertex AI in Cursor](https://spiral.ai/integrations/cursor/vertex)
- [Google Vertex AI in Devin](https://spiral.ai/integrations/devin/vertex)
- [Google Vertex AI in dots](https://spiral.ai/integrations/dots/vertex)
- [Google Vertex AI in Factory Droid](https://spiral.ai/integrations/factory-droid/vertex)
- [Google Vertex AI in Gemini](https://spiral.ai/integrations/gemini/vertex)
- [Google Vertex AI in Gemini CLI](https://spiral.ai/integrations/gemini-cli/vertex)
- [Google Vertex AI in Google Antigravity](https://spiral.ai/integrations/antigravity/vertex)
- [Google Vertex AI in goose](https://spiral.ai/integrations/goose/vertex)
- [Google Vertex AI in Grok](https://spiral.ai/integrations/grok/vertex)
- [Google Vertex AI in Grok Build](https://spiral.ai/integrations/grok-build/vertex)
- [Google Vertex AI in Hermes](https://spiral.ai/integrations/hermes/vertex)
- [Google Vertex AI in Instinct](https://spiral.ai/integrations/instinct/vertex)
- [Google Vertex AI in Manus](https://spiral.ai/integrations/manus/vertex)
- [Google Vertex AI in Muse](https://spiral.ai/integrations/muse/vertex)
- [Google Vertex AI in Muse Code](https://spiral.ai/integrations/muse-code/vertex)
- [Google Vertex AI in n8n](https://spiral.ai/integrations/n8n/vertex)
- [Google Vertex AI in Notion](https://spiral.ai/integrations/notion/vertex)
- [Google Vertex AI in OpenClaw](https://spiral.ai/integrations/openclaw/vertex)
- [Google Vertex AI in opencode](https://spiral.ai/integrations/opencode/vertex)
- [Google Vertex AI in Perplexity](https://spiral.ai/integrations/perplexity/vertex)
- [Google Vertex AI in Raycast](https://spiral.ai/integrations/raycast/vertex)
- [Google Vertex AI in VS Code](https://spiral.ai/integrations/vscode/vertex)
- [Google Vertex AI in Windsurf](https://spiral.ai/integrations/windsurf/vertex)
- [Google Vertex AI in Zapier](https://spiral.ai/integrations/zapier/vertex)
- [Google Vertex AI in Your Own AI Agent](https://spiral.ai/docs/quickstarts/your-own-agent)

## What can you do with Google Vertex AI in an AI agent?

### Second opinions

Have another model review a diff or a plan before you commit to it.

### Cheaper bulk work

Send summaries, tagging and rewrites to a smaller model and keep your agent's own model for hard steps.

### Models your agent lacks

Reach open and frontier models your agent's vendor does not offer.

### Code review at scale

Review every file in a pull request with one model and summarize the risks.

### Long documents

Send a long spec or contract to a model with a large context window.

### Structured output

Turn messy notes into JSON your code can read.

## Related

- [Google Gemini](https://spiral.ai/providers/gemini)
- [Hedra](https://spiral.ai/providers/hedra)
- [ElevenLabs](https://spiral.ai/providers/elevenlabs)
- [Mistral](https://spiral.ai/providers/mistral)
- [Deepgram](https://spiral.ai/providers/deepgram)
- [OpenAI](https://spiral.ai/providers/openai)

## Common questions

**Which AI agents can use Google Vertex AI?**

Any agent Spiral connects to: Claude, ChatGPT, Gemini, Grok and Perplexity, coding agents such as Cursor, Claude Code and Codex, and workflow tools such as Zapier and n8n. Each agent's guide below shows its setup.

**How much does Google Vertex AI cost through Spiral?**

Each Google Vertex AI tool is priced per run, shown before it starts, and paid from one Spiral balance. Each run is charged for its measured usage.

**Do I need a Google Vertex AI account to use it in an AI agent?**

No. Spiral runs Google Vertex AI on its own account and charges your Spiral balance, so your agent needs no Google Vertex AI key.

**How do I set up Google Vertex AI in my agent?**

Connect Spiral to your agent once (a skill, an MCP server, the CLI or the API), then ask for a Google Vertex AI tool by name. Each agent's guide on this page has its exact steps.

**Can my agent compare Google Vertex AI tools?**

Yes. Ask it to run the same request on two Google Vertex AI tools and show both results with what each cost.

**What happens if a run fails in your agent?**

It is not charged. Spiral holds a run's estimated price when it starts and returns it to your balance if the run fails on Spiral's side or the provider's, and your agent gets the error to retry or try another tool.

**Is there a subscription or plan?**

No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up and balance alerts keep runs from stopping when the balance runs low.

**How is a run priced?**

When a run starts, its estimate is held from your balance; when it finishes, you are charged for the measured usage and the rest of the hold is released. Each tool shows its price before a run.

