Two new two-dimensional frameworks based on packing of square grids, Cu(Me 4 bpz) 2 (NO 3 ) 2 (1) and Zn(Me 4 bpz)(SO 4 ) (2) (Me 4 bpz=3,3',5,5'-tetramethyl-4,4'-bipyrazole), have been synthesized by mild solvothermal method. In addition to the major metal-organic linker coordination, they allow us to study how the metal-inorganic anion coordination and organic linker-inorganic anion hydrogen bonding affect the resulting structures during the framework assembly.