I'm convinced, and others have described, a 12th level party could easily take out Demogorgon.
How?
I mean, even assuming the totally
impossible odds of Demogorgon just walking around totally alone, and not surrounded by Demons, cultists, sycophants, cambions and so forth (and that would be ridiculous in the extreme), AND assuming the PCs (when they stumble on him just lazily wandering about on his own) are somehow fully rested and at full strength, how exactly?
If the PCs have magic items, lets assume DG has them as well. Likely at least one artifact. For convenience sake lets go with a nose ring of Spell storing (Shield x 2, Counterspell), Bracers of Defence, and a Wand of Fireballs.
Pretty bland for a near deity, but we'll take it.
Underdark encounter, and presume (for some reason) DG is unaware of the PCs intent (despite his near divine nature) and has had no time to plan (surrounding himself with minions, which includes several Balors, and the population of an entire layer of the Abyss, plus mortal followers from multiple Prime material planes, using his Major Image and/or Project Image spells to distract and mislead the PCs etc).
Lets also assume for some reason, DG hasnt been able to set the encounter in an area favourable to him (somewhere that blocks teleportation due to the
faezzaeres of the Underdark, or has magical darkness letting him take advantage of his Truesight etc).
He's just some chump standing there in a large underground room, 180' across, him in the middle, which the PCs also happen to be in as well, in formation, and at the edge thereof.
His passive perception is 29 (Truesight) so we can rule out surprise.
How do 5 fully rested 12th level PCs (with default magic items for this level) defeat him?