
AI machine learning in Google BigQuery
BigQuery ML enables data analysts and data scientists to build and operationalize machine learning models directly within Google BigQuery using standard SQL. By eliminating the need to move data or learn specialized ML frameworks, BigQuery ML makes machine learning accessible to anyone who knows SQL, running on Google's planet-scale infrastructure.
BigQuery ML supports a comprehensive range of model types including linear regression, logistic regression, k-means clustering, time series (ARIMA), matrix factorization, and PCA, all trainable with SQL statements. External model integration with Vertex AI enables DNN, boosted tree, random forest, and AutoML models. Gemini Cloud Assist generates SQL queries from natural language. Models can be created through the Google Cloud console with a visual interface, and predictions can be made directly on BigQuery tables without data export.
BigQuery ML is perfect for data analysts and SQL-proficient professionals who want to leverage machine learning without learning Python or specialized ML frameworks. It suits organizations already using BigQuery for data warehousing, teams that need to build ML models on large datasets without data movement, and companies wanting to operationalize ML within their existing SQL-based analytics workflows.
Access BigQuery ML through the Google Cloud console with an existing BigQuery project. Write a CREATE MODEL SQL statement to train your first model on any BigQuery table. Use ML.PREDICT to generate predictions on new data. The first 1 TB of query processing per month is free under BigQuery's standard pricing.
Pricing & Accessibility: BigQuery ML training costs $250/TB of data processed. Prediction queries follow standard BigQuery pricing at $6.25/TB. On-demand pricing includes 1 TB free per month. Enterprise and Enterprise Plus editions offer slot-based pricing for predictable costs. No additional ML platform licensing required.
Why Consider BigQuery ML: BigQuery ML uniquely democratizes machine learning by letting SQL analysts build and deploy ML models without leaving their familiar BigQuery environment, eliminating data movement and the learning curve of specialized ML tools.
SQL-based predictive analytics on warehouse data, customer segmentation using k-means clustering, demand forecasting with time series models, churn prediction using logistic regression, recommendation systems with matrix factorization
$250/TB (training); $6.25/TB (queries)
Free tier: 1 TB of query processing free per month