Skip to content
Predict.ai

In production

Serving a forecast: one call, not another export

A forecast that lives in a slide is a report. A forecast that answers a request — grain, horizon, quantiles — can staff a roster, bid a market, or fill a warehouse system. The hard part is the contract: version, pin, and what happens when the model changes.

Updated Aug 26, 2026·8 min read

The contract is the product

A forecast that lives in a slide is a report. A forecast that answers a request — grain, horizon, quantiles — can staff a roster, bid a market, or fill a warehouse system. The hard part is the contract: which model version, what happens when it changes, and whether training and serving still share features.

  • Return the path, timestamps, quantiles, and a model version id.
  • A PNG is not an API. A single center line is a half contract.
  • Idempotent reads. Ops will retry. Do not double-book a buy because the GET flickered.

Pins and rollbacks

Autopilot that silently swaps a champion at 3am will eventually ship a worse number into MRP. Pin what production reads. Let the tournament keep racing in the wings. Rollback is a pin, not a war room. SageMaker endpoints can do this; most homegrown “export the CSV” stacks cannot.

Training and serving

The classic break: a notebook used a holiday file the endpoint never saw. Feature pipelines that are not the serving pipelines are how you get a brilliant backtest and a cursed Tuesday. Same code, same calendar, same lag rules.

Inference is one call

Deploy a Predict.ai champion — shared or dedicated — pin a version, and request a forecast over REST. Same object the workspace shows. Agents can use the same contract through MCP instead of scraping the UI. You are not maintaining a second “production rewrite” of the notebook.

That is the gap with BigQuery ML: querying a model is easy; productizing the contract (pins, quantiles, who is allowed to change it) is the rest of the job. We sell the rest of the job.

FAQ

What should a forecast API return?
The path, the timestamps, the quantiles you plan on, and an id for the model version. A PNG is not an API. A single center line without an interval is a half contract.
How do I keep Excel from becoming the system of record?
Make the endpoint cheaper than the export. If ops can get p50/p90 in the tool they already run, they will stop pasting. If they cannot, they will.

Keep going

Try it on your data.

Connect an outcome and its history. Predict.ai finds the drivers, races the models, and keeps the forecast live — in the workspace, over the API, and through agents.