EVERYTHING XIAOMI
Get listed

PyMC-Marketing

PyMC-Marketing is a free, open-source Python library for Bayesian marketing analytics, especially marketing mix modeling and customer lifetime value models.

PyMC-Marketing's website

What PyMC-Marketing is

PyMC-Marketing is a free, open-source Python library for Bayesian marketing analytics, especially marketing mix modeling and customer lifetime value models. Its MMM tools support custom priors and likelihoods, adstock and saturation transformations, time-varying effects, diagnostics, and predictions beyond the observed data. Models can be calibrated with empirical experiments such as lift tests, and built-in budget optimization allocates spend across channels to maximize ROI. The library also includes customer choice, Bass diffusion, and alpha-stage predicted incrementality by experimentation models. Bayesian uncertainty estimates include posterior distributions and credible intervals for predictions. It supports predictive customer lifetime value, cohort analysis, and customer segmentation. PyMC-Marketing is licensed under Apache 2.0 and can be installed with pip; its documentation says a conda environment is not required. Current requirements are Python 3.12 or later, PyMC 6.0 or later, and ArviZ 1.2 or later. Inference options include the BlackJax, NumPyro, and Nutpie NUTS samplers, and PyMC backends allow GPU acceleration. PyMC Labs and PyMC core developers maintain the library. Learning resources include a guided path, example notebooks, and an API reference.

Good

  • Free and open source under Apache 2.0.
  • Includes MMM budget optimization across channels.
  • Supports calibration with empirical experiments such as lift tests.
  • Provides posterior distributions and credible intervals.
  • Offers guided learning, example notebooks, and API reference.

Watch out

  • Requires Python 3.12 or later.
  • Requires PyMC 6.0 or later and ArviZ 1.2 or later.
  • Predicted incrementality by experimentation is alpha-stage.

Who it suits

It suits analysts and marketing teams comfortable working with Python who need Bayesian models for marketing mix, customer value, or related analysis. The listed Python and library requirements make it a fit for users able to manage that environment.

Verdict

PyMC-Marketing provides a substantial set of Bayesian modeling tools for marketing analysis, with uncertainty estimates and budget optimization. Its current Python and dependency requirements are important to check before adopting it.

Plans and prices

From PyMC-Marketing's own pricing page, checked 8 Oct 2026.

All about pricing
PlanPriceWhat it gives you
PyMC-MarketingFreeApache 2.0 open-source Python library

The facts

Each one read from PyMC-Marketing's own pages, with the date it was checked.

What it does

Budget optimization
Built-in budget optimization allocates marketing spend across channels to maximize ROI.checked 8 Oct 2026
Experiment calibration
MMM models can be calibrated using empirical experiments, including lift tests.checked 8 Oct 2026
Inference options
The MMM API supports multiple NUTS samplers, including BlackJax, NumPyro, and Nutpie, and PyMC backends allow GPU acceleration.checked 8 Oct 2026
Installation
The library can be installed with pip using `pip install pymc-marketing`; the documentation says no conda environment is required.checked 8 Oct 2026
Learning resources
The maker provides a guided learning path, example notebooks, and an API reference.checked 8 Oct 2026
License
PyMC-Marketing is free and open source under the Apache 2.0 license.checked 8 Oct 2026
Maintainer
PyMC-Marketing is built and maintained by PyMC Labs and the core developers of PyMC.checked 8 Oct 2026
MMM features
Its MMM API supports custom priors and likelihoods, adstock and saturation transformations, time-varying effects, diagnostics, and out-of-sample predictions.checked 8 Oct 2026
Organization details
The opened PyMC Labs about page does not state a headquarters or the consultancy's founding year.checked 8 Oct 2026
Other model types
The library also includes customer lifetime value, customer choice, Bass diffusion, and alpha-stage predicted incrementality by experimentation models.checked 8 Oct 2026
Purpose
PyMC-Marketing is an open-source Python library for Bayesian marketing analytics, including marketing mix modeling and customer lifetime value models.checked 8 Oct 2026
Requirements
The current documentation requires Python 3.12 or later, PyMC 6.0 or later, and ArviZ 1.2 or later.checked 8 Oct 2026
Support
The maker offers a free 30-minute strategy session with its experts and a contact option.checked 8 Oct 2026
Uncertainty
The library provides Bayesian uncertainty quantification, including posterior distributions and credible intervals for predictions.checked 8 Oct 2026

The company

Maker background
PyMC Labs describes itself as a Bayesian AI consultancy founded by core members of the PyMC community.checked 8 Oct 2026
The full review of PyMC-Marketing

PyMC-Marketing is an open-source Python library for Bayesian marketing analysis, aimed at analysts and teams building their own modeling workflows. Its range of models and explicit uncertainty estimates make it a serious option for flexible analysis, provided your environment meets its current Python and dependency requirements.

Overview

The library covers marketing mix modeling (MMM), customer lifetime value, customer choice and Bass diffusion, as well as alpha-stage predicted incrementality models based on experimentation. Rather than reducing predictions to a single figure, it can express them as posterior distributions and credible intervals. That is useful when planning against uncertainty, but PyMC-Marketing is a library for technical users, not a ready-made marketing dashboard.

