Stay organized with collections
Save and categorize content based on your preferences.
The TimesFM model
This document describes BigQuery ML's built-in
TimesFM time series forecasting model.
The built-in TimesFM univariate model is an implementation of Google Research's
open source
TimesFM model. The Google Research
TimesFM model is a foundation model for time-series forecasting that has been
pre-trained on billions of time-points from many real-world datasets, so you
can apply it to new forecasting datasets across many domains.
The TimesFM model is available in all BigQuery supported regions.
Using BigQuery ML's built-in TimesFM model with the
AI.FORECAST function
lets you perform
forecasting without having to create and train your own model, so you can
avoid the need for model management.
The forecast results from the TimesFM model are comparable to
conventional statistical methods such as ARIMA. If you want more
model tuning options than the TimesFM model offers, you can create an
ARIMA_PLUS
or
ARIMA_PLUS_XREG
model and use it with the
ML.FORECAST function
instead.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# The TimesFM model\n=================\n\n|\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n| **Note:** To give feedback or request support for this feature, contact [bqml-feedback@google.com](mailto:bqml-feedback@google.com).\n\nThis document describes BigQuery ML's built-in\nTimesFM time series forecasting model.\n\nThe built-in TimesFM univariate model is an implementation of Google Research's\nopen source\n[TimesFM model](https://github.com/google-research/timesfm). The Google Research\nTimesFM model is a foundation model for time-series forecasting that has been\npre-trained on billions of time-points from many real-world datasets, so you\ncan apply it to new forecasting datasets across many domains.\nThe TimesFM model is available in all BigQuery supported regions.\n\nUsing BigQuery ML's built-in TimesFM model with the\n[`AI.FORECAST` function](/bigquery/docs/reference/standard-sql/bigqueryml-syntax-ai-forecast)\nlets you perform\nforecasting without having to create and train your own model, so you can\navoid the need for model management.\nThe forecast results from the TimesFM model are comparable to\nconventional statistical methods such as ARIMA. If you want more\nmodel tuning options than the TimesFM model offers, you can create an\n[`ARIMA_PLUS`](/bigquery/docs/reference/standard-sql/bigqueryml-syntax-create-time-series)\nor\n[`ARIMA_PLUS_XREG`](/bigquery/docs/reference/standard-sql/bigqueryml-syntax-create-multivariate-time-series)\nmodel and use it with the\n[`ML.FORECAST` function](/bigquery/docs/reference/standard-sql/bigqueryml-syntax-forecast)\ninstead.\n\nTo try using a TimesFM model with the `AI.FORECAST` function, see\n[Forecast multiple time series with a TimesFM univariate model](/bigquery/docs/timesfm-time-series-forecasting-tutorial).\n\nTo learn more about the Google Research TimesFM model, use the following\nresources:\n\n- [Google Research blog](https://research.google/blog/a-decoder-only-foundation-model-for-time-series-forecasting/)\n- [GitHub repository](https://github.com/google-research/timesfm)\n- [Hugging Face page](https://huggingface.co/collections/google/timesfm-release-66e4be5fdb56e960c1e482a6)"]]