---
title: "The language model talks, the quantitative model calculates"
url: "https://predictes.com/blog/the-language-model-talks-the-quantitative-model-calculates"
description: "How to join a language model and a quantitative model in one system: the contract between them, the code that checks the result, and why chat never edits numbers."
---

# The language model talks, the quantitative model calculates

November 25, 2026·4 min read·predictes

A user asks in a chat window how much stock to order for February. The system answers in a full sentence with a number in the middle. The engineering question is where that number came from. If a language model generated it, it is the most probable string of digits, not the result of a calculation.

Gartner put large quantitative models (LQMs) on its list of trends for 2027 and recommends a hybrid architecture: the conversational strength of a language model combined with the calculations of a model built for numbers. In its e-book it predicts that by 2030 such models will replace language models in 25% of forecasting and operational modelling tasks. The advice is sound and general. Below is what has to be decided for such a system to be buildable and maintainable.

## Three roles and one rule

**The language model** understands the question, turns it into a structured request and explains the result at the end. It does not calculate.

**The quantitative model** computes the forecast or the simulation. It may be a statistical model, an off-the-shelf time series model or an optimisation solver. It does not talk.

**Deterministic code** checks the input and the output, records a trace and decides whether the result may be shown. It is the same rule we described for process automation: [the model proposes, the code decides](https://predictes.com/blog/the-model-proposes-the-code-decides).

The rule is one: a number that came out of the quantitative model reaches the user unchanged. The language model receives it as data to insert, not as text to rephrase. If the answer contains a number that is not in the computed result, the code rejects the answer.

1.  01A question in natural languageThe user asks the way they speak.
2.  02The language model builds the requestMeasure, scope, period, level of detail. Output conforms to a schema.
3.  03Code checks the request and the input dataDoes the measure exist, is the history complete.
4.  04The quantitative model calculatesA forecast with an uncertainty interval and a model version.
5.  05Code checks the resultRange, sign, consistency with domain constraints.
6.  06The language model explainsNumbers inserted from the result, not generated.

Only one step calculates. The others make sure it gets good data and that its result arrives unchanged.

## The contract between the models

Most errors in these systems happen at the seam. The language model misread “February” (this year or next), confused sales with orders, or asked for a region that is not in the data. So the request to the quantitative model is a contract with a schema, not free text:

-   a measure from a closed list, with its unit,
-   the period as dates, not words,
-   a dimension and its values checked against a dictionary,
-   the forecast horizon and step.

A request that fails schema validation does not reach the calculation. The system asks the user to clarify instead of guessing. That is less impressive than an instant answer and far cheaper than a forecast for the wrong region.

The result has a schema too: values, uncertainty interval, model version identifier, the range of data it was computed on, and a timestamp. Without the model version and the data range nobody will be able to reconstruct, three months on, why the system recommended a February order half as large again.

## What the code checks

The output checks are simple, which is why they get skipped:

-   **Range.** A forecast cannot be negative where the quantity cannot be.
-   **Scale.** A result an order of magnitude above the historical maximum calls for a stop, not an explanation.
-   **Input completeness.** If months are missing from the history, the result carries a warning or is not produced.
-   **Numbers in the answer.** Every number in the text shown to the user must appear in the computed result.

The last check is specific to the hybrid arrangement. A language model asked for a “plain explanation” will happily round, average or add a comparison nobody computed.

## Choosing the quantitative model is a licensing and an operations decision

Ready-made time series models are available today the way language models were a few years ago. Two examples show that availability is not the same as the right to use. Amazon Chronos-Bolt is published on Hugging Face under the Apache 2.0 licence ([model card](https://huggingface.co/amazon/chronos-bolt-base), checked 19 November 2026). In the Google TimesFM family the licence terms of the weights differ between versions, so the card of the specific version has to be read before production use.

The other half of the decision is operational. A quantitative model is one more component of a release: it has a version, a backtest suite and an owner. Changing its version without re-testing is the same mistake as changing a language model without an evaluation set.

## When this arrangement is overkill

If the question is always the same and the answer goes into a report, no language model is needed at the front. A scheduled calculation and a table will do. The conversational layer earns its place when users ask different questions of the same data and the cost of misreading a question is contained by the contract.

In our reading of [Gartner’s trends from the operations side](https://predictes.com/blog/gartner-2027-trends-read-from-the-operations-side) we wrote that every new kind of model needs its own evaluation set. A hybrid system needs two: one measures whether the question was understood, the other whether the forecast was accurate. Designing both before the first line of interface is part of [AI-native application engineering](https://predictes.com/services/ai-native-apps-engineering).

## Sources

-   Gartner Press Release, “Gartner Identifies the Top Strategic Technology Trends for 2027”, 20 October 2026. [gartner.com](https://www.gartner.com/en/newsroom/press-releases/2026-10-20-gartner-identifies-the-top-strategic-technology-trends-for-2027)
-   Gartner, “Top 10 Strategic Technology Trends for 2027”, e-book, October 2026. [gartner.com](https://www.gartner.com/en/articles/top-technology-trends-2027)

The predictions are Gartner’s opinions as of their publication date. The architecture described is ours.

-   quantitative models
-   forecasting
-   architecture
-   validation

## Keep reading

-   [A context platform is not RAG under a new name](https://predictes.com/blog/a-context-platform-is-not-rag-under-a-new-name)
-   [A world model on the floor: simulate before acting](https://predictes.com/blog/simulate-before-acting-a-world-model-on-the-shop-floor)