Google Meridian and Meta's Robyn are free, open-source marketing mix modeling projects that an ecommerce brand can run in house. This answer compares how they work, what data and skills they need, and how each handles experiment calibration, using each project's own documentation read on 18 November 2026. It is from Brand Media Works, an AI consulting and marketing data engineering firm for ecommerce brands. Neither project is ranked here, because the right fit depends on your team and your data.
What Meridian and Robyn are
Google describes its project plainly: "Meridian is an open-source MMM built by Google that provides innovative solutions to key measurement challenges." Its documentation adds that "Meridian is free for anyone to use, giving you the ability to control your model, your data, and your results." The GitHub README calls it "an MMM framework that enables advertisers to set up and run their own in-house models."
Meta describes Robyn as "an experimental, semi-automated and open-sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science." Its README says it is "especially suitable for digital and direct response advertisers with rich data sources," and that "Meta's Robyn is MIT licensed, as found in the LICENSE file." Meridian's repository lists the Apache-2.0 license.
Both work from aggregated data. Meridian's README notes that "MMM is privacy-safe and does not use any cookie or user-level information," and Robyn's guide says that MMM "does not need user level data and instead it runs off aggregated data (such as campaign level) data." Brand Media Works builds and runs these models for brands as part of its marketing analytics consulting.
Meridian vs Robyn at a glance
| Area | Google Meridian | Meta Robyn |
|---|---|---|
| Built by | Meta Marketing Science | |
| License | Apache-2.0 | MIT |
| Language | Python (3.11 to 3.13, per the README) | R package, with a Python API in beta that needs the R package installed |
| Core method | Bayesian model, fitted with MCMC sampling | Ridge regression, with settings searched by an evolutionary optimizer (Nevergrad) |
| Experiment calibration | Experiment results become channel priors | The gap to experiment results is an objective the optimizer minimizes |
| Data granularity | National or geo-level, channel-level only | Channel-level time series (weekly in its sample data) |
| Uncertainty | Posterior distribution and credible intervals | Bootstrapped intervals for ROAS or CPA |
| Compute | GPU recommended | Many optimizer iterations and trials |
Facts in the table come from the sources below, read on 18 November 2026. Robyn's features page states that it was updated in December 2024 for version 3.12.0.
How the methods differ
Meridian is Bayesian. In Meridian, "You can inject your existing business knowledge into the model through priors," and "The model's primary output is a posterior distribution of model parameters, which feeds into the post-modeling analysis." The README explains that it uses an MCMC sampling approach that can be compute intensive, and says: "We recommend running your Meridian model on GPUs to get real time optimization results and significantly reduce training time."
Robyn uses regularized regression and an optimizer. The features page says "Robyn uses the L2-form of the regularisation, also known as Ridge regression." Rather than sampling, Robyn searches its settings over many rounds. Its documentation says ridge regression suits its optimizer because "the (hyper)parameters are estimated with many evolutionary iterations, as opposed to the typical sampling process with MCMC in a Bayesian regression." The README adds that "Robyn requires the Python library Nevergrad."
The gap is narrower than it looks. Robyn's own documentation notes that ridge regression is mathematically equivalent to a Bayesian regression with a normal prior. Our summary: both shrink channel effects toward plausible values. Meridian does it with priors you set, and Robyn does it with a penalty and an optimizer that prefers plausible answers.
Calibrating with lift experiments
Both projects can use incrementality tests to keep the model honest. In our view this matters, because an uncalibrated model can credit a channel with results it did not cause.
- Meridian: "Calibration is the process of using experiment results and other domain knowledge to set channel-specific priors." Google is careful about it: "There is no single formula to translate an experiment result into a prior," and "Remember that priors are not rigid constraints but rather starting points."
- Robyn: "Robyn implements the MMM calibration as an objective function in the multi-objective optimization by parameterizing the difference between causal results and predicted media contribution." In practice you pass experiment results in a table when you set up the model.
Our answer on incrementality testing covers how to run the tests that feed either model, and our comparison of MMM, MTA and incrementality testing explains how the three methods fit together.
How much data you need
In our experience, this is where in-house MMM projects most often struggle. Google's guidance says "The guidance about the amount of data needed is rough and directional because the true answer depends on what the data is like." It defines size simply: "Data size is the number of geos times the number of time points."
Google's own worked example is a useful warning for a Shopify brand. With 12 media channels, six controls and eight time knots, a national model has 26 parameters to estimate. Google notes: "With two years of weekly data (104 data points), you have four data points per parameter," and "This sample size is too low to estimate the model reliably." Our view is that the practical fixes are fewer channels (for example by combining small ones), more history, or geo-level data. Robyn's guide makes a similar point from the process side: "Data collection is one of the most important but time consuming steps in an MMM study."
Both also work at channel level. Google states that "The Meridian model is focused only at channel-level," and recommends attribution for finer detail: "If you are interested in more granular insights, we recommend data-driven multi-touch attribution for your digital channels." Our answer on multi-touch attribution covers that side, and our guide to the data an MMM needs lists the inputs to collect.
What you get out
Meridian's README frames the outputs as answers to three questions, including "How do I optimize my marketing budget allocation for the future?" Its documentation describes a standard set of visualizations covering model fit and the contribution of each channel.
Robyn produces a set of candidate models rather than one, then clusters similar ones so an analyst can choose between fewer options. Its documentation says "Robyn uses bootstrapping to calculate uncertainty of ROAS or CPA," and that "Robyn's budget allocator comes with two scenarios:" the first finds the budget split that maximizes response for a given total budget.
Skills and compute
- Meridian needs Python. Its README says "Python 3.11-3.13 is required to use Meridian", recommends at least one GPU, and notes the project "has been tested on T4 GPU using 16 GB of RAM."
- Robyn is an R package. Its Python API is in beta and still needs the R package installed. The documentation recommends "a minimum of 2000 iterations" per trial and at least five trials, and warns that adding more settings to tune means the model "needs longer to converge."
Our view: pick the project your analysts can maintain. A Python data team will usually find Meridian easier to run in its existing stack. A team with R experience may find Robyn quicker to start. Either way, the model needs someone who can judge whether its answers make business sense.
Which fits an ecommerce brand
We do not rank the two. These are the questions we suggest a brand answers first, as our recommendation:
- Do you have enough history? Count your channels and weeks before choosing either. If the ratio looks like Google's example above, combine channels or wait.
- Do you sell in many regions? Meridian is designed to use geo-level data, which Google says "contains more statistical information."
- Do you have lift test results? Both can use them. Plan the tests before the model, not after.
- Would you rather buy than build? Our guide to MMM and incrementality software covers the commercial tools.
Frequently asked questions
Is Meridian free?
Yes. Google says Meridian is free for anyone to use, and the code is open source under the Apache-2.0 license. You still pay for your own compute and staff time.
Is Robyn Bayesian?
No. Robyn fits ridge regression and searches its settings with an evolutionary optimizer. Its documentation notes that ridge regression is mathematically equivalent to a Bayesian regression with a normal prior, but it does not sample a posterior the way Meridian does.
Can I use Robyn in Python?
Robyn offers a Python API in beta, first released in November 2023, but it requires the Robyn R package to be installed first.
How much data does an MMM need?
There is no fixed minimum. Google's example shows two years of weekly data can be too little for 26 parameters in a national model. Our view is that fewer channels, more history or geo-level data all help.
Do I need lift experiments?
Not to run either model, but both are designed to use them. Our view is that a calibrated model is far more trustworthy for budget decisions.