Marketing Mix Modeling
Google Meridian Vs. Pymc-marketing: Choosing The Right Open-source MMM In 2026
A plain-language comparison of Google Meridian and PyMC-Marketing, with a 4-question guide to choosing the right open-source MMM.

Google Meridian and PyMC-Marketing are the two leading open-source Bayesian marketing mix models (MMM) in Python. Meridian is a guided, opinionated toolkit from Google. PyMC-Marketing is a flexible toolkit, built on PyMC, that is independent of any ad platform. Choose Meridian for fast, standard workflows and video-heavy media plans. Choose PyMC-Marketing when you need custom models, a lighter setup, or platform independence.
This post explains how the two differ and how to choose. ELIYA is a commercial MMM provider, so we have a point of view. We kept the comparison fair and based it on what we see in client work. For more detail, read our complete guide to Google Meridian and our deep dive on PyMC-Marketing.
TL;DR: Google Meridian vs. PyMC-Marketing at a Glance
- Core difference: Meridian is a guided “highway” with strong defaults. PyMC-Marketing is a modular “workshop” you can shape to your business.
- Meridian stands out for: reach-and-frequency modeling (YouTube, CTV), Google Query Volume controls, and companion tools like Meridian GeoX and Scenario Planner.
- PyMC-Marketing stands out for: easy customization, a light setup, CLV modeling, time-varying effects, and independence from ad platforms.
- Hidden cost: both need data science skills. Meridian also needs a GPU and does not forecast.
- Not sure either fits? ELIYA gives you custom Bayesian models, expert validation, and budget planning without the DIY work.
1. Where They Come From
- Google Meridian is Google’s open-source MMM. It replaces the older LightweightMMM library and is maintained by Google’s measurement science team. Its goal is to make standard Bayesian MMM available to more advertisers.
- PyMC-Marketing is maintained mainly by PyMC Labs. It is built on PyMC, a well-known probabilistic programming library. It is a toolbox for data teams and is not tied to any media seller.

