Vertex AI for BigQuery users Stay organized with collections Save and categorize content based on your preferences.
Use this page to understand the differences between Vertex AI andBigQuery and learn how you can integrateVertex AI with your existing BigQuery workflows.Vertex AI and BigQuery work together to meet your machinelearning and MLOps use cases.
To learn more about model training differences between Vertex AI andBigQuery,seeChoose a training method.
Differences between Vertex AI and BigQuery
This section covers the Vertex AI, BigQuery, andBigQuery ML services.
Vertex AI: An end-to-end AI/ML platform
Vertex AI is an AI/ML platform for model developmentand governance. Common use cases include the following:
- Machine learning tasks, such as forecasting, prediction, recommendation,and anomaly detection
Generative AI tasks, such as:
- Text generation, classification, summarization, and extraction
- Code generation and completion
- Image generation
- Embedding generation
You can use BigQuery to prepare training data forVertex AI models, which you canmake available as features in Vertex AI Feature Store.
You can train models in Vertex AI in three ways:
- AutoML: Train models on image,tabular, and video datasets without writing code.
- Custom Training: Runcustom training code catered to your specific use case.
- Ray on Vertex AI: Use Ray to scale AI and Python applications like machine learning.
You can also import a model trained on another platform likeBigQuery ML or XGBoost.
You can register custom-trained models to theVertex AI Model Registry.You can also import models trained outside of Vertex AI and register themto Vertex AI Model Registry. You don't need to registerAutoML models; they are registered automatically at creationtime.
From the registry, you can manage modelversions, deploy to endpoints for online predictions, perform modelevaluations, monitor deployments with Vertex AI Model Monitoring, anduseVertex Explainable AI.
Available languages:
- TheVertex AI SDKsupports Python, Java, Node.js, and Go.
BigQuery: A serverless, multicloud enterprise data warehouse
BigQuery is a fully managed enterprisedata warehouse that helps you manage and analyze your data with built-in featureslike machine learning, geospatial analysis, and business intelligence.BigQuery tables can be queried by SQL, and data scientists who primarilyuse SQL can run large queries with only a few lines of code.
You can also use BigQuery as a data store that you reference whenbuilding tabular and custom models in Vertex AI. To learn more aboutusing BigQuery as a data store, seeOverview of BigQuerystorage.
Available languages:
- SDKs for BigQuery. To learn more, see theBigQuery API Client Libraries.
- GoogleSQL
- Legacy SQL
To learn more, seeBigQuery SQL dialects.
BigQuery ML: Machine learning directly in BigQuery
BigQuery ML lets you develop and invoke models inBigQuery. With BigQuery ML, you can use SQL totrain ML models directly in BigQuery without needing to movedata or worry about the underlying training infrastructure. You can createbatch predictions for BigQuery ML models to gain insights fromyour BigQuery data.
You can also access Vertex AI models by usingBigQuery ML. You can create a BigQuery MLremote model over aVertex AI built-in model like Gemini,or over aVertex AI custom model. You interact with the remote model usingSQL in BigQuery, just like any other BigQuery MLmodel, but all training and inference for the remote model is processed inVertex AI.
Available language:
- GoogleSQL
- BigQuery client libraries
To learn more about the advantages of using BigQuery ML, seeIntroduction to AI and ML in BigQuery.
Benefits of managing BigQuery ML models in Vertex AI
You can register your BigQuery ML models to theModel Registry in order to manage the models inVertex AI. Managing BigQuery ML models inVertex AI provides two main benefits:
Online model serving: BigQuery ML only supports batch predictionsfor your models. To get online predictions, you can train your models inBigQuery ML and deploy them to Vertex AI endpoints throughVertex AI Model Registry.
MLOps capabilities: Models are most beneficial when they are kept up todate through continuous training. Vertex AI offers MLOps tools thatautomate the monitoring and retraining of models to maintain the accuracyof predictions over time. With Vertex AI Pipelines, you can useBigQuery operators to plug any BigQuery jobs (includingBigQuery ML) into an ML pipeline. WithVertex AI Model Monitoring, you can monitor your BigQuery MLpredictions over time.

To learn how to register your BigQuery ML models to the Model Registry,seeManage BigQuery ML models with Vertex AI.
Related notebook tutorials
| What do you want to do? | Resource |
|---|---|
| Use BigQuery ML to analyze images and text using Gemini on Vertex AI | Analyzing movie posters in BigQuery with Gemini 2.0 Flash |
| Use BigQuery ML to generate text on BigQuery tables or unstructured data with foundation models on Vertex AI | Generate text using BigQuery ML and foundation models in Vertex AI |
| Generate vector embeddings with BigQuery ML over text and images | Call a multimodal embedding endpoint in Vertex AI from BigQuery ML to generate embeddings for semantic search |
| Use two Vertex AI Tabular Workflows pipelines to train an AutoML model using different configurations. | Tabular Workflow: AutoML Tabular Pipeline |
| Use the Vertex AI SDK for Python to train an AutoML model for tabularregression and get batch predictions from the model. | Vertex AI SDK for Python: AutoML training tabular regression model for batch prediction using BigQuery |
| Train and evaluate a propensity model in BigQuery ML to predict user retention on a mobile game. | Churn prediction for game developers using Google Analytics 4 and BigQuery ML |
| Use BigQuery ML to perform pricing optimization on CDM pricing data. | Analysis of pricing optimization on CDM pricing data |
What's next
- To get started with Vertex AI see:
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.