PEEK will survive these conditions long term- it has an upper service temperature limit in seats and seals somewhere nearer to 600F (315 C). It does however result in a much larger stem torque than does reinforced Teflon, requiring larger actuators.
Carbon-filled PTFE will probably perform acceptably long term, at 400 F and low pressure. Exceed 450 F though and the carbon-filled Teflon is likely to creep away on you.
There are some valve manufacturers who have been creeping up the well-established upper temperature limit of PTFE from 450 F (232 C) where it has been so for the entire previous generation, to 500 f (260 C), by claiming that their reinforcement/filler material makes that possible- metal powder, graphite, carbon fibre etc. Aside from vendor datasheets making this claim, I've seen no evidence from testing or service history that you can extend that limit to 500 F continuous duty in valve seats and seals with any of these fillers and still expect satisfactory long-term performance. I've asked for that evidence here and received crickets in response, so if anybody has it they've been silent about it.
Where you may be able to get away with this is in services where the service temperature is no more than 450 F but you need a "design" temperature of 500 F to handle brief upsets- then, perhaps, you'd be OK.