Wish

School: Universal
Level: Wu Jen:9, Sorcerer:9, Wizard:9
Components: V, S, XP
Casting Time: 1 standard action
Range: See text
Target/Area/Effect: See text
Duration: See text
Saving Throw: None or see text
Spell Resistance: Yes (see text)

The mightiest utility/reality-altering spell available: duplicates any wizard/sorcerer spell of 8th level or lower (or any other spell of 7th level or lower), grants inherent bonuses/undoing of effects, or alters reality within bounds at a cost of 5,000 XP (for greater/reality wishes).

Material Component / Focus: XP cost (5,000 XP for reality alterations or greater effects; none for standard spell duplication).
Source: Player’s Handbook