A new tetrazolate zeolite-like framework with a diamond topology, UTSA-49, was synthesized. UTSA-49 shows high selectivity for CO2/CH4 and CO2/N2 indicating a synergistic effect of the suitable pore size/shape and functional groups.