DEV.co
AI Frameworks · amazon-science

chronos-forecasting

Chronos is Amazon's open-source time series forecasting library providing pretrained transformer-based models (Chronos-2, Chronos-Bolt, and original Chronos) that work zero-shot on univariate, multivariate, and covariate-informed forecasting tasks. Models range from 8M to 710M parameters and can be deployed locally or on AWS infrastructure.

Source: GitHub — github.com/amazon-science/chronos-forecasting
5.6k
GitHub stars
662
Forks
Python
Primary language
Apache-2.0
License (OSI-approved)

Key facts

Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.

FieldValue
Repositoryamazon-science/chronos-forecasting
Owneramazon-science
Primary languagePython
LicenseApache-2.0 — OSI-approved
Stars5.6k
Forks662
Open issues31
Latest releasev2.3.1 (2026-07-02)
Last updated2026-07-02
Sourcehttps://github.com/amazon-science/chronos-forecasting

What chronos-forecasting is

Chronos family uses transformer architectures with quantization/tokenization for time series data. Chronos-2 (120M params) offers zero-shot multivariate and covariate support. Chronos-Bolt uses patch-based direct multi-step forecasting, achieving 250x speedup and 20x memory reduction versus baseline. Original Chronos-T5 models generate probabilistic forecasts via sampling.

Quickstart

Get the chronos-forecasting source

Clone the repository and explore it locally.

terminalbash
git clone https://github.com/amazon-science/chronos-forecasting.gitcd chronos-forecasting# follow the project's README for install & configuration

Need it deployed, integrated, or customized instead? DEV.co ships production installs.

Best use cases

Zero-shot multivariate forecasting with exogenous features

Chronos-2 excels at forecasting tasks where historical context includes multiple variables and future covariate values (e.g., electricity price prediction with weather forecasts, inventory demand with promotional calendars). Supports direct integration of exogenous features without retraining.

Fast, lightweight edge or real-time inference

Chronos-Bolt (tiny/mini/small variants, 9–48M params) delivers 250x faster inference and 20x lower memory footprint. Suitable for streaming applications, embedded systems, or cost-sensitive cloud deployments where latency and resource constraints are critical.

Probabilistic forecasting with quantile outputs

All Chronos models return distributional forecasts (quantile levels configurable). Valuable for risk management, supply chain planning, and financial forecasting where confidence intervals and tail risk quantification are required.

Implementation considerations

  • Models download from HuggingFace Hub (8M–710M parameters). Ensure sufficient disk/memory for model variant; Chronos-2 (120M) and Chronos-Bolt-base (205M) require 500MB–2GB RAM depending on batch size and hardware.
  • Time series data must be structured with `id_column`, `timestamp_column`, and `target` columns for the `predict_df()` API. Data preparation and normalization are handled internally; validate datetime formats and missing-value handling upfront.
  • Quantile levels and prediction length are configurable at inference time. No retraining required, but forecast quality on highly novel distributions is Unknown; validate on representative test data before production deployment.
  • GPU acceleration is optional but recommended for large batches or real-time inference. CPU inference is viable for smaller models (Bolt-tiny 9M params) or low-throughput scenarios; profile latency and memory on target hardware.
  • Covariate-informed forecasting (Chronos-2) requires future values of exogenous features at forecast time. Ensure pipeline can reliably provide future covariates (e.g., weather forecasts, calendar features) before inference.

When to avoid it — and what to weigh

  • Need domain-specific model fine-tuning without retraining infrastructure — Chronos models are zero-shot but provided as inference-only via HuggingFace. Fine-tuning or domain adaptation requires standing up training infrastructure; the repo does not provide high-level fine-tuning APIs or pre-built pipelines for custom model refinement.
  • Require guaranteed SLA or commercial support contract — While Amazon maintains the repo, this is open-source software without contractual SLA. Production-critical forecasting may require third-party support or managed service (SageMaker/AutoGluon-Cloud) which introduces additional cost and complexity.
  • Working primarily in non-Python ecosystems or require model interoperability — Chronos is Python-centric, relies on HuggingFace Transformers, and is best integrated within Python ML stacks. Export to ONNX, TensorFlow SavedModel, or other formats is not clearly documented; cross-platform deployment may require custom conversion work.
  • Need to forecast extremely long horizons (>1000 steps) with sparse historical data — Chronos models are designed for medium-term forecasting. Long-horizon forecasting on sparse time series may benefit from classical methods (ARIMA, exponential smoothing) or domain-specific architectural choices not addressed by zero-shot pretrained models.

