If I were to do this, i would say that they would have to perform a ten minute per spell level ritual and it would have to be powered b sacrificing an appropriate level prepared spell. Alternately for a caster that had no prepared spells I would consider 1d4 temp Con damage reasonable, the power for the spell has to come from somewhere (for those of a darker bend you could expand this idea to the ritual sacrifice of animals, or sentient beings for higher level spells).