Softwr

Machine Learning · head to head

BigQuery ML vs Google Compute Engine

BigQuery ML logo

BigQuery ML

Machine Learning

Machine learning in BigQuery using SQL

From
Free
Free plan
Yes
Google Compute Engine logo

Google Compute Engine

Machine Learning

Google Cloud virtual machines billed per vCPU and per GB of memory

From
On request
Free plan
No

The short version

  • BigQuery ML starts at $5/mo; Google Compute Engine prices on request.
  • Only BigQuery ML lists SQL-based ML; only Google Compute Engine lists machine families.
  • Where BigQuery ML falls short: not available in BigQuery's Standard edition, so the cheapest tier cannot use it.
  • Where Google Compute Engine falls short: you manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove.

How do BigQuery ML and Google Compute Engine differ?

BigQuery ML and Google Compute Engine differ on starting price (Free against On request), pricing model and free tier (Yes against No). Only the attributes on which BigQuery ML and Google Compute Engine actually diverge.

Attributes where BigQuery ML and Google Compute Engine differ
AttributeBigQuery MLGoogle Compute Engine
Starting priceFreeOn request
Pricing modelUsage-basedPer vCPU and per GB of memory per hour
Free tierYesNo
PlatformsWebWeb, API

Not yet recorded: category for Google Compute Engine, founded for Google Compute Engine.

Which features does each one have?

They share no listed features; 10 appear only for BigQuery ML and 5 only for Google Compute Engine. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in BigQuery ML

  • SQL-based ML
  • AutoML Tables
  • Model export
  • Prediction functions
  • Feature preprocessing
  • BigQuery
  • Vertex AI
  • TensorFlow

Only in Google Compute Engine

  • Machine families
  • Custom machine types
  • Sustained use discounts
  • Committed use discounts
  • Free e2-micro

What is each one used for?

BigQuery ML is most often brought in for training models in SQL without exporting data; Google Compute Engine for lift-and-shift of virtual machine workloads to Google Cloud. The jobs each tool is most often brought in to do.

BigQuery ML

  • Training models in SQL without exporting datanot Google Compute Engine
  • Linear and logistic regression on warehouse datanot Google Compute Engine
  • K-means clustering and matrix factorisation for recommendationsnot Google Compute Engine
  • Time series forecasting with ARIMA_PLUSnot Google Compute Engine
  • Running imported ONNX, TensorFlow or XGBoost models against BigQuery datanot Google Compute Engine

Google Compute Engine

  • Lift-and-shift of virtual machine workloads to Google Cloudnot BigQuery ML
  • GPU and high performance computing jobsnot BigQuery ML
  • Self-managed databases or legacy servers needing OS controlnot BigQuery ML
  • Cost-optimised batch work on spot capacitynot BigQuery ML

Where do BigQuery ML and Google Compute Engine fall short?

BigQuery ML's most cited limit: not available in BigQuery's Standard edition, so the cheapest tier cannot use it. Google Compute Engine's: machine type choice is wide, and picking the wrong family wastes money until you resize. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

BigQuery ML

  • Not available in BigQuery's Standard edition, so the cheapest tier cannot use it
  • Billed through BigQuery compute and storage rather than as its own product, so training cost tracks data scanned
  • Remote models incur extra Agent Platform charges on top
  • Externally trained model types such as boosted trees and AutoML run through Agent Platform rather than inside BigQuery

Google Compute Engine

  • You manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove
  • Bills combine vCPU, memory, disks, network egress and licences, which makes forecasting hard without the pricing calculator
  • Machine type choice is wide, and picking the wrong family wastes money until you resize
  • Sustained use discounts do not stack with committed use discounts, so savings depend on getting commitments right
  • Network egress charges can exceed compute cost for data-heavy applications

How much do BigQuery ML and Google Compute Engine cost?

BigQuery ML has a free plan, with paid plans from $5/mo. Plan by plan below, from each vendor's own pricing page.

BigQuery ML

Free
  • Free TierFree
    • 10GB storage
    • 1TB queries
  • On-Demand$5/tb
    • Pay per TB scanned
    • ML training costs

Google Compute Engine

On request
  • On demandOn request
    • vCPU and memory billed separately
    • Sustained use discounts up to 30%
    • Committed use discounts available

Which should you pick?

Choose BigQuery ML if

  • You need sql-based ml.
  • You want to start without paying.
  • You also want automl tables.

Choose Google Compute Engine if

  • You need machine families.
  • You work on Web, API.
  • You also want custom machine types.

Questions people ask

Is BigQuery ML or Google Compute Engine better?
It depends on the job. BigQuery ML fits training models in SQL without exporting data; Google Compute Engine fits lift-and-shift of virtual machine workloads to Google Cloud. BigQuery ML starts at Free and Google Compute Engine at On request.
Which is cheaper, BigQuery ML or Google Compute Engine?
BigQuery ML has a free tier; the other does not. Paid plans start at Free for BigQuery ML and On request for Google Compute Engine.
Does BigQuery ML or Google Compute Engine run on more platforms?
BigQuery ML runs on Web. Google Compute Engine runs on Web, API.
Can I use BigQuery ML for free?
Yes. BigQuery ML has a free tier, so you can try it without paying. Google Compute Engine starts at On request.
What is BigQuery ML best used for?
BigQuery ML is most often used for training models in sql without exporting data, linear and logistic regression on warehouse data, k-means clustering and matrix factorisation for recommendations, time series forecasting with arima_plus. Of those, training models in sql without exporting data and linear and logistic regression on warehouse data are not what Google Compute Engine is typically brought in for.
What can BigQuery ML do that Google Compute Engine cannot?
BigQuery ML covers SQL-based ML, AutoML Tables, Model export, Prediction functions. Google Compute Engine covers Machine families, Custom machine types, Sustained use discounts, Committed use discounts.

Answered from the vendors’ own pages

BigQuery ML: How much does Google Cloud BigQuery ML cost?

BigQuery ML pricing is not specified separately on Google Cloud's pricing page. It follows the same pay-as-you-go model as BigQuery, charging per terabyte of data scanned during analysis. Customers receive $300 in free credits and can use 20+ products free up to monthly limits.

Source
Google Compute Engine: How is Compute Engine billed?

Per vCPU and per GB of memory per hour, plus disks and network.

BigQuery ML: Does Google Cloud offer a free trial?

Yes, new customers get $300 in free credits and all customers can use 20+ Google Cloud products free up to their monthly usage limits.

Source
Google Compute Engine: Is there a free VM?

Yes, Google Cloud offers a free e2-micro instance under its free programme.

Google Compute Engine: What discounts exist?

Sustained use discounts of up to 30% and committed use discounts.

Share

Related pages

Other head to heads