It does not — Infernape never learns Flamethrower by levelling up.
The way to get it onto Infernape is TM35. You can teach that to it at any point, with no level requirement attached, which is why searching for a level number turns up nothing.
So the answer is not a level at all: find TM35 and use it whenever you like.