2026-11-26 15:49 UTC

Mistral releases compact, open-weight Timestral forecasting models

state: significantheat: mediumuncertainty: mediumrelevance: highmistral model-release time-series agent-toolMistral AI

What is this?

Mistral AI released Timestral, a family of four time-series forecasting models (5M–209M parameters) with downloadable weights and standalone CPU or GPU inference. The models support multivariate probabilistic forecasts, covariates and contexts up to 32,768 steps. Mistral reports that Timestral-209M ranks first among pretrained zero-shot models on GIFT-Eval, TIME and fev-bench; these are company-reported benchmark results, not independent validation in the supplied evidence. The inference code is Apache 2.0-licensed, while the weights use a separate Modified MIT license.

Why it matters

Timestral extends the foundation-model approach beyond language and images to time-series forecasting. If its reported zero-shot benchmark performance transfers to real operational data, teams could forecast many different series without building and maintaining a separate model for each one. Small downloadable models, CPU inference and covariate support could make that easier to test and deploy without dedicated accelerator infrastructure. Benchmark leadership is not proof of business value: performance still needs validation on domain-specific data and against leakage, simpler methods and actual decision costs.

Current assessment

Mistral AI has released four Timestral models, sized 5M, 28M, 123M and 209M parameters, with downloadable weights and standalone inference on CPU or GPU. The models jointly forecast multivariate series, produce 21 quantiles, accept past and known-future covariates, and support contexts up to 32,768 steps. The inference code is Apache 2.0; the weights are separately licensed under Modified MIT, so the licenses should not be conflated. Mistral reports that Timestral-209M ranks first among pretrained zero-shot models on GIFT-Eval, TIME and fev-bench, and that all four sizes lie on the accuracy-versus-size Pareto front; the supplied evidence does not independently verify those claims. Newer supplied evidence includes community projects exploring financial forecasting and zero-shot anomaly detection, which show experimentation, not established adoption or validated results. A potential advantage is sharing learned patterns across many series while avoiding per-series model development; important uncertainties include transfer to specific domains, benchmark comparability and possible training-data leakage in historical backtests. HN discussion also raises whether covariates capture the domain knowledge needed for consequential forecasts. Track independent evaluations and real deployments before drawing stronger conclusions.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1034h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-14 13:00⭐ origin echo-reconstructedTimestral: time series foundation models for multivariate probabilistic forecasting with past-only and known-future covariates.
Mistral AI on github (echo) · attributed from hn.story.50105524
—
10-15 15:06first on hacker news · published · +26.1hTimestral
meetpateltech
—
10-15 15:06amplified on hacker newshn.story.50104785
meetpateltech
peak 13 · 1 comments · 2% of case engagement
10-15 15:55amplified on hacker newshn.story.50105524
theanonymousone
peak 8 · 0 comments · 1% of case engagement
10-19 09:59amplified on hacker news 👑hn.story.50150434
groar
peak 626 · 109 comments · 95% of case engagement
10-22 14:40amplified on hacker newshn.story.50196052
burekqueen
peak 1 · 0 comments · 0% of case engagement
10-24 21:42amplified on hacker newshn.story.50225659
7777777phil
peak 11 · 2 comments · 2% of case engagement
10-27 13:18amplified on hacker newshn.story.50258786
mourjo
peak 2 · 0 comments · 0% of case engagement
10-15 16:28our radar first saw it · +27.5hdiscovery anchor: hn.story.50105524—
pace: p90 vs 879 stories at the 720h mark (now 1034h old) — ahead of claude-assisted-oblivion-performance-mod (1.0x), behind liquidai-lfm3-omni-gguf (1.0x)

Evidence (7) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnMistral Timestral
Retrieved article excerpt

Open article · Retrieved 2026-10-15T16:35:27.807035+00:00

