---
title: "TimesFM-3: A zero-shot foundation model for multivariate forecasting"
description: "TimesFM-3 is a 330M-parameter decoder-only transformer pre-trained on over 1 trillion real and synthetic time points that does zero-shot multivariate forecasting, supporting multiple targets, past-only covariates and known-future covariates."
url: "https://swe.quest/articles/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting-c2421e383bcd85af"
canonical: "https://research.google/blog/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting/"
source: "Google Research"
published: "2026-08-31"
difficulty: "hard"
kind: "Research"
reading_minutes: 6
tags: ["machine-learning","model-training","inference"]
---

# TimesFM-3: A zero-shot foundation model for multivariate forecasting

A post on [Google Research](https://swe.quest/sources/google-research.md), published 2026-08-31, 6 min read, Research. Original: [https://research.google/blog/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting/](https://research.google/blog/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting/)

## Summary

TimesFM-3 is a 330M-parameter decoder-only transformer pre-trained on over 1 trillion real and synthetic time points that does zero-shot multivariate forecasting, supporting multiple targets, past-only covariates and known-future covariates. Series are split into 32-step patches with per-series normalization. Future-known covariates use lookahead tokens that concatenate the current patch with future patches. Layers alternate causal temporal attention within each series with full cross-variate attention at each time step. Contiguous Patch Masking replaces autoregressive patch-by-patch decoding, producing the whole horizon and 9 quantiles in one forward pass. It ranks first among pre-trained foundation models on Gift-Eval, FEV-Bench and Time against Chronos-2, Toto 2.0 and TimesFM-2.5, even in univariate mode, and is available on GitHub, Hugging Face and BigQuery's AI.FORECAST.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)

## Prerequisites

- transformer attention
- time series forecasting
- quantile forecasts

## Keywords

TimesFM-3, BigQuery, Gift-Eval, FEV-Bench, Chronos-2, Contiguous Patch Masking

## Related posts

- [Probabilistic Time Series Forecasting with 🤗 Transformers](https://swe.quest/articles/probabilistic-time-series-forecasting-with-transformers-d4a4a66f913813a3.md): Hugging Face · 2022-12-01 · Hard · 19 min read · Machine learning, Model training, Python
  An encoder-decoder Transformer can be trained as a global probabilistic forecaster that learns across many related time series and outputs a distribution (Student-t by default) rather than point estimates, with forecasts sampled autoregressively.
- [Multivariate Probabilistic Time Series Forecasting with Informer](https://swe.quest/articles/multivariate-probabilistic-time-series-forecasting-with-informer-6e926e78b9077796.md): Hugging Face · 2023-03-10 · Hard · 21 min read · Machine learning, Model training, Python
  Informer, the AAAI'21 best paper model now in Hugging Face Transformers, extends the vanilla Transformer for long-sequence time series forecasting with two changes: ProbSparse attention, which uses a query sparsity measurement on sampled keys to keep only the top c·log T "active" queries and cut attention cost from O(T²) to O(T log T), and a distilling step (Conv1d + ELU + MaxPool) that halves sequence length between encoder layers to reduce memory to O(N·T log T).
- [ClickHouse forecasting and anomaly detection with time series foundation models](https://swe.quest/articles/clickhouse-forecasting-and-anomaly-detection-with-time-series-foundation-models-71a24c218275d2ec.md): ClickHouse · 2026-11-17 · Medium · 11 min read · Analytics & OLAP, Machine learning, Inference & serving, SQL
  TimesFM 3.0, a pretrained time-series foundation model, can be called from ClickHouse SQL via executable Python UDFs that forward arrays to an HTTP model server, giving zero-shot forecasts and anomaly scores without per-series training.
- [Patch Time Series Transformer in Hugging Face](https://swe.quest/articles/patch-time-series-transformer-in-hugging-face-94fa5d56a8b80388.md): Hugging Face · 2024-02-01 · Medium · 13 min read · Machine learning, Model training, Python
  PatchTST splits each univariate channel of a time series into subseries-level patches that act as Transformer tokens.
- [PatchTSMixer in HuggingFace](https://swe.quest/articles/patchtsmixer-in-huggingface-fd5831aa83b30a11.md): Hugging Face · 2024-01-19 · Medium · 12 min read · Machine learning, Model training, Python
  PatchTSMixer is a lightweight MLP-Mixer model for multivariate time-series forecasting from IBM Research, now available in Hugging Face Transformers.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
