A new three-dimensional heteronuclear metal–organic framework has been synthesized using the 1,2,4,5-benzenetetracarboxylate ligand as a linker and Pr(III)–Cu(II) dinuclear units as nodes. The resulting structure shows an unexpected dynamic behaviour, where the volume of the crystal structure is shrunk by 11.5% in a dryness atmosphere.