[Timestral](https://github.com/mistralai/timestral/blob/main/assets/timestral-banner.jpg)

# Timestral

[Blog post](https://mistral.ai/news/timestral) ·
[Hugging Face collection](https://huggingface.co/collections/mistralai/timestral) ·
[License](https://github.com/mistralai/timestral/#license)

Timestral is a family of time series foundation models for multivariate probabilistic forecasting, with support for past-only and known-future covariates.
This repository provides standalone inference for Timestral models. It needs only PyTorch, NumPy, `safetensors` and `huggingface_hub`, and runs on CPU or GPU.

> **License:** the code in this repository is licensed under [Apache 2.0](https://github.com/mistralai/timestral/blob/main/LICENSE). The Timestral model weights are released separately on the Hugging Face Hub under a [Modified MIT license](https://huggingface.co/mistralai/Timestral-209M/blob/main/LICENSE). See [License](https://github.com/mistralai/timestral/#license).

## Highlights

At launch, Timestral-209M ranked first among pretrained and zero-shot models on the three main public forecasting benchmarks:

- 🥇 **GIFT-Eval**: #1 among pretrained and zero-shot models.
- 🥇 **TIME**: #1 across 98 tasks.
- 🥇 **fev-bench**: #1 across 100 tasks.

All four sizes (5M, 28M, 123M, 209M) sit on the Pareto front of accuracy versus model size. Full results are in the [blog post](https://mistral.ai/news/timestral) and the model cards on [Hugging Face](https://huggingface.co/collections/mistralai/timestral).

- **Multivariate**: the variates of a series are forecast jointly.
- **Covariates**: past-only, known-future and categorical.
- **Probabilistic**: 21 quantiles per time step.
- **Long context**: up to 32,768 steps.
- **CPU-friendly**: no GPU needed for inference.

## Install

```
pip install git+https://github.com/mistralai/timestral.git   # Python >= 3.10, torch >= 2.4
```

Or from a clone with [uv](https://docs.astral.sh/uv/), using the versions pinned in `uv.lock`:

```
git clone https://github.com/mistralai/timestral.git && cd timestral
uv sync --frozen
source .venv/bin/activate
```

## Models

The weights are on the Hugging Face Hub, in the Mistral AI organization:

| model | Hub repo | weights (fp32) |
| --- | --- | --- |
| Timestral-5M | [`mistralai/Timestral-5M`](https://huggingface.co/mistralai/Timestral-5M) | 21 MB |
| Timestral-28M | [`mistralai/Timestral-28M`](https://huggingface.co/mistralai/Timestral-28M) | 111 MB |
| Timestral-123M | [`mistralai/Timestral-123M`](https://huggingface.co/mistralai/Timestral-123M) | 490 MB |
| Timestral-209M | [`mistralai/Timestral-209M`](https://huggingface.co/mistralai/Timestral-209M) | 837 MB |

`from_pretrained` downloads `config.json` and `model.safetensors` once to the Hub cache.

## Forecast

```
import numpy as np
from timestral import TimestralForecaster

forecaster = TimestralForecaster.from_pretrained("mistralai/Timestral-209M")  # device="cuda" for a GPU

context = np.random.randn(2, 1, 2000).cumsum(-1)        # (series, variates, time); NaN = missing
forecast = forecaster.forecast(context, prediction_length=96)

forecast.quantiles.shape   # (2, 1, 96, 21): series, variates, horizon, quantile levels
forecast.quantile_levels   # (0.01, 0.05, 0.1, ..., 0.9, 0.95, 0.99)
forecast.median            # (2, 1, 96)
forecast.quantile(0.9)     # (2, 1, 96)
```

- `context` can be `(B, V, T)`, `(B, T)` (one variate per series) or `(T,)` (one series),
  as a NumPy array or a torch tensor. The variates of a series are forecast jointly.
- NaN marks a missing value. `observation_mask` (same shape, False = missing) can mark more.
- The context is capped at the trained length (32768 steps); the most recent steps are kept.
- Horizons longer than one decode block (32 patches = 1024 steps) are forecast block by
  block; each block's median is fed back as context.

### Loading options

`from_pretrained` takes a Hub repo id or a local directory with `config.json` and
`model.safetensors`.

- `revision` pins a branch, tag or commit; `cache_dir` and `token` work as in `huggingface_hub`.
- `local_files_only=True` (or `HF_HUB_OFFLINE=1`) reads from the cache without network access.

### Covariates

```
forecast = forecaster.forecast(
    context,                          # (B, V, T)
    prediction_length=96,
    past_covariates=past,             # (B, C_past, T): known over the context only
    known_covariates=known,           # (B, C_known, T + 96): known over context and horizon
)
```

Covariates are conditioning rows: they are not forecast, and covariate rows never read the
targets. Known-future covariate rows whose values are all 0 or 1 are treated as indicators.
NaN marks a missing covariate value.

### Categorical covariates

```
forecast = forecaster.forecast(
    context,
    prediction_length=96,
    categorical_past_covariates=codes_past,     # (B, C, T) numeric category codes, NaN = missing
    categorical_known_covariates=codes_known,   # (B, C, T + 96)
)
```

Pass categories as numeric codes (for example `pandas.factorize`), with NaN for missing values
and for any padding. For a univariate target each categorical row is target-encoded per series:
category `c` becomes `(mean + sum_c) / (1 + count_c)` over the forward-filled context, missing
values form their own category, and a category absent from the context maps to the series
mean. Multivariate targets receive the raw codes. Encoded rows are appended after the numeric
covariates. `timestral.covariate_encoding.target_encode` exposes the encoding.

## Architecture

Timestral is a causal patch-based transformer trained with Decoupled Horizon Forecasting (DHF), where forecasts are generated from separate prediction tokens that read the causally encoded context. Each variate is a target, a past-only covariate or a known-future covariate: covariates pass information to targets but never read them, and only known-future covariates see the forecast horizon. A quantile head outputs 21 non-crossing quantiles per time step, and each forecast patch is denormalized with the statistics of the context and the block's earlier predicted medians.

## Benchmarks

Timestral is evaluated zero-shot on three benchmarks, with the forecaster defaults and the full
history up to 32768 steps as context:

| benchmark | inputs beyond the target |
| --- | --- |
| [GIFT-Eval](https://github.com/SalesforceAIResearch/gift-eval) (97 configs) | `past_feat_dynamic_real` as past covariates |
| [fev-bench](https://github.com/autogluon/fev) (100 tasks) | past and known covariates; categorical columns target-encoded |
| [TIME](https://github.com/zqiao11/TIME) (98 tasks) | none (TIME has no covariates) |

## Contributing

We do not accept pull requests. Bug reports and questions are welcome as
[GitHub issues](https://github.com/mistralai/timestral/issues).

timestral is maintained by the team at Mistral AI. We answer issues on a
best-effort basis and fix security vulnerabilities and major bugs. See
[CONTRIBUTING.md](https://github.com/mistralai/timestral/blob/main/CONTRIBUTING.md) for how to report an issue.

## License

The code in this repository (the `timestral` package and tests) is licensed under the
Apache License 2.0. See the [LICENSE](https://github.com/mistralai/timestral/blob/main/LICENSE) file.

The Timestral model weights are not covered by the Apache License 2.0. They are distributed
separately on the Hugging Face Hub under a Modified MIT license, available in each model repository
([Timestral-5M](https://huggingface.co/mistralai/Timestral-5M/blob/main/LICENSE),
[Timestral-28M](https://huggingface.co/mistralai/Timestral-28M/blob/main/LICENSE),
[Timestral-123M](https://huggingface.co/mistralai/Timestral-123M/blob/main/LICENSE),
[Timestral-209M](https://huggingface.co/mistralai/Timestral-209M/blob/main/LICENSE)).
When using the model weights, you must not use them in a manner that infringes, misappropriates,
or otherwise violates any third party's rights, including intellectual property rights.
theanonymousone80
🟧 echo.github ⭐Timestral: time series foundation models for multivariate probabilistic forecasting with past-only and known-future covariates.Mistral AI——
🟧 hnTimestralmeetpateltech131
🟧 hnTimestral: Mistral release time-series foundation modelsgroar626109
🟧 hnAre time series foundation models ready to ship?burekqueen10
🟧 hnForecasting Financial Markets with Timestral7777777phil112
🟧 hnZero-shot anomaly detection with Timestralmourjo20

Interpretation history

Decision trace