Skip to content
FossShelf
Home / Categories / For AI Engineers

weathernext

AI-powered weather forecasting from Google DeepMind

Replaces Tomorrow Io, The Weather Company An Ibm Business, Accuweather For Business

7.75K starsApache-2.0reviewed 12 Aug 2026last commit 4 Sept 2026
Screenshot of weathernext

Who it's for

Atmospheric science researchers prototyping AI forecasting methods

WeatherNext 2 gives you a state-of-the-art baseline with full training code, so you can experiment with architecture changes, loss functions, or ensemble methods without reimplementing the entire pipeline. The JAX codebase is readable and modular, with shared utilities for autoregressive rollouts, normalization, and graph building. Use it to test new ideas against a published benchmark.

You need a black-box API for production forecasts without modifying the model. The value here is research flexibility, not plug-and-play deployment.

Developers building weather-dependent applications

If you are building flight routing, agricultural planning, renewable energy forecasting, or disaster response tools, WeatherNext gives you direct access to the same forecasts NOAA used operationally for hurricane tracking. Run backtests over historical data, customize resolution or output variables, and avoid per-API-call costs that scale unpredictably with user growth.

Your application needs real-time forecasts updated every hour with zero infrastructure management. The managed feeds (Google Cloud, OpenMeteo) are better for that use case, though they reintroduce vendor dependency.

Meteorology teams evaluating AI vs physics-based models

WeatherNext 2 is the first AI model with documented operational use in tropical cyclone forecasting (2025 Atlantic hurricane season). If your team is researching whether AI models are ready for operational deployment, you can run side-by-side comparisons against your existing HRES or GFS pipelines using the same evaluation metrics from the Nature paper.

You need ensemble probabilistic forecasts for uncertainty quantification. WeatherNext 2 is deterministic (single forecast per run). The legacy WeatherNext Gen (GenCast) model in this repository does ensembles, but it is an older architecture.

Infrastructure teams training large AI models on atmospheric data

The repository includes the full training loop, gradient computation, and loss functions used in the published papers. If you have access to TPU clusters and want to fine-tune on regional datasets (higher resolution over a specific continent, or extended lead times), the code is production-ready and the WeatherBench2 data pipeline is documented.

You do not have multi-TPU or multi-GPU training infrastructure. Training WeatherNext 2 from scratch or fine-tuning on large datasets requires the same scale of compute as the original DeepMind training runs.

The problem

Traditional weather forecasting depends on physics-based numerical models that simulate atmospheric equations on supercomputers. The European Centre for Medium-Range Weather Forecasts (ECMWF) operates HRES, the global standard for medium-range predictions, but each forecast run takes hours of computation on massive clusters. Only national meteorological agencies can afford this infrastructure. Researchers, startups, and development teams building weather-dependent applications must rely on commercial APIs (Tomorrow.io, Weatherstack, AccuWeather) or wait for public data feeds that may not match their resolution, cadence, or coverage needs. API costs scale steeply for high-frequency or high-resolution access. For reproducible forecasts, custom model tuning, or offline analysis, neither commercial APIs nor waiting for public feeds is a viable path. You either pay for access you do not control, or you do not get the forecast flexibility you need.

How it works

0.25° resolution global forecasts

Generates medium-range (up to 10 days) atmospheric predictions at roughly 30km resolution, covering temperature, wind speed (including 100m wind for renewable energy applications), geopotential height, and precipitation. The model outputs match the spatial detail of ECMWF's operational HRES forecasts, which is the benchmark for global weather services.

Tropical cyclone track prediction

Includes a direct tracker that extracts cyclone positions, intensities, and tracks from model outputs. The WeatherNext Cyclones variant was used operationally during the 2025 Atlantic hurricane season as FNV3, with NOAA's National Hurricane Center postprocessing it as GDMI. The paper documents breakthrough accuracy in cyclone forecasting compared to traditional models.

Pre-trained operational weights

Ships with multiple model checkpoints trained through 2024 on ECMWF HRES data, including the WeatherNext2_<2025 variant fine-tuned for operational use. Weights are hosted on Google Cloud Storage and downloaded automatically by the inference code, so you do not need to train from scratch.

