Back to stack index

Cloud

Google Cloud

GCP regions referenced in hosted and hybrid setups.

Short answer

Google Cloud is Google's cloud platform, and for AI it offers two things: hosted models and infrastructure. Its model service, long known as Vertex AI, is now documented as part of the Gemini Enterprise Agent Platform. It serves Google's Gemini models, including Gemini 4 Argon, plus partner models such as Claude, Llama and Mistral, billed on your Google Cloud account. Gemini 4 Argon costs $2 per million input tokens and $10 per million output tokens at global introductory pricing until November 30, 2026, rising to $4 and $20 from December 1. Vertex AI Extensions are deprecated and shut down after November 26, 2026. For hosting, Cloud Run, GKE, Cloud SQL and Memorystore run open-source AI apps; in our directory, Dify and LiveKit support Google Cloud for models or deployment. Most open-source chat apps and gateways can call Gemini on Google Cloud directly.

Gemini 4 Argon pricing
$2/$10 per 1M tokens until Nov 30; $4/$20 from Dec 1, 2026
Google Cloud pricing
Platform name
Vertex AI is part of Gemini Enterprise Agent Platform
Google Cloud docs
Shutdown
Vertex AI Extensions after November 26, 2026
Google Cloud release notes
Directory projects
Dify, LiveKit
Project docs

Updated October 21, 2026How we evaluate tools

Official site

Directory projects (2)

  • Dify

    Visual builder for RAG apps and agents with deployable API endpoints.

  • LiveKit

    Realtime audio/video infrastructure used for voice agents and live copilots.

Google Cloud for open-source AI tools: Vertex AI, Gemini Enterprise Agent Platform, Dify and LiveKit in 2026

Two ways AI tools use Google Cloud

UseGoogle Cloud servicesExample
Model accessGemini Enterprise Agent Platform (Vertex AI), Model GardenDify calling Gemini through Google Cloud
Hosting the appCloud Run, GKE, Compute Engine, Cloud SQL, Memorystore, Cloud StorageLiveKit media servers on GKE

Which directory projects support Google Cloud

ProjectGoogle Cloud support
DifyVertex AI model provider for Gemini and partner models; deployable on Compute Engine or GKE
LiveKitSelf-hosted on GKE or Compute Engine; Gemini Live API plugin for real-time voice agents

Beyond these, most model gateways and chat apps, including LiteLLM, LibreChat, LobeChat and n8n, support Gemini on Google Cloud, and n8n 2.44 added Vertex AI support in October 2026.

From Vertex AI to Gemini Enterprise Agent Platform

Google launched Vertex AI in 2021 as its machine learning platform, and it became the home of Gemini models for businesses. In 2026 Google brought these services under the Gemini Enterprise Agent Platform, which combines model access, agent building, agent deployment and governance. The APIs and SDKs developers use, including the Google Gen AI SDK, continue to work, and documentation now lives under the new name.

Some older features are being retired. Vertex AI Extensions, an early way to connect models to external APIs, are deprecated and scheduled to shut down after November 26, 2026. Apps that rely on them should move to function calling or MCP servers before then.

Models and pricing

Gemini 4 Argon is Google's general-availability flagship on the platform in October 2026. Pricing at the global endpoint:

PeriodInput per 1M tokensOutput per 1M tokensCached input
Until November 30, 2026$2$10$0.10
From December 1, 2026$4$20$0.20

Regional and non-global endpoints have different prices. Gemini 3.5 Flash-Lite, a cheaper and faster model, is stable with a context window of about one million input tokens and up to 65,536 output tokens, and suits classification, extraction and high-volume chat. Model Garden adds partner models such as Claude, Llama, Mistral and open models you can deploy to your own endpoints.

Batch prediction and context caching lower costs for large jobs and repeated long prompts.

Hosting AI apps on Google Cloud

ServiceBest forNotes
Cloud RunSingle-container apps and APIsScales to zero; supports NVIDIA L4 GPUs; request timeouts up to 60 minutes
GKEMulti-service platforms, GPU workloadsAutopilot mode manages nodes for you
Compute EngineDocker Compose installsSimplest path for Dify and similar stacks
Cloud SQLManaged PostgreSQLpgvector supported
AlloyDBHigh-performance PostgreSQLBuilt-in vector search and model calls from SQL
MemorystoreManaged Redis and ValkeyQueues and caching
Cloud StorageFiles and uploadsS3-compatible XML API for many apps

Cloud Run with GPUs is a notable option for small self-hosted models: an Ollama container with an L4 GPU that scales to zero when unused, so you pay only while it runs. Cold starts take longer because the model must load, so keep a minimum instance for interactive use.

