Softwr

Machine Learning · head to head

BigQuery ML vs Hasura

BigQuery ML logo

BigQuery ML

Machine Learning

Machine learning in BigQuery using SQL

From
Free
Free plan
Yes
Hasura logo

Hasura

APIs

GraphQL engine that instantly creates production-ready GraphQL API from databases

From
Free
Free plan
Yes

The short version

  • Hasura is an open-source engine.
  • Free plans on both; paid from $5/mo each.
  • Only BigQuery ML lists SQL-based ML; only Hasura lists GraphQL API.
  • Where BigQuery ML falls short: not available in BigQuery's Standard edition, so the cheapest tier cannot use it.
  • Where Hasura falls short: active model definition: model/command accessed more than 1,000 times monthly.

How do BigQuery ML and Hasura differ?

BigQuery ML and Hasura differ on pricing model (Usage-based against Freemium), category (Machine Learning against APIs) and year founded (2008 against 2017). Only the attributes on which BigQuery ML and Hasura actually diverge.

Attributes where BigQuery ML and Hasura differ
AttributeBigQuery MLHasura
Pricing modelUsage-basedFreemium
CategoryMachine LearningAPIs
Founded20082017

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

Which features does each one have?

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

  • GraphQL API
  • Real-time subscriptions
  • Access control
  • PostgreSQL
  • MySQL
  • Webhooks
  • REST APIs
  • Cloud support

What is each one used for?

BigQuery ML is most often brought in for training models in SQL without exporting data; Hasura for automatic GraphQL API generation from existing databases. The jobs each tool is most often brought in to do.

BigQuery ML

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

Hasura

  • Automatic GraphQL API generation from existing databasesnot BigQuery ML
  • Real-time data subscriptions for modern applicationsnot BigQuery ML
  • Backend infrastructure for web and mobile applicationsnot BigQuery ML
  • Event-triggered webhooks for database changesnot BigQuery ML

Where do BigQuery ML and Hasura fall short?

BigQuery ML's most cited limit: not available in BigQuery's Standard edition, so the cheapest tier cannot use it. Hasura's: active model definition: model/command accessed more than 1,000 times monthly. 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

Hasura

  • Active model definition: model/command accessed more than 1,000 times monthly
  • Private DDN requires Base or Advanced plan
  • Free DDN plan allows 1 supergraph developer; unlimited developers need the Base plan or above
  • Free plan keeps traces and API performance metrics for only 15 minutes, against 30 days on paid plans

How much do BigQuery ML and Hasura cost?

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

Hasura

Free
  • DDN FreeFree
    • Unlimited models
    • 1 supergraph developer
    • 15-minute observability retention
  • DDN Base$5/mo
    • Per active model billing
    • Unlimited developers
    • 30-day observability retention
  • DDN Advanced$30/mo
    • Per active model billing
    • Federated collaboration
    • Multi-repo CI/CD

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

  • You need graphql api.
  • You want to start without paying.
  • You also want real-time subscriptions.

Questions people ask

Is BigQuery ML or Hasura better?
It depends on the job. BigQuery ML fits training models in SQL without exporting data; Hasura fits automatic GraphQL API generation from existing databases. BigQuery ML starts at Free and Hasura at Free.
Which is cheaper, BigQuery ML or Hasura?
BigQuery ML starts at Free and Hasura at Free.
Does BigQuery ML or Hasura run on more platforms?
Both run on Web, so platform support will not decide this one for you.
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 Hasura is typically brought in for.
What can BigQuery ML do that Hasura cannot?
BigQuery ML covers SQL-based ML, AutoML Tables, Model export, Prediction functions. Hasura covers GraphQL API, Real-time subscriptions, Access control, PostgreSQL.

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

Hasura DDN Free is free. DDN Base starts at $5/active model/month, and DDN Advanced starts at $30/active model/month.

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
Hasura: What is an active model in Hasura pricing?

An active model is defined as any model or command accessed more than 1,000 times monthly.

Source
Hasura: Is there a free version of Hasura?

Yes, Hasura DDN Free is always free and includes unlimited models, 1 supergraph developer, and 15-minute observability retention.

Source
Share

Related pages

Other head to heads