JAX-based autoregressive rollout

Inference is implemented in JAX and optimized for TPU, with support for GPU via attention implementation switching. The autoregressive rollout generates forecasts step by step, with each 6-hour prediction feeding into the next. The demo Colab notebook shows how to initialize state from HRES initial conditions and run a full 10-day forecast.

Reproducible research code

The repository includes the full training loop, loss computation, and gradient step code used in the published papers (Nature 2026 for cyclones, arXiv:2506.10772 for WN2). You can compute training loss on your own data, fine-tune on regional datasets, or experiment with architecture changes. ERA5 and HRES training data are available via WeatherBench2.

Lightweight mini models for prototyping

WeatherNext Cyclones Mini runs at 1° resolution (roughly 110km) and fits on a free Colab TPU v5e-1 or a single P100 GPU, making it accessible for local testing without H100-class hardware. The mini model forecasts the same variables as the full version, including cyclones, though with reduced accuracy documented in the paper appendix.

Features

  • 0.25° resolution global forecasts
  • Tropical cyclone track prediction
  • Pre-trained operational weights
  • JAX-based autoregressive rollout
  • Reproducible research code
  • Lightweight mini models for prototyping

How to install

Installation requires Python and pip. The package is not on PyPI, so install directly from the GitHub repository. Pin to a specific release tag (e.g., v0.3.0) to avoid breaking changes, as the README notes this is research code with no API stability guarantees.

pip install git+https://github.com/google-deepmind/weathernext.git@v0.3.0

For interactive experimentation, the Colab notebook is the fastest path. Open it from Colaboratory at the link below, select a TPU v5e-1 runtime (free tier), and run all cells. The notebook downloads pre-trained weights automatically and includes sample HRES initial conditions. Colab link: https://colab.research.google.com/github/google-deepmind/weathernext/blob/master/docs/weathernext2/wn2_demo.ipynb For local inference on GPU instead of TPU, the notebook shows how to switch the attention implementation. Full operational models need H100 GPUs; mini models work on P100. Model weights are fetched from Google Cloud Storage (https://console.cloud.google.com/storage/browser/dm_graphcast) during the first run.

Recommended for this setup

Strengths

  • Operational-grade accuracy with research transparency: WeatherNext 2 is not a demo. The WeatherNext Cyclones <2025 checkpoint ran live during the 2025 Atlantic hurricane season and was postprocessed by NOAA's National Hurricane Center. The Nature paper documents its performance against ECMWF and other operational models. Unlike commercial APIs that hide their methods, you get the full training code, architecture details, and evaluation benchmarks.
  • Apache 2.0 license with no usage restrictions: The code and notebooks are Apache 2.0 licensed, and other materials (documentation, examples) are CC BY 4.0. You can run unlimited forecasts on your infrastructure, modify the model, and deploy it commercially without licensing fees. Compared to commercial weather APIs that charge per call or tier, the cost model is purely your compute, which scales predictably.
  • TPU-optimized inference in minutes, not hours: A 10-day forecast rollout completes in minutes on TPU v5p or H100, compared to hours for ECMWF HRES on supercomputers. For research workflows that need hundreds of forecasts (ensemble generation, backtesting, sensitivity analysis), the speed difference is the difference between viable and impractical.
  • Active development by Google DeepMind and Google Research: The repository is actively maintained, with the last push on 2026-08-11 (one day before this analysis). It includes legacy models (GraphCast, GenCast published as WeatherNext 1 Graph and Gen) alongside the latest WN2, showing a sustained research program. The team publishes in Nature and maintains public data feeds via Google Cloud and OpenMeteo.

