They have president which represents all the Federation worlds and not a prime minister.
But Earth's own government appears to be mixed. United Earth is a parliamentary republic - a President as head of state, and a Prime Minister as head of government. This is wholly separate from Federation governmental structure, which has a President as both roles. (Delegates from Federation worlds, Earth included, are Councillors.)