Skip to content

Blog

Mistral releases the Timestral forecasting model. Can it also predict stock prices?

7 min read

On October 15 (local time), Mistral released Timestral, its first time-series forecasting model. A time series is a sequence of numbers recorded in time order, such as factory sensor readings, electricity use or sales. Mistral says the largest version, Timestral-209M, ranked first on all three of the field's leading benchmarks: GIFT-Eval, TIME and fev-bench. It also drew attention because it runs on a CPU alone, without a GPU. It reached the Hacker News front page on October 19 and, as of October 20, had 564 points and 105 comments.

When you think of a model that predicts the next value in a sequence of numbers recorded over time, stock prices are the first thing that comes to mind. Can Timestral predict stock prices too?

In short, it was not built to predict stock prices.

The uses Mistral lists on its blog are capacity planning, energy, supply chains, risk management and maintenance. Finance comes up too, but it is about forecasting cash flows, trading volume and volatility for hedging and treasury management. It is not about predicting whether a stock will go up or down.

Reactions on Hacker News were similar. One user wrote that the model suits forecasts like server load, where a small error can be fixed right away, and that they would not use it to decide whether to buy a stock. Another user, who has been tracking the results of about 20 Bitcoin price prediction models, said a well-known model that looked excellent in backtests had been off by more than 100% over the past year. They said any model should be compared side by side with the simplest forecast: “tomorrow will be the same as today.”

Mistral knows about this trap too. In introducing its fine-tuning tool Mistral Forge, it wrote that because you control the training data directly, you can guarantee the model did not see the backtest period during pretraining. This is exactly the problem I covered last month in “Stock AI agents that trade automatically”: temporal knowledge leakage, where a model is scored on a past it already knows.

What it does well is numbers with patterns, like sensor data.

What Timestral emphasizes is its ability to read recurring patterns together with circumstances known in advance. A pump's vibration, temperature and pressure do not move independently, so it forecasts all three together. It also accepts categorical values as they are, such as the day of the week or equipment status (running, idle, under maintenance). You can also feed in variables whose future values are already known, such as production schedules, planned shutdowns or weather forecasts. As a result, it does not mistake a scheduled increase in load for an anomaly.

It also gives its answer as 21 quantiles rather than a single number. Because it shows the range the next value is likely to fall in, you can set alert thresholds to match the uncertainty. Mistral says most of the training data is synthetic data it generated itself. The model was first pretrained on time series that mix trend, seasonality and noise, then trained again on a mix of real and synthetic data with a context four times longer. As a result, it can forecast data it has never seen right away, without separate training.

Demo video posted by Victor Mustar on X. When you draw a line in the Hugging Face Space “Sketch-a-Series”, Timestral-5M draws the likely continuation as an orange range, and the range narrows as the same shape repeats (X @victormustar).

In factories, it pairs with agents.

The part of the blog post Mistral put the most effort into is the factory example. In a factory with thousands of sensors, Timestral keeps watching the sensor readings. When it catches an anomaly in a pump, an agent compares that signal with past sensor records to find similar failures. Sub-agents then search maintenance records, shift logs, operator notes, equipment manuals and past work orders to analyze the cause, and write a diagnosis with evidence and next steps. Instead of a one-line alert, the plant manager receives a diagnosis and a plan backed by evidence.

It is hard for a language model to read the numbers from thousands of sensors directly. So the work is split: a small time-series model watches the numbers, and a language-model agent finds the records and explains the cause. David Hendrickson, who introduced Timestral on X, wrote that not every useful AI model needs to talk. His post drew 96,000 views and 2,508 likes. However, this factory example is not a real customer case but a concept Mistral sketched out. On Hacker News, some pointed out that Mistral presented a hypothetical customer instead of actual deployments.

It ranks first on benchmarks, but the margins are small.

According to Mistral, Timestral-209M ranks first on all five metrics across the three benchmarks among zero-shot models, which are not trained further after pretraining. The results come from a single checkpoint without ensembling, and they have been submitted to the GIFT-Eval and TIME leaderboards. It beat the previous top model with only two-thirds as many parameters, and the 28M model beat Chronos-2, which is about four times larger, on GIFT-Eval and TIME.

Table of values transcribed from the graphs in Mistral's blog post. The best value for each metric is highlighted in yellow, and Chronos-2 is not in the GIFT-Eval top-10 graph (Mistral blog).
Table of values transcribed from the graphs in Mistral's blog post. The best value for each metric is highlighted in yellow, and Chronos-2 is not in the GIFT-Eval top-10 graph (Mistral blog).

But put the numbers side by side and the gaps are not large. GIFT-Eval MASE is 0.657 versus 0.661, and fev-bench is 50.4 versus 49.4. One Hacker News comment said an improvement of about 0.03 had been drawn to look like a fivefold difference. In fact, the vertical axis of the blog's graph starts at 0.650, so the bars for first place (0.657) and tenth place (0.685) look nearly five times different in height. A technical report with the full results has not been released yet.

GIFT-Eval MASE ranking graph published by Mistral. The vertical axis starts at 0.650, so even small differences look large in bar height (Mistral blog).
GIFT-Eval MASE ranking graph published by Mistral. The vertical axis starts at 0.650, so even small differences look large in bar height (Mistral blog).

It does not need a GPU to run.

Timestral is an open-weight model, so you can download the weights from Hugging Face and run it yourself. File sizes are 21MB for 5M, 111MB for 28M and 490MB for 123M, and even the largest, 209M, is 837MB. The GitHub code installs with little more than PyTorch and NumPy, and the context can hold up to 32,768 time steps. For data at 15-minute intervals, that is about 341 days.

It is also fast. Mistral says that on an 8-thread server CPU, forecasting the next day from three weeks of 15-minute data took 10ms with 5M and 140ms with 209M. 28M is five times faster than 209M, and 123M scores within 0.2% of 209M while using three-quarters of the time. If you rent this kind of CPU on AWS, an 8-vCPU c7i.2xlarge costs $0.357 an hour, or about $257 if left running for a full month.

The catch is the license. The code is under Apache 2.0, but the weights use a separate license called Modified MIT. It says you cannot use them if the company using them (for an individual, the company they work for) had worldwide consolidated monthly revenue above $20 million in the previous month. That is roughly $240 million in annual revenue, so large manufacturers in Korea would need to sign a separate commercial license with Mistral or use Mistral's hosted service. On Hacker News, too, some said the performance is impressive but the license is a letdown. To fine-tune on your own data, you use Mistral Forge, which Mistral says can be installed on customer servers or in air-gapped environments.

While language models work with words, setups in which a small model that watches numbers sits alongside them are starting to appear. Timestral will not predict stock prices for you. But for operations that handle patterned numbers like sensor readings and demand, I think it adds one more option to try right away, without a GPU.

https://mistral.ai/news/timestral/