Open-Source Marketing Mix Model

Google Meridian MMM: How It Works, Costs and Alternatives (2026)

Google Meridian is a free, open-source Bayesian MMM in Python. What it needs to run, what it outputs, real costs, and 2025–2026 updates.

Marketing Mix Modeling Budget Planning Multi-Channel Data Analysts In-House Teams
Visit Google Meridian developers.google.com
Pricing
Free
Key features
6 core features
Built for
In-house data science teams · Marketing analytics teams · Measurement agencies and Meridian partners · Advertisers with geo-level sales data · Video and YouTube-heavy advertisers
Google Meridian · Measurement
Illustration of what Google Meridian does, drawn from this listing. Not the product's own screens or data.

At a glance

Checked Nov 2026
Price
Free, open source (Apache-2.0); costs are data, compute and analyst time
Best for
Advertisers with a data science team, or a certified partner, who want to own a Bayesian MMM built on two or more years of weekly, ideally geo-level, data.
Alternatives
RecastMeasuredKeen
Strengths
  • Bayesian outputs with credible intervals, not just point estimates
  • Geo-level modeling and reach and frequency inputs for video
  • Calibrates with experiments, including Google's own GeoX tool
  • Frequent releases through 2025 and 2026
Drawbacks
  • Needs Python skills and, per Google, at least one GPU
  • Frequent breaking changes; version 2.0.0 switched the default backend
  • Built by a major media seller, so many teams will want independent checks

Google Meridian is a free, open-source marketing mix modeling (MMM) library in Python, built by Google, that estimates how much each marketing channel contributes to sales or another KPI and how budgets should be reallocated.

What it is and who it suits

Google describes Meridian as “an MMM framework that enables advertisers to set up and run their own in-house models.” The code is on GitHub under the Apache-2.0 license and installs from PyPI as google-meridian. Google opened it to all marketers and data scientists on January 29, 2025. The announcement said it had been tested “with hundreds of brands globally” before launch, though that is Google’s claim.

Meridian suits advertisers that have a data scientist or analytics team, or a measurement partner, and enough spend across enough channels to model. It is a code library, not a dashboard you log into. A media planner without Python support will not be able to run it alone. It is also a poor fit for brands with short or patchy data histories, because the data requirements below are strict.

How it works

Meridian is a Bayesian model. You set prior beliefs about how media works, such as expected ROI ranges, and the model combines them with your data to produce a posterior distribution. In practice, every output comes with a credible interval. Sampling uses Markov chain Monte Carlo with the No-U-Turn Sampler (NUTS), according to the project changelog. The model has built-in assumptions for lagged advertising effects (adstock) and diminishing returns (saturation).

Several features set it apart from older regression-based MMMs:

  • Geo-level modeling. Google encourages geo-level data where available, saying it improves estimates and gives geo-level insights. National models are supported too.
  • Reach and frequency. For video channels you can supply reach and frequency instead of impressions alone, and the optimizer can recommend frequency.
  • Search query volume. Google Query Volume can be added as a control for organic demand.
  • Experiment calibration. Lift test results can be turned into priors. Version 2.0.0 (September 2, 2026) added prior calibration through incrementality experiments “such as Meridian GeoX,” Google’s own open-source geo experiment tool.

Outputs include ROI, marginal ROI and cost per incremental KPI (CPIK) by channel, contribution charts, response curves, model fit diagnostics and a budget optimization report. Version 2.2.2 added a marginal cost per incremental KPI metric. Since November 2025 the library has run exploratory data checks before fitting, and since March 2026 it has produced a model health summary.

What you need to run it

Data. Google’s data collection guide recommends weekly data. It calls for at least two years of weekly data for geo-level models and three years for national models. Required inputs are:

  • a KPI, such as revenue or conversions
  • media spend per channel
  • a media exposure metric per channel, such as impressions or clicks
  • control variables

