Robyn
facebookexperimental.github.io
What it is
Robyn is a free, open-source Marketing Mix Modeling package from Meta Marketing Science. It estimates media channel efficiency and effectiveness, adstock rates and saturation curves using machine-learning techniques. The package is intended for granular datasets with many independent variables, particularly those used by digital and direct-response advertisers with rich data sources. Robyn automates hyperparameter optimization with evolutionary algorithms and uses ridge regression to address multicollinearity and overfitting. Its time-series modeling accounts for trend, seasonality and holidays, and models can be calibrated against ground-truth methods such as geo-based tests, Facebook Lift and MTA. The budget allocator uses a constrained nonlinear solver to seek outcome gains through budget reallocation; model one-pagers support comparisons. Robyn does not require personally identifiable or individual-level data and does not rely on cookies or pixel data. A stable R version is available on CRAN, alongside a development version on GitHub. A Python version is documented as beta and may have translation issues. The package is MIT licensed; support options include a public user group and GitHub issues.
Spec sheet
- Product
- Robyn is an experimental, AI/ML-powered, open-source Marketing Mix Modeling package from Meta Marketing Science.Read 30 Sep 2026 · facebookexperimental.github.io
- Intended users
- The package is built for granular datasets with many independent variables and is described as especially suitable for digital and direct-response advertisers with rich data sources.Read 30 Sep 2026 · github.com
- Integrations
- Robyn uses Nevergrad for optimization, Prophet for trend and seasonality decomposition, and glmnet for ridge regression fitting.Read 30 Sep 2026 · facebookexperimental.github.io
- Privacy
- The maker describes Robyn as privacy friendly, requiring no PII or individual-level log data and not depending on cookies or pixel data.Read 30 Sep 2026 · facebookexperimental.github.io
- Support
- Users can join the public Robyn MMM Users Facebook Group, raise GitHub issues, and take Meta's official Robyn blueprint course.Read 30 Sep 2026 · github.com
- License
- The repository states that Robyn is MIT licensed.Read 30 Sep 2026 · github.com
- Adstock options
- Robyn offers geometric, Weibull CDF, and Weibull PDF adstock transformations.Read 30 Sep 2026 · facebookexperimental.github.io
- Availability
- Robyn has a stable R version on CRAN and a development version on GitHub; the maker also documents a Python version marked beta.Read 30 Sep 2026 · facebookexperimental.github.io
- Budget allocation
- Its budget allocator uses a gradient-based constrained nonlinear solver to maximize outcomes by reallocating budgets.Read 30 Sep 2026 · facebookexperimental.github.io
- Calibration
- Robyn can calibrate models against ground-truth methodologies including geo-based tests, Facebook Lift, and MTA.Read 30 Sep 2026 · facebookexperimental.github.io
- Input requirement
- Paid media variables and paid media spend vectors must have the same length and media order.Read 30 Sep 2026 · facebookexperimental.github.io
- Model calibration
- Robyn calibrates marketing mix models using causal experiments such as randomized controlled trials and geo experiments.Read 30 Sep 2026 · facebookexperimental.github.io
- Model comparisons
- Robyn generates model one-pagers to support intuitive model comparisons.Read 30 Sep 2026 · facebookexperimental.github.io
- Modeling
- Robyn uses machine-learning techniques to estimate media channel efficiency and effectiveness, adstock rates, and saturation curves.Read 30 Sep 2026 · github.com
- Optimization
- Robyn uses a multi-objective evolutionary algorithm for hyperparameter optimization.Read 30 Sep 2026 · facebookexperimental.github.io
- Privacy design
- Robyn does not require personally identifiable information or individual-level data and does not depend on cookies or pixel data.Read 30 Sep 2026 · facebookexperimental.github.io
- Product type
- Robyn is an experimental, AI/ML-powered, open-source Marketing Mix Modeling package from Meta Marketing Science.Read 30 Sep 2026 · facebookexperimental.github.io
- Python API limitation
- The beta Python API requires the Robyn R package to be installed first.Read 30 Sep 2026 · facebookexperimental.github.io
- Python availability
- The Python version is a beta rewrite of Robyn's R package and may have translation issues.Read 30 Sep 2026 · facebookexperimental.github.io
- Python limitation
- The repository says the Python version is an LLM-translated beta and may encounter bugs.Read 30 Sep 2026 · github.com
- R availability
- Robyn has a stable version on CRAN and a development version on GitHub.Read 30 Sep 2026 · facebookexperimental.github.io
- Target users
- Robyn is built for granular datasets with many independent variables and is especially suitable for digital and direct-response advertisers with rich data sources.Read 30 Sep 2026 · facebookexperimental.github.io
- Time-series features
- Robyn uses Facebook Prophet to automatically decompose trend, seasonality, and holiday patterns.Read 30 Sep 2026 · facebookexperimental.github.io
- Time-series modeling
- Robyn uses time-series decomposition for trend and seasonality modeling.Read 30 Sep 2026 · facebookexperimental.github.io
Strong points and limits
Strong points
- Free and MIT licensed.
- Estimates channel performance, adstock and saturation.
- Can calibrate models against geo-based tests, Facebook Lift and MTA.
- Budget allocator supports reallocation scenarios.
- Does not require individual-level data or cookies.
Limits
- Python version is beta and may have translation issues.
- The stable version is in R.
- Paid media variables and spend vectors must match in length and order.
- The beta Python API requires the Robyn R package installed first.
Who it suits
Robyn is aimed at digital and direct-response advertisers working with granular datasets and many independent variables. It may also suit users who need marketing mix models without individual-level data.
Robyn in depth
Read the full write-up
Robyn is an open-source marketing mix modeling package for teams that want to estimate advertising effects and plan budget shifts. It is best suited to digital and direct-response advertisers with granular data and the technical capacity to work with a modeling package. Its stable R release is the dependable starting point; the Python version remains beta.
Overview
Robyn brings media modeling, model comparison, calibration and budget allocation into a free workflow. It can help measurement teams investigate how channels perform and explore reallocating spend, but it is not a substitute for suitable data or careful input preparation. Its privacy-conscious design avoids the need for personally identifiable information, individual-level logs, cookies or pixel data.
Robyn expects granular datasets with many independent variables. Paid media variables and spend vectors must have the same length and media order, a practical constraint that makes data alignment important before modeling begins.
Key features
Robyn estimates channel efficiency and effectiveness, adstock rates and saturation curves using machine-learning techniques. Geometric, Weibull CDF and Weibull PDF transformations give analysts different ways to represent how advertising effects persist. Nevergrad evolutionary algorithms automate hyperparameter optimization, while ridge regression regularizes multicollinearity and helps guard against overfitting. These methods support complex media analysis, but do not remove the need to interpret model outputs with care.
Prophet decomposes trend, seasonality and holiday patterns in the time series. Robyn can also calibrate models against ground-truth approaches including geo-based tests, Facebook Lift and marketing mix modeling calibration with multi-touch attribution; its broader causal calibration approach includes randomized controlled trials and geo experiments. That makes it relevant to teams able to bring experimental evidence into measurement, rather than relying on modeled attribution alone.
A gradient-based constrained nonlinear solver powers the budget allocator, which reallocates budgets to maximize outcomes. Model one-pagers help users compare candidate models. Budget planning, forecasting, scenario planning and ROI reporting are supported, giving teams a path from estimation to planning without implying that the package replaces their broader decision process.
Pricing
Robyn is free, with a free plan. The open-source package is MIT licensed, making it an option for teams that want to build their own modeling workflow without a software subscription. The trade-off is that users need suitable data and the capacity to work with the package; the beta Python route adds further uncertainty.
Platforms
Robyn is available for API, Linux, macOS, Windows and self-hosted environments. The stable release is on CRAN for R, with a development version on GitHub. A Python version is documented as a beta rewrite translated with an LLM and may have bugs; its API also requires the Robyn R package to be installed first. Teams standardizing on Python should weigh that dependency and beta status against the more established R option.
Who it's for
Robyn is a strong fit for digital and direct-response advertisers with rich, granular media data, especially teams that want to compare modeled outcomes with causal experiments and use the results for budget planning. It is a weaker fit for organizations without many useful independent variables, or those looking for a turnkey workflow without technical modeling and data-preparation work.
Support is available through a public Robyn MMM Users Facebook Group and GitHub issues. Those channels suit users comfortable with community and repository-based support.
Pros and cons
Pros: Free and MIT licensed, with modeling, calibration, comparisons and budget allocation in one package; useful for rich digital and direct-response data.
Pros: Does not require individual-level data, PII, cookies or pixel data, which suits privacy-conscious measurement workflows.
Cons: The modeling workflow is aimed at granular datasets with many variables, limiting its fit for advertisers with thinner data.
Cons: Python is beta, may have translation bugs and requires the R package for its API, so it is not a straightforward Python-only choice.
Cons: Paid media variables and spend vectors must align in length and order, creating a concrete data-preparation requirement.
Alternatives
Marketing Performance Management Software is a useful category to explore when comparing broader marketing performance tools.
Google Meridian is another free, open-source option, and may suit teams prioritizing transparency and user auditability through source code and methodology papers. PyMC-Marketing is a free Apache 2.0 open-source Python library for teams seeking a Python-based modeling alternative.
Revup Marketing offers a free tier capped at one plan, one user and one team, with larger tiers for teams that need more capacity. Keen is a paid option with a free trial for readers considering a different commercial tool.
Cassandra may suit teams seeking paid MMM plans: Essentials costs €2,700 a month, has a six-month minimum commitment and includes up to three MMM models and five incrementality experiments per year. Etropo Budget Buddy is a paid alternative with monthly plans starting at $89 a month for five team members, 15 line items and three currencies, aimed at budget tracking rather than Robyn's modeling workflow.
Sellforte is a paid option focused on incrementality testing, with its listed plan tied to average monthly media spend of $300,000. Budgee offers a paid budget-management alternative, with a Starter plan at $25 a month and limits including one alert and ten transaction imports per month.
Verdict
Choose Robyn if your team has granular advertising data, wants an open-source modeling and budget-allocation workflow, and can work in R or tolerate a beta Python implementation. Its combination of media-effect modeling, experiment-based calibration and privacy-conscious inputs is the main reason to choose it. Look elsewhere if your data is not sufficiently rich, you need a more turnkey commercial tool, or Python stability is essential.
Verdict
Robyn offers a modeling and budget allocation workflow for advertisers with suitable granular data, with a stable R version and a beta Python option. Check the data requirements and Python limitations before selecting an implementation.
Where Specifiction places it
- Marketing Performance Management Software#15 of 247.3