CloudNavi
← Back to articles
TimesFM Complete Guide 2026: Google's Foundation Model for Time-Series Forecasting
AI Models·1 min read
#TimesFM#Google#time series#forecasting#foundation model#zero-shot

Summary

「I want you to forecast next month's sales」

TimesFM Complete Guide 2026: Google's Foundation Model for Time-Series Forecasting


「I want you to forecast next month's sales」 「Tell me when this factory equipment will fail」 「Can you predict the power demand peak?」

Business is full of situations needing time-series forecasting: inventory management, demand prediction, equipment maintenance, stock analysis, weather forecasting.

Traditionally, these required statistical models like ARIMA or Prophet, or custom machine learning models. Both needed expertise — not something field staff could casually use.

TimesFM (Time Series Foundation Model) is Google Research's foundation model for time-series forecasting. Like LLMs, it enables "pretraining → zero-shot forecasting" — and as of June 2026, it has 25,800+ GitHub stars.

This article explains TimesFM's mechanism, usage, and use cases for beginners.


Bottom Line: What Is TimesFM?

ItemContent
DeveloperGoogle Research
Full nameTimesFM (Time Series Foundation Model)
PaperICML 2024 "A decoder-only foundation model for time-series forecasting"
Latest versionTimesFM 2.5 (Sep 2025; PyPI v2.0.0 updated Jun 2026)
GitHub stars25,800+ ⭐ (Forks 2,500+)
GitHubgithub.com/google-research/timesfm
Hugging Facehuggingface.co/collections/google/timesfm-release (5 models)
Parameters200M (improved from 500M in 2.0)
Context lengthUp to 16,000 time points (2.0 was 2,048)
Forecast horizonUp to 1,000 (quantile prediction supported)
Training data100B+ real-world time points
LicenseApache 2.0
Google integrationBigQuery ML / Google Sheets / Vertex Model Garden

What Is a "Foundation Model for Time Series"?

LLMs are "foundation models for language" — pretrained on vast text, they can handle any task with just a prompt.

TimesFM is the same concept for time series: pretrained on 100B+ real-world time points, it can forecast any new time series without training. This is "zero-shot forecasting."

Why It's Revolutionary

ItemTraditionalTimesFM
SetupTrain per datasetZero-shot (no training)
ExpertiseML specialists neededpip install + a few lines
AdaptationRebuild for each domainWorks on any data
AccuracyGood for one domainCompetitive zero-shot

How to Use It

1. Install

pip install timesfm

2. Basic Forecasting

import timesfm

# Load the model
tfm = timesfm.TimesFm(hparams=timesfm.TimesFmHparams(), backend="cpu")
tfm.load_from_checkpoint("google/timesfm-2.5-200m-pytorch")

# Your time series data (e.g., monthly sales)
import numpy as np
history = np.array([100, 120, 110, 130, 140, 135, 150])

# Forecast the next 5 points
forecast = tfm.forecast(
    [history],
    forecast_length=5,
)
print(forecast)

3. Use Cases

  • Demand forecasting: predict next week's orders
  • Anomaly detection: equipment failure prediction
  • Sales forecasting: monthly/quarterly revenue
  • Energy: power demand peaks
  • Finance: stock price trend analysis

Key Features of TimesFM 2.5

  • 16,000-point context: much longer sequences than before
  • 1,000-step horizon: long-term forecasting
  • Quantile prediction: forecast ranges with confidence
  • Smaller model: 200M params (down from 500M) — runs on CPU
  • Google integration: BigQuery ML, Google Sheets, Vertex

FAQ

Q. Do I need a GPU?

No. The 200M model runs on CPU (smaller inputs). GPU speeds up large batches.

Q. Is it better than ARIMA/Prophet?

For zero-shot ease and multi-domain use, yes. For heavily tuned single-domain cases, statistical models can still compete. TimesFM's appeal is "works immediately on any data."

Q. Can I use it commercially?

Yes, Apache 2.0.

Q. What data does it work with?

Any numeric time series: sales, sensors, weather, stocks, energy, etc.

Q. How accurate is it?

Competitive with per-domain trained models in zero-shot mode. Adding a few-shot fine-tune improves further.


Summary

TimesFM makes time-series forecasting "something you can just try":

  • One pip install and you can forecast
  • Zero-shot — immediately predict any data
  • BigQuery ML / Google Sheets — non-engineers can use it

For every industry dealing with time-series data, it's worth trying first.

GitHub: github.com/google-research/timesfm Hugging Face: huggingface.co/collections/google/timesfm-release Paper: arxiv.org/abs/2310.10688


Related Reading