Abstract Purity requirements for gas in daily life and industrial production have been increasing. Coordination polymer glass membranes can solve the problem of brittle and fragile inorganic membranes and retain some porosity. We obtained the novel CP material, to obtain self-supporting glass membranes by means of sheeting-melting-cooling, the selectivity of the a g Cd-P-dmbIm membrane in H 2 /CO 2 , H 2 /N 2 and H 2 /CH 4 are 68.8, 33.8 and 49.5 respectively. Its hydrogen permeance is 235 GPU, and its permeability is 73621 barrer. The results show that the diffusion coefficient of H 2 is much greater than that of CO 2 . Relevant mechanism proved that the gas molecular size sieving properties of coordination polymers is the key factor to achieve efficient gas permeability and selectivity. a g M-P-dmbIm is hydrogen purification membrane. Coordination polymer glass membranes have great potential in gas separation research.