A combined machine learning approach and first-principles calculations are employed to efficiently explore energetically favorable ternary compounds involving Pt and an immiscible Si−Sn pair of elements. We predict two stable Pt−Si−Sn ternary compounds (Pt 2 Si 2 Sn and Pt 8 SiSn 2 ) and reproduce the experimentally synthesized Pt 5 SiSn. The crystal structures of Pt 5 SiSn and Pt 8 SiSn 2 are composed of a SiPt 8 cube and SnPt 12 cuboctahedron. Based on these structural motifs, we design a series of Pt−Si− Sn ternary compounds that contain SiPt 8 and SnPt 12 units and discover some stable and metastable compounds. Partial flat bands near the Fermi level appear in these compounds, and the positions of partial flat bands move upward with increasing the Pt content. The partial flat bands are dominated by Pt atoms. These Pt−Si−Sn ternary compounds provide a platform to study flat band-related properties. Our results open a way to design new compounds in the ternary system.