Meta Robyn is a free, open-source marketing mix modeling (MMM) package from Meta Marketing Science. It is written in R and estimates channel contribution, diminishing returns and budget allocation from aggregated historical data.
What it is and who it suits
The project README describes Robyn as “an experimental, semi-automated and open-sourced Marketing Mix Modeling (MMM) package.” It is MIT licensed. The main version is the Robyn R package on CRAN, maintained by Bernardo Lares, with Gufeng Zhou, Igor Skokan, Leonel Sentana and Meta Platforms listed as authors. Meta’s stated goal is to make MMM affordable for advertisers that are not “big players.”
The README says Robyn is “built for granular datasets with many independent variables.” It calls it “especially suitable for digital and direct response advertisers with rich data sources.” It suits analytics teams that work in R, want to see and change every modeling step, and can live without a support contract. It does not suit planners who want a managed platform, or teams that need guaranteed maintenance. See the status section below.
How it works
Robyn is not a Bayesian model. It combines several machine learning techniques:
- Ridge regression to handle correlated media variables and reduce overfitting.
- Nevergrad, Meta’s evolutionary optimization library, to search adstock and saturation hyperparameters automatically.
- Prophet to decompose trend, seasonality and holidays.
- Adstock options of geometric or Weibull decay. The docs recommend Weibull PDF for products with longer conversion windows.
- Hill saturation curves for diminishing returns.
Instead of one answer, Robyn returns a set of Pareto-optimal candidate models. They balance prediction error (NRMSE) against “business error” (DECOMP.RSSD, the gap between each channel’s share of spend and its share of effect). When experiment data is supplied, they also balance calibration error (MAPE.LIFT). Similar models are then grouped with k-means clustering. The analyst picks the final model. This reduces manual tuning but does not remove judgment.
For each candidate, Robyn exports a one-page report with:
- a response decomposition
- actual versus predicted fit
- spend share versus effect share
- bootstrapped confidence intervals for ROAS or CPA
- response curves
The budget allocator uses a constrained non-linear solver for two scenarios: maximum response for a set budget, or hitting a target ROAS or CPA. robyn_refresh() updates a chosen model with new data, though the docs note this feature “is not yet tested thoroughly.”
What you need to run it
Data. Robyn’s analyst guide recommends weekly data as best practice and at least two years of weekly history. For monthly-only data it suggests four to five years. Its rule of thumb is about 10 observations for each independent variable. It recommends collecting:
- paid media as exposure metrics where possible (impressions, clicks or GRPs rather than spend)
- organic activity, such as newsletters and social posts
- context variables, such as price, promotions, competitor activity and macro factors
It advises DMA or state-level data where available. Robyn’s features documentation does not describe a geo-hierarchical model like Meridian’s. Calibration inputs are point estimates (start date, end date and incremental response) from lift tests or geo experiments.
Skills. You need working R. You also need Python, because Robyn calls the Python library Nevergrad, and the README points to a separate install guide for Python-related errors. On top of that, you need enough MMM knowledge to set hyperparameter ranges and choose between candidate models.
Compute. Robyn runs on a normal machine and uses multiple CPU cores. By default it uses all available cores minus one. The demo script recommends 2,000 iterations and 5 trials for the sample dataset, and says calibration or wider hyperparameter ranges need more iterations. There is no GPU requirement in the docs.
Python option. A Python version, robynpy, exists, but the README says it is “a LLM-translated Beta version and might encounter bugs.” It was rewritten from R version 3.11.1, and it still requires R and the glmnet R package to be installed. The latest robynpy on PyPI is 0.3.6, from April 3, 2025.
Support. There is no vendor support. Help comes from GitHub issues, a public Facebook group and a Meta Blueprint course listed in the README.
Cost in practice
The licence is free. The real costs are:
- building and cleaning two or more years of weekly data
- analyst time to configure runs, review the Pareto candidates, choose a model and explain it to stakeholders
- repeating that work at each refresh
Without maintainer support, you also carry the risk of fixing dependency breakages yourself. For example, in a March 2026 GitHub issue thread about failed result exports, one user reported getting Robyn running again only by rolling back to earlier versions of RStudio and its packages.
Maintenance status (as of November 2026)
Robyn’s release activity slowed sharply after mid-2025:
- Latest GitHub release: v3.12.0, December 19, 2024. It added exposure fitting (prioritizing impressions or GRPs over spend), a curve calibrator, and a prototype reach and frequency allocator. The docs say the allocator is “not yet available.”
- Latest CRAN release: 3.12.1, published July 2, 2025.
- Last commit to the main branch: June 27, 2025, a fix to the refresh window.
- 2026 activity: New issues and community pull requests were opened in 2026, but none had been merged. The 2026 comments we reviewed came from users and bots, not maintainers.
The repository is not archived, and the CRAN package is still available. Treat Robyn as stable but not actively developed, and check the GitHub activity yourself before committing a measurement program to it.
How it compares
Google’s open-source Meridian is the main free alternative. It is a Bayesian Python library with geo-level and reach and frequency modeling, and it had frequent releases through 2026. Robyn is easier to run on a laptop and makes no GPU recommendation. Meridian gives full posterior uncertainty and is under active development.
Commercial platforms such as Recast and Optimine bundle the model with software, onboarding and support for a fee. Measured focuses on incrementality experiments. Experiment results like Measured’s can be fed into Robyn as calibration inputs.
FAQ
Is Meta Robyn free? Yes. It is MIT licensed. Costs come from data preparation, analyst time and any outside help.
Is Robyn Bayesian? No. It uses ridge regression with evolutionary hyperparameter optimization and reports bootstrapped confidence intervals.
Can I use Robyn in Python?
There is a beta Python port, robynpy, but Meta warns it may contain translation bugs, and it still requires R to be installed.
Sources
- Meta, Robyn website: https://facebookexperimental.github.io/Robyn/ (accessed Nov 2026)
- Meta, Robyn analyst’s guide to MMM: https://facebookexperimental.github.io/Robyn/docs/analysts-guide-to-MMM/ (accessed Nov 2026)
- Meta, Robyn features: https://facebookexperimental.github.io/Robyn/docs/features/ (accessed Nov 2026)
- GitHub, facebookexperimental/Robyn repository and README: https://github.com/facebookexperimental/Robyn (accessed Nov 2026)
- GitHub, Robyn releases: https://github.com/facebookexperimental/Robyn/releases (accessed Nov 2026)
- GitHub, Robyn main branch commit history: https://github.com/facebookexperimental/Robyn/commits/main (accessed Nov 2026)
- GitHub, Robyn issues: https://github.com/facebookexperimental/Robyn/issues (accessed Nov 2026)
- Robyn demo script: https://github.com/facebookexperimental/Robyn/blob/main/demo/demo.R (accessed Nov 2026)
- CRAN, Robyn package page: https://cran.r-project.org/package=Robyn (accessed Nov 2026)
- PyPI, robynpy: https://pypi.org/project/robynpy/ (accessed Nov 2026)
- Runge, Skokan, Zhou and Pauwels, “Packaging Up Media Mix Modeling: An Introduction to Robyn’s Open-Source Approach,” arXiv (v3, January 24, 2025): https://arxiv.org/abs/2403.14674v3 (accessed Nov 2026)