Security and governance

  • Service accounts. Run apps with a dedicated service account that has only the Vertex AI User role and access to the resources it needs.
  • Workload Identity. On GKE, map Kubernetes service accounts to Google service accounts instead of storing key files.
  • VPC Service Controls. Restrict model APIs and data to a security perimeter for regulated workloads.
  • Data residency. Use regional endpoints when data must stay in a specific location; the global endpoint routes for capacity and price.
  • Data use. Google states that customer data sent to its enterprise models is not used to train them without permission.

Connecting open-source apps

Apps that support the "Vertex AI" provider need a project ID, a location such as global or us-central1, and credentials, usually Application Default Credentials from the environment. Outside Google Cloud, create a service account key only if workload identity federation is not possible, and store it as a secret. Apps that support only OpenAI-format APIs can use Google's OpenAI-compatible endpoint for Gemini or go through LiteLLM.

Cost control

Set budget alerts in Cloud Billing, label resources by project, and export billing data to BigQuery for detailed analysis. Plan for the December 1 price increase on Gemini 4 Argon if you use it heavily, and consider routing simpler tasks to Flash-Lite models. Track per-user and per-feature spend in an LLM observability tool such as Langfuse, since cloud billing groups model calls by project, not by user.

Agents on Google Cloud

Google's Agent Development Kit (ADK) is an open-source framework for building agents in Python, Java, Go and TypeScript, and the platform's Agent Engine runs those agents with managed sessions, memory and scaling. Google also created the Agent2Agent (A2A) protocol, now under the Linux Foundation, for agents built with different frameworks to delegate work to each other. Agents built with LangGraph, CrewAI or LlamaIndex can also be deployed to the managed runtime. For self-hosters, the same agents run on Cloud Run or GKE, calling Gemini through the platform's APIs.

A reference setup for Dify on Google Cloud

A small production Dify deployment on Google Cloud usually looks like this:

  1. A Compute Engine VM with 4 vCPUs and 16 GB of RAM running Dify's Docker Compose file, or GKE for larger teams.
  2. Cloud SQL for PostgreSQL in place of the bundled database, with automated backups and pgvector enabled for knowledge bases.
  3. Memorystore for Redis in place of the bundled Redis.
  4. Cloud Storage for uploaded files, using Dify's S3-compatible or Google storage setting.
  5. A load balancer with a Google-managed TLS certificate, and Cloud Armor for basic protection.
  6. Gemini models configured through the Vertex AI provider with a dedicated service account.

Moving the database and cache to managed services is the step that makes upgrades and recovery easy; the app containers become disposable.

Google Cloud compared with other clouds

CloudStrength for AI apps
Google CloudFirst access to Gemini models, TPUs, Cloud Run simplicity
AWSBroadest model choice on Bedrock, largest infrastructure footprint
AzureOpenAI GPT models under enterprise terms

Related: Google Gemini stack, AWS stack, Kubernetes stack, LiteLLM stack, n8n stack, Stack index.

Frequently asked questions

Is Vertex AI being replaced?

It has been folded into a larger product. Google now documents Vertex AI services as part of the Gemini Enterprise Agent Platform, which also covers agent building and deployment tools. Existing Vertex AI APIs continue to work; some older features, such as Vertex AI Extensions, are being shut down.

What happens to Gemini 4 Argon prices on December 1, 2026?

Introductory global pricing of $2 per million input tokens and $10 per million output tokens ends on November 30, 2026. From December 1, standard global pricing is $4 and $20, with cached input at $0.20 per million tokens instead of $0.10. Regional prices differ. Budget for the higher rate now.

What is the difference between the Gemini API and Gemini on Google Cloud?

The Gemini API from Google AI Studio uses API keys and has a free tier for some models, aimed at developers and prototypes. Gemini on Google Cloud uses Google Cloud projects, IAM, regional controls, VPC Service Controls and enterprise terms. Apps often support both; choose Google Cloud for business data and compliance needs.

Can I run Claude on Google Cloud?

Yes. Anthropic's Claude models are available through Google Cloud's Model Garden, billed on your Google Cloud account. Open-source apps that support the Vertex AI provider for Anthropic, or a gateway such as LiteLLM, can call them.

What is the easiest way to host an open-source AI app on Google Cloud?

Cloud Run, for apps that ship a single container, such as Open WebUI or LiteLLM. It scales to zero when idle and supports GPUs for running small models. Platforms with several services, such as Dify, fit better on a Compute Engine VM with Docker Compose or on GKE.

Sources

  1. Google Cloud generative AI pricing
  2. Google Cloud release notes
  3. Cloud Run GPUs
  4. LiveKit self-hosting