Two heterobimetallic fluoride compounds, [Cd(C4H6N2)4]3[ZrF7]2 and [Zn(C4H6N2)4]3[HfF7]2 (C4H6N2 = 3-methylpyrazole), consisting of the alternating asymmetric d0 transition metal-centered pentagonal bipyramids and polarizable d10 transition metal-centered octahedra were synthesized by hydrothermal reactions. Single crystal X-ray diffraction analysis suggests that both compounds crystallizing in the trigonal space group, P3¯ (No. 147), exhibit layered structures containing hexagonal windows with 12 membered rings. The observed hexagonal windows in the structures are attributed to the cis-directing property of anionic moieties for d0 metal cations, and strong intra- and inter-layer hydrogen bonding networks between the organic linkers and fluorides. Both compounds reveal large optical band gaps of ca. 5.2 eV attributable to the distortions in the octahedral environment of d10 metal cations, and the larger content of electron-rich fluorides in the asymmetric polyhedra of d0 metal cations. An interesting transformation reaction of [Cd(C4H6N2)4]3[ZrF7]2 to [Cd(H2O)3]2[ZrF8] under a hydrothermal condition in presence of aqueous HF is also presented.