Best lowest cost cloud that lets users upload/run their own models?

The model would be used to take a set of notes and transform them into a logically coherent book.