2. Core Philosophy: Guided Highway vs. Modular Workshop
Google Meridian: The Guided Highway
Meridian comes with sensible defaults and an end-to-end workflow: data input, modeling, and budget optimization. It assumes most teams want a tested template instead of tuning every parameter. That speeds up adoption. The trade-off is that it fits less well when your business does not match its assumptions.
PyMC-Marketing: The Modular Workshop
With PyMC-Marketing you can change almost anything. Adstock curves, saturation curves, and regional pooling are all yours to define. If you have subscriptions, several brands, or an unusual funnel, you can build a model that fits.
3. Key Capabilities
Both tools use Bayesian regression to estimate channel contribution and marginal returns. They differ in what they emphasize.
What Meridian Does Well
- Reach and frequency modeling: Most MMMs use spend or impressions. Meridian can model how many people saw your ads and how often. This helps with awareness channels like YouTube, streaming TV, and programmatic video.
- Organic search baseline: Meridian can include Google Query Volume. This helps separate organic brand demand from paid effects, so brand search campaigns do not get credit for demand that already existed.
- Experiment integration: You can calibrate results with real experiments such as geo-lift tests. Meridian GeoX supports geo-experiment design.
What Meridian Does Not Do
- Forecasting: Meridian has no forecasting or prediction function. You can optimize how past spend was allocated, but you cannot project future spend.
What PyMC-Marketing Does Well
- A wider toolbox: Beyond MMM, it covers Customer Lifetime Value (CLV) models such as BG/NBD and Pareto/NBD, plus choice models and product uptake models.
- Time-varying effects: It is straightforward to model effects that change over time, such as channel wear-out, economic shifts, or seasonal promotions.
- Independence: If your board or clients distrust tools built by ad platforms, PyMC-Marketing is a neutral option.
4. Head-to-Head Comparison
Dimension | Google Meridian | PyMC-Marketing |
|---|---|---|
Provider | PyMC Labs and open-source community | |
Approach | Guided workflow with strong defaults | Modular, highly customizable toolkit |
Experiment calibration | Calibrate with experiments; Meridian GeoX helps design geo tests | Built-in lift-test calibration, plus sister library CausalPy for quasi-experiments |
Budget planning | Optimizes past spend; Scenario Planner is a no-code Looker Studio dashboard | Built-in Bayesian optimizer and forecasting with uncertainty ranges |
Forecasting | Not available | Available |
Reach and frequency | Built in | Possible with custom setup, not a default |
Organic demand | Google Query Volume controls | Flexible external regressors and custom hierarchies |
Granularity | National and geographic (DMA/regional) | Geography, product lines, and channels at once |
Compute | Built on JAX; needs a GPU | Lighter; can run on a laptop |
Modifying the code | Hard: complex source code | Easier: built on PyMC, so you can add your own layers and functions |
Vendor neutrality | Open-source and self-hosted, but created and steered by a major ad network | Independent of any media seller or ad network |
Team skills | Analysts and data teams who want standard workflows | Data scientists with Bayesian modeling skills |
5. What It Really Takes to Run Each Tool
Both tools are free to download. Running them well is not free. Here is what we see at ELIYA.
- You need data science resources. Mastering either tool takes skilled people and time. Any organization that adopts one must set aside both to configure it for its own use case.
- Meridian is heavy. Its source code is complex, it is built on JAX, and it needs a GPU. Changing how it works is difficult.
- PyMC-Marketing is lighter and easier to extend. It runs on a laptop. Because it builds on core PyMC, your team can write custom layers and functions on top of it. Adjusting and expanding it is simpler than with Meridian.
- Meridian looks back, not forward. With no forecasting function, you learn how past spend performed, not how future spend will.
- Customizing can cost more than buying. Modifying either library is often harder than buying a solution from a vendor. Count the people, compute, and months before you call open source “free.”
6. What About Robyn?
Robyn is Meta’s open-source MMM, and it is the third tool you will see in most comparisons. It is built mainly in R and uses ridge regression with automated hyperparameter search. It produces a set of candidate models for you to choose from. It is not a Bayesian framework, so it does not give full uncertainty ranges the way Meridian and PyMC-Marketing do.
Robyn can be a good starting point for teams that already work in R and want a quick first model. Like Meridian, it comes from a major ad platform, so the neutrality question applies. For teams that want Bayesian uncertainty, custom structures, or independence, Meridian and PyMC-Marketing are the stronger options.
7. Which One Should You Choose?
According to research by Harvard Business Review Analytic Services (sponsored content), only 28% of organizations are effective at using MMM results to make business decisions. Both tools try to close that “actionability gap,” but for different teams.
Choose Google Meridian if:
- You want a guided, end-to-end workflow. Your team prefers proven defaults to building a framework from scratch.
- You invest heavily in upper-funnel video. If YouTube, CTV, or programmatic video is a large share of spend, Meridian’s reach-and-frequency modeling gives a clearer picture than spend-only models.
- You already run on Google Cloud and Looker. Scenario Planner and the wider Google stack mean less technical overhead.
- You have GPU access and data science support. You will need both.
Choose PyMC-Marketing if:
- Platform independence is non-negotiable. Your board or agency clients want a modeling engine detached from any ad seller.
- Your business is complex. You have unusual funnels, lags, or multiple products that need a custom model.
- You want forecasts. You need to plan future spend, not only review past spend.
- You want to link spend to customer value. It is one of the few open-source toolkits that combines MMM with CLV, customer choice, and new-product forecasting. This helps subscription and repeat-purchase businesses.
- You want a lighter setup. It runs on a laptop and is easier to extend.
Beyond Open-Source DIY: How ELIYA Bridges the Gap
Even with Meridian or PyMC-Marketing, teams still have to build data pipelines, pick defensible priors, validate against lift tests, and turn results into decisions that finance and leadership trust. That takes time and specialist skills.
ELIYA offers an alternative to building an in-house data science team or settling for rigid, black-box software:
- Custom Bayesian models: We tailor models to your business, whether e-commerce, retail, subscription, multi-country, or CPG, and calibrate them against real incrementality tests.
- Expert validation: Our PhD-level marketing scientists test every model before it reaches your dashboard, so the numbers hold up in a CFO review.
- Conversational budget planning in Analytics Studio: Ask questions in plain language, find diminishing returns, test what-if budget scenarios in seconds, and share reports on demand.
If you are weighing the cost of building versus buying, estimate what reallocating wasted spend could be worth with ELIYA’s MMM ROI calculator. Ready to talk? Book a meeting.
FAQs
Are Google Meridian and PyMC-Marketing free to use?
Yes. Both are open source, so there are no license fees. You still pay for cloud compute and skilled data scientists. Meridian also needs GPU resources.
Does Meridian only work with Google data?
No. Meridian has special support for Google channels and Google Query Volume, but you can model other channels with your own spend and impression data.
How does Robyn compare to Meridian and PyMC-Marketing?
Robyn is Meta’s open-source MMM, built mainly in R. It uses ridge regression and is not Bayesian. Meridian and PyMC-Marketing are Bayesian and give uncertainty ranges. See the Robyn section above for more.
How much historical data do we need?
As a rule of thumb, plan for at least two years of weekly data covering spend, impressions, and revenue. This helps separate seasonality from true advertising impact.
Can non-technical marketers use either tool without code?
Not out of the box. Both libraries require Python to set up, run, and diagnose. Google offers Meridian Scenario Planner, a Looker Studio dashboard, for budget scenarios. Platforms like ELIYA’s Analytics Studio require no programming.
If we choose one framework today, are we locked in?
No. Both rely on the same core inputs: weekly spend, impressions or reach, sales or conversions, promotion calendars, and lift test results. Your data preparation carries over if you switch later.



















