The selection of metal centers can endow donor-metal-accepter (D-M-A) type MOFs with progressive framework dimensions. 3D Cd-based MOFs with intramolecular charge transfer caused by D-M-A exhibit a satisfactory photothermal conversion efficiency of 35.7%, with the temperature rapidly rising from 25 °C to 201 °C in 7 s under 808 nm laser irradiation.