talira

Compare

PyMCStanCmdStanCmdStanPy
What it isBayesian modeling and probabilistic programming in PythonProbabilistic programming language for Bayesian statistical modellingCommand-line interface to Stan for compiling and running Bayesian modelsLightweight Python interface to CmdStan
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.710.660.570.53
Stars98542789241198
Last commit2026-11-252026-11-202026-11-212026-11-24
LicenceApache-2.0BSD-3-ClauseBSD-3-ClauseBSD-3-Clause
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyPyMCStan Development TeamStan Development TeamStan Development Team
Features
  • Bayesian models written in Python
  • NUTS sampling and ADVI variational inference
  • PyTensor backend compiling through Numba, JAX or C, with GPU support
  • Gaussian processes, ABC and SMC
  • works with ArviZ and Bambi
  • Stan modelling language
  • NUTS Hamiltonian Monte Carlo sampling
  • ADVI variational inference and L-BFGS optimisation
  • Stan Math automatic differentiation library
  • interfaces for the command line, Python, R, Julia, MATLAB, Mathematica and Stata
  • MCMC sampling with NUTS (Hamiltonian Monte Carlo)
  • optimization with BFGS, L-BFGS and Newton
  • Pathfinder and ADVI variational inference
  • Laplace sampling
  • stansummary and diagnose for MCMC output
  • stanc3 compiler from Stan to C++
  • compile Stan models and run every CmdStan inference method
  • pure Python, depends only on numpy and pandas
  • development-friendly defaults with full control for production
  • installs CmdStan for you
Limitations
    • Needs a C++17 compiler and GNU Make to compile models.