Optional inputs include revenue per KPI, geo population, reach and frequency, organic media, non-media treatments such as price or promotions, and Google Query Volume. The dataset must be complete with no missing values. Google says media gaps should be zero-filled and KPI or control gaps imputed.

Google also offers an MMM Data Platform, which supplies Google Ads and Display & Video 360 data, impressions, clicks and cost for Google media, and query volume. Access is by request form.

Skills. You need Python, a working knowledge of Bayesian modeling and time to choose priors and judge model diagnostics. The README requires Python 3.11 to 3.13.

Compute. The README recommends “a minimum of 1 GPU” and says the project was tested on a T4 GPU with 16 GB of RAM. There is no official macOS GPU support. Google’s getting-started notebooks run in Colab.

Support. There is no vendor support desk. The GitHub page says installation and usage questions go to Discussions or Issues and that the team responds “weekly in batches.” Pull requests are not accepted, because the repository mirrors Google’s internal code. For hands-on help, Google lists certified partners. In November 2026 its partners page showed 53 partners across MMM and GeoX, including agencies, consultancies and data companies such as NIQ and Circana.

Cost in practice

The software is free, but a working MMM is not. Budget for:

  • data engineering to assemble two to three years of clean weekly data by channel and, ideally, by geo
  • GPU compute, whether in the cloud or in Colab
  • analyst or data scientist time to set priors, check convergence, validate results and refresh the model
  • partner fees if you use a certified partner, which are set by each partner, not Google

Because Meridian is a library, you also have to maintain your own code. The changelog shows frequent breaking changes. Version 2.0.0 switched the default computation backend from TensorFlow to JAX, and the 2.2.1 sampler change means posterior draws for a given seed differ from earlier versions. Pin your version and re-test before upgrading.

How it compares

Commercial MMM platforms such as Recast and Keen sell the model together with software, onboarding and ongoing support, for custom fees. Meridian moves that work onto your team or a partner, in exchange for full control of the code and assumptions. Measured starts from incrementality experiments rather than a single model. Meridian can sit alongside an experiment program like that, because it takes lift results as priors.

Meta’s open-source Robyn is the closest free alternative. Robyn is an R package (with a beta Python port) built on ridge regression and evolutionary hyperparameter search rather than a Bayesian sampler. Meridian has had far more release activity in 2025 and 2026.

One practical consideration is that Google, a major seller of the media being measured, builds Meridian. The code and methodology are public, so they can be inspected. Many teams still validate results with independent experiments or a second model.

Recent updates (2025–2026)

  • January 24–29, 2025: Version 1.0.0 released. Google announced general availability with “over 20” certified partners.
  • November 10, 2025 (v1.3.0): Added exploratory data analysis checks, a model-fitting guardrail and model quality checks.
  • December 8, 2025 (v1.4.0): Introduced modules for the Meridian Scenario Planner. The planner runs from a Colab notebook and builds an interactive Data Studio dashboard covering model fit, channel contribution, ROI and budget optimization from a trained model. The notebook is labelled Beta.
  • March 4, 2026 (v1.5.3): Dropped Python 3.10 support.
  • April 29, 2026 (v1.6.0): JAX support added, plus EDA reports.
  • September 2, 2026 (v2.0.0): JAX became the default backend, and calibration through experiments such as GeoX was added, with channel calibration recommendations.
  • November 18, 2026 (v2.2.1): Changed the JAX sampler. The changelog says this cuts GPU sampling time by “about 30% on typical models.”
  • November 25, 2026 (v2.2.2): Latest version at the time of checking. Added the marginal cost per incremental KPI metric.

FAQ

Is Google Meridian free? Yes. The code is open source under Apache-2.0. Your costs are data preparation, compute, staff time and any partner fees.

How much data does Meridian need? Google recommends weekly data, with at least two years for geo-level models and three years for national models.

Does Meridian only measure Google channels? No. It models whatever channels you supply data for. Google’s MMM Data Platform only provides Google media data, so you need to source data for other channels yourself.

Sources