I mean.... this seems to assume a social contract where the DM is the one doing all the invites and hosting the
Explain to me what the sorcerer sacrifices for his cool superpowers? What does the monk sacrifice? The bard or the barbarian? Why does the ranger get a free pass, but the paladin doesn't?
Depends on if you define adhering to a class-defined role/playing your role/roleplaying as a "sacrifice" - but I would say RP bounds are more accurate. I will try my darndest. Short of the player actively pursuing that via game-specific mythos, regardless of class.
Sorcerer = very little constraints or sacrifice, because power without obligation is common to the class.
Wiz = Study. Book, component reliance. The burden (cognitive loading) of being the keeper of lore, equipment source, and role-playing a high intel character.
Monk = Little constraints. Sacrifices mostly mechanical, aesthetic with less shiny stuff. Can be difficult role to define given that typical story tropes are self discovery in balance with the outside world.
Fighter = Little constraints. Sweat, blood.
Ranger = Moderate. Stronger role in nature, survival, exhaustion-heavy campaign. Roleplay impact AND abilities can be more environment/terrain related.
Druid = Moderate, like the ranger, but more versatile.
Cleric = Mod-high. RP driven constraints of the stories' available

️ institutions. Holy symbol, should possess some knowledge religion.
Barbarian = Low. RP driven constraints usually culture based.
Paladin = High. Vows, now easy to uphold though. Class description has built in info regarding the broken vow paladin
Rogue = Med. Mercurial by nature keeps them away from constraints. BUT more setting dependent. Suffers if the DM provides setting devoid of caper, heist, rooftop egress action.
Warlock = High. RP constraint of a personalized pact with a powerhouse entity.
In most cases of class with high rankings -->IMO. It involves some external power or code, meaning more DM involvement framing the character, meaning much more likely DM involvement in making your class aspects, dare I say matter, in defining your role in the party. So again IMO if you do not like the idea of give and take of how a DM has their external force affect your character within the overarching story, then it is probably best to go with a class that has the least possibility of this... or just know the patron MAY be important to the story at large whether your player intended that or not.