The Quartus® Prime release notes list the supported versions of ModelSim® and Questa® Sim.
Please check the EDA Interface Information section of the release notes for the Quartus® Prime version you are using.
Latest Release Notes
Pro Edition
https://docs.altera.com/r/docs/683706/25.3.1/quartus-prime-pro-edition-version-25.3.1-software-and-device-support-release-notes/quartus-prime-pro-edition-version-25.3.1-software-and-device-support-release-notes
--------------------
Category: Simulation
Tools: ModelSim® / Questa® Sim
Devices: -