X-ray diffraction study of K4Ti8F36·8HF and Rb4Ti8F36·6HF reveals a novel type of octameric cubic [M8F36](4-) anion built from eight M(IV)F6 octahedra.