This study dissected the complexity of the immune architecture of acute myeloid leukemia (AML) at high resolution and assessed its influence on therapeutic response. Using 387 primary bone marrow samples from three discovery cohorts of children and adults with AML, we defined immune-infiltrated and immune-depleted disease subtypes and unraveled critical differences in immune gene expression across age groups and disease stages. Importantly, interferon (IFN)-{gamma}-related mRNA profiles were predictive for both chemotherapy resistance and response of primary refractory/relapsed AML to flotetuzumab immunotherapy. Our compendium of microenvironmental gene and protein profiles sheds novel insights into the immuno-biology of AML and will inform the delivery of personalized immunotherapies to IFN-{gamma}-dominant AML subtypes.