2‐Méthyl‐3‐(3‐méthyl‐1H‐pyrazol‐5‐yl)pyrido[1,2‐a]pyrimidin‐4‐one

The structure of the title compound, C13H12N4O, shows that the molecule adopts a flat conformation. There is an intermolecular hydrogen bond between the NH function of the pyrazole ring and the O atom of the pyridopyrimidinone group.