Softwr

Machine Learning · head to head

BigQuery ML vs Thanos

BigQuery ML logo

BigQuery ML

Machine Learning

Machine learning in BigQuery using SQL

From
Free
Free plan
Yes
Thanos logo

Thanos

Cloud

Highly available Prometheus with long-term object storage

From
Free
Free plan
Yes

The short version

  • Thanos is free; BigQuery ML starts at $5/mo.
  • Only BigQuery ML lists SQL-based ML; only Thanos lists global query.
  • Where BigQuery ML falls short: not available in BigQuery's Standard edition, so the cheapest tier cannot use it.
  • Where Thanos falls short: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes.

How do BigQuery ML and Thanos differ?

BigQuery ML and Thanos differ on pricing model, platforms (Web against Self-hosted, Linux) and category (Machine Learning against Cloud). Only the attributes on which BigQuery ML and Thanos actually diverge.

Attributes where BigQuery ML and Thanos differ
AttributeBigQuery MLThanos
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWebSelf-hosted, Linux
CategoryMachine LearningCloud

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Thanos.

Which features does each one have?

They share no listed features; 10 appear only for BigQuery ML and 4 only for Thanos. 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 Thanos

  • Global query
  • Object storage retention
  • Deduplication
  • Downsampling

What is each one used for?

BigQuery ML is most often brought in for training models in SQL without exporting data; Thanos for querying metrics across many clusters or regions from one place. The jobs each tool is most often brought in to do.

BigQuery ML

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

Thanos

  • Querying metrics across many clusters or regions from one placenot BigQuery ML
  • Retaining metrics for years without local disk growthnot BigQuery ML
  • Removing the gap that appears when a single Prometheus instance restartsnot BigQuery ML

Where do BigQuery ML and Thanos fall short?

BigQuery ML's most cited limit: not available in BigQuery's Standard edition, so the cheapest tier cannot use it. Thanos's: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes. 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

Thanos

  • Several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes
  • The compactor is a common source of operational trouble and must not run twice against the same bucket
  • Query latency over object storage is meaningfully higher than local Prometheus
  • Object storage costs and API request charges become real at high volume

How much do BigQuery ML and Thanos cost?

BigQuery ML has a free plan, with paid plans from $5/mo; Thanos is free to use. 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

Thanos

Free
  • ThanosFree
    • Full functionality
    • No usage limits
    • Community support

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 Thanos if

  • You need global query.
  • You want to start without paying.
  • You work on Self-hosted, Linux.
  • You also want object storage retention.

Questions people ask

Is BigQuery ML or Thanos better?
It depends on the job. BigQuery ML fits training models in SQL without exporting data; Thanos fits querying metrics across many clusters or regions from one place. BigQuery ML starts at Free and Thanos at Free.
Which is cheaper, BigQuery ML or Thanos?
BigQuery ML starts at Free and Thanos at Free.
Does BigQuery ML or Thanos run on more platforms?
BigQuery ML runs on Web. Thanos runs on Self-hosted, Linux.
Can I use BigQuery ML for free?
Both have a free tier, so you can try either at no cost before committing.
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 Thanos is typically brought in for.
What can BigQuery ML do that Thanos cannot?
BigQuery ML covers SQL-based ML, AutoML Tables, Model export, Prediction functions. Thanos covers Global query, Object storage retention, Deduplication, Downsampling.

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
Thanos: Is Thanos free?

Yes, open source and CNCF-incubating. Costs are the object storage it uses.

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
Thanos: Does Thanos replace Prometheus?

No. It runs alongside existing Prometheus servers, adding global query, deduplication and long-term storage.

Thanos: Thanos or VictoriaMetrics?

Thanos layers onto Prometheus using object storage and is the more established multi-cluster answer. VictoriaMetrics is a separate store aiming at lower resource use and fewer moving parts.

Share

Related pages

Other head to heads