Softwr

Machine Learning · head to head

BigQuery ML vs Heroku

BigQuery ML logo

BigQuery ML

Machine Learning

Machine learning in BigQuery using SQL

From
Free
Free plan
Yes
Heroku logo

Heroku

Cloud

Cloud Application Platform

From
$5/month
Free plan
No

The short version

  • Heroku is a cloud platform as a service.
  • BigQuery ML has a free plan, then $5/mo; Heroku starts at $5/mo.
  • Only BigQuery ML lists AutoML Tables; only Heroku lists dynos (containers).
  • Where BigQuery ML falls short: not available in BigQuery's Standard edition, so the cheapest tier cannot use it.
  • Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.

How do BigQuery ML and Heroku differ?

BigQuery ML and Heroku differ on starting price (Free against $5/month), pricing model (Usage-based against Subscription) and free tier (Yes against No). Only the attributes on which BigQuery ML and Heroku actually diverge.

Attributes where BigQuery ML and Heroku differ
AttributeBigQuery MLHeroku
Starting priceFree$5/month
Pricing modelUsage-basedSubscription
Free tierYesNo
PlatformsWebWeb, API, Workers
CategoryMachine LearningCloud
Founded20082007

Which features does each one have?

They share 1 listed feature; 9 appear only for BigQuery ML and 19 only for Heroku. 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 Heroku

  • Git-based deployment
  • Buildpacks
  • Dynos (containers)
  • Add-ons marketplace
  • Postgres database
  • Environment variables
  • Logging
  • API

Both cover

  • Web support

What is each one used for?

BigQuery ML is most often brought in for training models in SQL without exporting data; Heroku for application hosting. The jobs each tool is most often brought in to do.

BigQuery ML

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

Heroku

  • Application hostingnot BigQuery ML
  • Database as a servicenot BigQuery ML
  • CI/CD pipelinesnot BigQuery ML
  • API deploymentnot BigQuery ML

Where do BigQuery ML and Heroku fall short?

BigQuery ML's most cited limit: not available in BigQuery's Standard edition, so the cheapest tier cannot use it. Heroku's: there is no free dyno tier; the cheapest Eco dyno is $5 per month. 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

Heroku

  • There is no free dyno tier; the cheapest Eco dyno is $5 per month
  • Eco dynos sleep after 30 minutes of inactivity, are restricted to personal accounts and allow only 2 process types
  • Free SSL and 10 process types start at the Basic dyno at $7 per month
  • Private and Shield dyno types require a Private Space, which is billed on top of the dynos
  • Private Space dynos start at $250 per month for Private-M and $500 per month for Private-L
  • Dyno prices are per dyno per month, so an app with several process types multiplies the bill

How much do BigQuery ML and Heroku cost?

BigQuery ML has a free plan, with paid plans from $5/mo; Heroku starts at $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

Heroku

$5/month
  • Eco Dyno$5/mo
    • 0.5 GB RAM
    • Git/Docker deploy
    • Custom domains
  • Basic Dyno$7/mo
    • 0.5 GB RAM
    • Always-on
    • Free SSL
  • Standard-1X Dyno$25/mo
    • 0.5 GB RAM
    • Horizontal scaling
    • App metrics
  • Standard-2X Dyno$50/mo
    • 1 GB RAM
    • Horizontal scaling
    • App metrics

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

  • You need git-based deployment.
  • You work on Web, API, Workers.
  • You also want buildpacks.

Questions people ask

Is BigQuery ML or Heroku better?
It depends on the job. BigQuery ML fits training models in SQL without exporting data; Heroku fits application hosting. BigQuery ML starts at Free and Heroku at $5/month.
Which is cheaper, BigQuery ML or Heroku?
BigQuery ML has a free tier; the other does not. Paid plans start at Free for BigQuery ML and $5/month for Heroku.
Does BigQuery ML or Heroku run on more platforms?
BigQuery ML runs on Web. Heroku runs on Web, API, Workers.
Can I use BigQuery ML for free?
Yes. BigQuery ML has a free tier, so you can try it without paying. Heroku starts at $5/month.
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 Heroku is typically brought in for.
What can BigQuery ML do that Heroku cannot?
BigQuery ML covers SQL-based ML, AutoML Tables, Model export, Prediction functions. Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace. Both handle Web support.

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
Heroku: How much does Heroku cost?

Heroku dyno pricing starts at $5 per month USD for the Eco tier (with 30-minute inactivity sleep), $7 per month for Basic (always-on), and scales up to $1,500 per month for Performance-2XL with 126 GB RAM.

Source
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
Heroku: What is the cheapest always-on Heroku plan?

The Basic Dyno at $7 per month USD is Heroku's cheapest always-on container option. It provides 0.5 GB RAM, free SSL, and support for 10 process types.

Source
Heroku: How is Heroku Postgres priced?

Heroku Postgres Essential tier (shared resources) starts at $5-$20 per month for 1-32 GB disk. Standard tier (dedicated) ranges $50-$12,000 per month. Premium, Private, Shield, and Advanced tiers offer higher performance at corresponding prices.

Source
Share

Related pages

Other head to heads