Trade-offs

  • Requires TPU or H100 GPU for full operational models: The full WeatherNext2_<2025 and WeatherNext Cyclones models need H100 GPUs or TPU v5p for sufficient VRAM. The mini models run on P100 or free Colab TPUs, but with reduced accuracy. If you do not have access to these accelerators, you are limited to the managed data feeds (Google Cloud, WeatherLab, OpenMeteo) rather than self-hosted inference, which defeats the vendor-independence advantage.
  • Research code with no API stability guarantees: The README explicitly states this is research code provided as-is, with no guarantees of API stability and breaking changes possible without notice. If you build production workflows on top of WeatherNext, you own the maintenance burden when the repository updates. The recommendation is to pin to a specific release, which means you miss bug fixes and model improvements unless you actively track and merge updates.
  • Requires atmospheric data expertise to validate outputs: WeatherNext outputs raw atmospheric variables (geopotential height, wind components, temperature, humidity). Interpreting these for real-world decisions (should this flight route avoid a storm, is this harvest window safe) requires domain knowledge or postprocessing pipelines. The cyclone tracker helps for tropical systems, but for general use cases you need to build your own validation and alerting on top of the model outputs.
  • Training data governed by separate ECMWF terms: Fine-tuning or retraining requires ERA5 and HRES data from ECMWF, accessed via WeatherBench2. These datasets have their own terms and conditions (ECMWF open data is CC BY 4.0, but check current restrictions). If you cannot comply with ECMWF's data policies, you cannot retrain the model on the same distribution it was validated against.

Tech stack

Languages
Python
Frameworks
—
Databases
—
Tooling
—

FAQ

Is WeatherNext 2 free to use for commercial applications?

Yes. The code and notebooks are Apache 2.0 licensed, which allows commercial use, modification, and distribution with no restrictions. You can run WeatherNext 2 on your infrastructure and use the forecasts in paid products. The only constraint is that training data (ERA5, HRES) from ECMWF has separate terms (typically CC BY 4.0 for open data), so check those if you are retraining or fine-tuning. Pre-trained model weights are provided and covered by the Apache 2.0 license.

Can I run WeatherNext 2 on a laptop or do I need cloud GPUs?

The full operational models (WeatherNext2_<2025, WeatherNext Cyclones <2025) require H100 GPUs or TPU v5p due to memory requirements. A laptop GPU will not work. However, the WeatherNext Cyclones Mini models run on a single P100 GPU or a free Colab TPU v5e-1 runtime, which is accessible without paid cloud resources. The mini models have reduced accuracy but forecast the same variables. For production use of the full model, you need cloud TPU or GPU instances.

How does WeatherNext 2 compare to ECMWF HRES for forecast accuracy?

The WeatherNext Cyclones paper (Nature 2026) documents performance comparable to ECMWF's operational models for tropical cyclone forecasting, with the WeatherNext Cyclones <2025 checkpoint used live by NOAA during the 2025 Atlantic hurricane season. For general medium-range forecasts, the FGN/WN2 technical report (arXiv:2506.10772) shows skillful probabilistic forecasting from marginals. WeatherNext 2 is faster (minutes vs hours per forecast) but both models are validated against the same HRES benchmarks. The tradeoff is that HRES is physics-based and interpretable, while WeatherNext is a learned model with less transparency in failure modes.

Do I need to download weather data myself or are initial conditions included?

The repository includes sample HRES initial conditions in the Colab notebooks to get started immediately. For operational use, you need to download HRES initial conditions (for the operational models) or ERA5 data (for the research checkpoints) from ECMWF via WeatherBench2. The demo notebook shows how to load these formats. Pre-trained weights are automatically downloaded from Google Cloud Storage when you run the inference code, so you do not need to fetch those separately.

What is the difference between WeatherNext 2 and the older GraphCast/GenCast models?

GraphCast (now called WeatherNext 1 Graph) is a deterministic forecasting model using graph neural networks, published in Science 2023. GenCast (WeatherNext 1 Gen) is a diffusion-based ensemble model for probabilistic forecasts, published in Nature 2024. WeatherNext 2 is the latest architecture, trained through 2024 and fine-tuned on operational HRES data for direct initialization from live forecasts rather than reanalysis. All three models are in this repository, but WeatherNext 2 is the current operational version and the one used by NOAA in 2025.

Similar tools

More in AI Engineers