PyMC Labs and PyMC core developers maintain the project. PyMC Labs describes itself as a Bayesian AI consultancy founded by members of the PyMC community.

Key features

  • Flexible MMM: Custom priors and likelihoods, adstock and saturation transformations, time-varying effects, diagnostics and out-of-sample predictions let experienced users shape models around their analysis. That flexibility is valuable when a fixed setup will not answer the question, but it puts modeling choices and their evaluation in the user's hands.
  • Budget optimization: Built-in optimization allocates marketing spend across channels to maximize ROI, giving teams a way to connect model results with allocation decisions.
  • Experiment calibration: MMM models can be calibrated using empirical experiments, including lift tests. This can bring experimental evidence into modeling rather than treating the model in isolation.
  • Inference options: MMM supports NUTS samplers including BlackJax, NumPyro and Nutpie; PyMC backends also allow GPU acceleration. Those options give technical teams flexibility in inference, but they are most useful to people prepared to manage the associated Python environment.
  • Learning support: A guided learning path, example notebooks and API reference provide practical routes into the library. PyMC Labs also offers a free 30-minute strategy session and a contact option.

Pricing

PyMC-Marketing costs nothing under the Apache 2.0 open-source license. There is no paid tier to unlock, and the free plan does not expire; this is a strong fit for teams comfortable operating open-source Python software. There is no free trial because the library itself is free. Its price does not remove the technical cost of adopting it: the current documentation requires Python 3.12 or later, PyMC 6.0 or later and ArviZ 1.2 or later.

Installation uses pip install pymc-marketing, and the documentation says a conda environment is not required. Check compatibility with your existing stack before committing to a workflow, especially if upgrading these dependencies is difficult.

Platforms

PyMC-Marketing is for Linux and self-hosted use. It is a Python library, so it suits teams running their own analysis environment rather than readers seeking a browser-based service or device app.

Who it's for

Choose PyMC-Marketing if you have Python and PyMC expertise and need adaptable Bayesian marketing models, uncertainty quantification or spend optimization. Its predictive CLV, cohort analysis and customer segmentation support make it relevant to customer-value work as well. Look elsewhere if you need a nontechnical interface, a managed web product or a workflow that cannot accommodate its current dependency versions.

Pros and cons

  • Pro: Its broad MMM controls and several additional model types support varied marketing questions in one library.
  • Pro: Posterior distributions and credible intervals make uncertainty visible in predictions.
  • Pro: Open-source availability at no cost lowers the software cost of trying a Bayesian approach.
  • Con: Python 3.12+, PyMC 6.0+ and ArviZ 1.2+ are substantial compatibility requirements for teams on older stacks.
  • Con: The Python-based, self-hosted workflow is a poor fit for users who want a ready-to-use dashboard rather than a modeling library.
  • Con: Predicted incrementality by experimentation remains alpha-stage, so it is less mature than the core MMM capabilities.

Alternatives

Consider Google Meridian if you want a free, open-source alternative with source code and methodology papers intended to support transparency and user auditability.

Robyn is another free alternative if you are comparing open-source options across Linux, macOS, Windows, API and self-hosted platforms.

For a web-based alternative with a freemium model, Revup Marketing has a free plan limited to one plan, one user and one team; its paid tiers list larger plan and seat allowances but no prices.

Browse Marketing Performance Management Software for other options in that category, or Customer Lifetime Value Software for tools focused on customer value.

Verdict

PyMC-Marketing is a strong choice for technically equipped analysts who want open-source Bayesian models, explicit uncertainty and a direct route from MMM to budget allocation. Its breadth is the main reason to choose it; the demanding dependency baseline and self-hosted Python workflow are the main reasons to look elsewhere.

Getting started

  1. Open the PyMC-Marketing website
  2. Use a Linux environment or self-host the library
  3. Install the package with pip install pymc-marketing
  4. Ensure Python 3.12 or later, PyMC 6.0 or later, and ArviZ 1.2 or later
  5. Choose a supported NUTS sampler or PyMC backend
  6. Use the guided learning path, notebooks, or API reference

Questions

Is PyMC-Marketing free?

Yes. The PyMC-Marketing plan is free at no cost, and the library uses the Apache 2.0 open-source license.

Which platforms does it support?

The listed platforms are Linux and self-hosted use.

What can its MMM API do?

It supports custom priors and likelihoods, adstock and saturation transformations, time-varying effects, diagnostics, out-of-sample predictions, and several NUTS samplers.

Does it support customer lifetime value?

Yes. It includes customer lifetime value models and predictive CLV, along with cohort analysis and customer segmentation.

How do I install it?

Install it with pip using pip install pymc-marketing. The documentation says a conda environment is not required.

Who maintains PyMC-Marketing?

PyMC Labs and the core developers of PyMC build and maintain it.

Alternatives to PyMC-Marketing

All alternatives
  1. 1Adobe Customer Journey Analytics logo
    7.0
  2. 2

    Google Meridian

    Free planWebAPILinuxmacOS
    6.8Free plan
  3. 3

    Revup Marketing

    Free planWeb
    6.8From $39 a month
  4. 4Cassandra logo
    6.3From €2,700 a month
  5. 5
    6.3From $299 a year
  6. 6
    6.3From $1,900 a month