Mistral's time-series model runs on CPU and tops zero-shot benchmarks
Timestral brings the foundation-model playbook to forecasting: four sizes, 21 quantiles per step, and inference that fits in a laptop.

What it does: Timestral is a family of time-series foundation models from Mistral AI for multivariate probabilistic forecasting. This repo is standalone inference only: given a context array, it returns 21 quantiles per time step for your chosen horizon. It depends on just PyTorch, NumPy, safetensors and huggingface_hub, and runs on CPU or GPU.
The interesting bit: The architecture is a causal patch-based transformer trained with what they call Decoupled Horizon Forecasting, where forecasts come from separate prediction tokens reading the encoded context. Variates have strict roles: covariates feed information to targets but never read them, and only known-future covariates see the horizon. That discipline around information flow is the kind of boring detail that usually decides whether a forecaster cheats.
Key highlights
- Four sizes (5M to 209M parameters, 21 MB to 837 MB fp32), all claimed to sit on the accuracy-versus-size Pareto front.
- At launch, Timestral-209M ranked first among pretrained and zero-shot models on GIFT-Eval, TIME (98 tasks) and fev-bench (100 tasks).
- Long context: up to 32,768 steps; longer horizons are forecast block by block, feeding each block’s median back as context.
- Covariates: past-only, known-future, and categorical (target-encoded per series for univariate targets).
- NaN handling for missing values throughout, plus an
observation_maskfor finer control.
Caveats
- Inference only; no training or fine-tuning code here.
- No pull requests accepted, and issues are answered on a best-effort basis.
- The weights carry a Modified MIT license, separate from the Apache 2.0 code, with a clause about not infringing third-party rights.
Verdict: Worth a look if you want zero-shot forecasts without training a model per series, especially on CPU-only hardware. Skip it if you need fine-tuning or a permissively licensed set of weights.
Frequently asked
- What is mistralai/timestral?
- Timestral brings the foundation-model playbook to forecasting: four sizes, 21 quantiles per step, and inference that fits in a laptop.
- Is timestral open source?
- Yes — mistralai/timestral is open source, released under the Apache-2.0 license.
- What language is timestral written in?
- mistralai/timestral is primarily written in Python.
- How popular is timestral?
- mistralai/timestral has 1.2k stars on GitHub.
- Where can I find timestral?
- mistralai/timestral is on GitHub at https://github.com/mistralai/timestral.