# Stan

> Probabilistic programming language for Bayesian statistical modelling

Source: https://talira.ai/catalog/stan-rerqryze
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Programming language
- Categories: [developer tools / programming languages](https://talira.ai/categories/developer-tools/programming-languages), [libraries / math / statistics](https://talira.ai/categories/libraries/math/statistics)
- Platforms: linux, macos, windows[^1]
- Licence: BSD-3-Clause[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Runs as: Transpiled[^1][^4]
- Latest release: 2.40.0 (16 Sep 2026)[^5]
- Reference implementation: stanc3[^4]
- Backed by: [Stan Development Team](https://talira.ai/orgs/stan-dev.md)

Stan is a probabilistic programming language and C++ toolkit for Bayesian statistical modelling, from simple regressions to multilevel and time-series models. You write a model in the Stan language; the stanc3 compiler translates it to C++, which is compiled into a program that runs full Bayesian inference with the No-U-Turn sampler (a variant of Hamiltonian Monte Carlo), approximate inference with ADVI, or penalised maximum likelihood with L-BFGS, all built on the Stan Math automatic differentiation library. Interfaces include CmdStan for the command line, CmdStanPy and PyStan for Python, CmdStanR and [RStan](https://talira.ai/catalog/rstan-0xp4m55p.md) for R, Julia, MATLAB, Mathematica and Stata.

## Links

- Website: https://mc-stan.org/
- GitHub: https://github.com/stan-dev/stan
- Docs: https://mc-stan.org/docs

## Libraries for Stan

Talira doesn't list any yet.

## Problems it solves

- fit a Bayesian hierarchical model
- run MCMC sampling on a custom statistical model
- Bayesian inference from Python or R with a probabilistic programming language

## Features

- 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

## Limitations

- Needs a C++17 compiler and GNU Make to compile models.[^1]

## Trust

Overall: 0.66 out of 1.
Signals: maintenance 1.00, adoption 0.69, momentum 0.38, community 0.86, backing 0.30, extensibility 0.00.

- last commit 10 days ago
- 128 commits in the last 90 days
- latest release v2.40.0 2 months ago
- 2.8k GitHub stars
- 138 contributors
- accepts sponsorship (Github, Custom)
- backed by Stan Development Team

## Related

- Works with [RStan](https://talira.ai/catalog/rstan-0xp4m55p.md)

## Sources

[^1]: https://mc-stan.org/install/ (checked 29 Nov 2026)
[^2]: https://github.com/stan-dev/stan/blob/develop/LICENSE.md (checked 29 Nov 2026)
[^3]: https://mc-stan.org/ (checked 29 Nov 2026)
[^4]: https://github.com/stan-dev/stanc3/blob/master/README.md (checked 29 Nov 2026)
[^5]: https://github.com/stan-dev/stan/releases (checked 29 Nov 2026)
