You cast your consciousness across all of existence and form a contract with a willing entity to bring it into reality in front of you. This entity remains in existence until the caster or summoned entity choose to dispel, or if the caster or summoned entity drop to 0 hit points.
For each consecutive day that the summoning is maintained, the caster suffers one point of exhaustion, as well as a spell slot of the highest level available being consumed by the summoning. When the summoning is dispelled, all consumed spell slots are returned after the next long rest.
If the summoned entity is of a higher level than the summoner, the caster suffers two points of exhaustion and the loss of two spells slots per consecutive days the summoning is maintained.
A deity may be summoned using this spell, but the summoner suffers one point of exhaustion and the loss of one spell slot per turn, and for each turn the summoning is maintained the caster must make a Constitution saving throw with a DC equal to their own spell save DC. On a success the summoning is maintained, but on a failure the summoning is lost and the caster's hit points immediately drop to 0.