This article describes Flame, an open source software for building predictive models and supporting their use in production environments. Flame is a web application, with a Python backend and a web-based graphic interface, which can be used as a desktop application or installed in a server receiving requests from multiple users. Models can be built starting from any collection of biologically annotated chemical structures, since the software supports structural normalization, molecular descriptor generation and machine learning building, using predefined workflows. The model building workflow can be customized from the graphic interface, selecting the type of normalization, molecular descriptors, and machine learning algorithm to be used from a panel of state-of-the-art methods implemented natively. Moreover, Flame implements a mechanism allowing to extend its source code adding unlimited model customization. Models generated with Flame can be easily exported facilitating collaborative model development. All models are stored in a persistent model repository supporting model versioning. Models are identified by unique model IDs and include detailed documentation formatted using widely accepted standards. The current version is the result of nearly three years of development in collaboration with users from pharmaceutical industry within the IMI eTRANSAFE project, which aims, among other objectives, to develop high quality predictive models based on shared legacy data for assessing the safety of drug candidates.