The present invention provides mTOR inhibitors of the formula wherein the variables are as defined herein. Also provided are pharmaceutical compositions, kits and articles of manufacture comprising such compounds; methods of making the compounds and intermediates thereof; and methods of using the compounds.