License & commercial use

Apache License 2.0 (Apache-2.0). Permissive OSI license allowing commercial use, modification, and distribution. Requires license and copyright notice in derivative works and distributed binaries. No warranty; licensor not liable.

Apache-2.0 permits commercial use without explicit permission. However, this is open-source code without contractual support. Production deployment on AWS via SageMaker or AutoGluon-Cloud incurs separate AWS service charges. Third-party support and indemnification (if required) are not included; legal/compliance review recommended for risk-sensitive applications.

DEV.co evaluation signals

Editorial assessment — not user reviews. Directional, with an explicit confidence level.

SignalAssessment
MaintenanceActive
DocumentationStrong
License clarityClear
Deployment complexityLow
DEV.co fitStrong
Assessment confidenceHigh
Security considerations

No explicit security audit or CVE data provided. Standard ML/Python supply-chain risks apply: dependencies (transformers, torch, numpy) are mature but require regular updates. Model weights download from HuggingFace Hub; verify model provenance and checksums for production use. No sensitive data handling beyond standard input validation. Local inference avoids external API calls; SageMaker deployment inherits AWS security posture. Recommend dependency scanning and periodic security reviews.

Alternatives to consider

StatsForecast (Nixtla) / NeuralForecast

Open-source, pure-Python, supports classical and neural baselines. Lighter weight for univariate forecasting; less emphasis on zero-shot multivariate/covariate tasks but stronger on fine-tuning flexibility.

Prophet (Facebook/Meta)

Battle-tested, interpretable additive model; excellent for trend/seasonality. Requires less compute and data. Lacks distributional forecasts and multivariate support; better for simple, well-structured business time series.

Temporal Fusion Transformer (Google / PyTorch Forecasting)

Deep learning alternative with attention mechanisms and covariate support. Requires hyperparameter tuning and training data; not zero-shot. More flexible for domain-specific use cases but higher implementation complexity.

Software development agency

Build on chronos-forecasting with DEV.co software developers

Start with the Chronos-2 quick-start notebook or test Chronos-Bolt for high-speed inference. For production, review SageMaker JumpStart or AutoGluon-Cloud deployment options. Contact Devco for architecture review and integration support.

Talk to DEV.co

Related open-source tools

Surfaced by semantic similarity across the DEV.co open-source index.

Related on DEV.co

Explore the category and the services that help you build with it.

chronos-forecasting FAQ

Do I need to retrain Chronos-2 on my data?
No. Chronos-2 is zero-shot and works out-of-the-box on univariate, multivariate, and covariate-informed forecasting. No fine-tuning required. Performance is Unknown on highly domain-specific or novel distributions; validate on representative test data.
What is the difference between Chronos-2, Chronos-Bolt, and original Chronos-T5?
Chronos-2 (120M) is the latest flagship with multivariate and covariate support. Chronos-Bolt uses patch-based inference for 250x speedup and 20x memory reduction but may have lower accuracy on complex tasks. Original Chronos-T5 (8M–710M) uses sampling-based probabilistic forecasting; older baseline.
Can I deploy Chronos locally or must I use AWS?
Both. Local inference via Python is straightforward for development and prototyping. For production, AWS SageMaker JumpStart or AutoGluon-Cloud provide managed endpoints with scaling, monitoring, and integration; local deployment is viable but requires DevOps for monitoring, versioning, and error handling.
How does Chronos handle missing values and irregular time series?
Not clearly stated in provided documentation. Inspect source code or raise GitHub issue for specifics. Standard practice: preprocess with interpolation or forward-fill. Test on your data; missing-value robustness is Unknown.

Work with a software development agency

Adopting chronos-forecasting is usually one piece of a larger software development effort. As a software development agency, DEV.co provides software development services and web development expertise — pairing senior software developers and web developers with your team to design, build, and operate ai frameworks software in production.

Evaluate Chronos for Your Forecasting Workflow

Start with the Chronos-2 quick-start notebook or test Chronos-Bolt for high-speed inference. For production, review SageMaker JumpStart or AutoGluon-Cloud deployment options. Contact Devco for architecture review and integration support.