TRIAZINE COMPOUNDS AS PI3 KINASE AND MTOR INHIBITORS Compounds of formula I wherein: R 1 is and R 2 , R 4 , and R 6-9 are defined herein, and pharmaceutically acceptable salts and esters thereof. These compounds inhibit PI3 kinase and mTOR, and may be used to treat diseases mediated by PI3 kinase and mTOR, such as a variety of cancers. Methods for making and using the compounds of this invention are disclosed. Various compositions containing the compounds of this invention are also disclosed.