In this rule

Historical Rules · 3 February 2023

Rule 702.87a

Official source text from the 3 February 2023 Rules release

Level up is an activated ability. “Level up [cost]” means “[Cost]: Put a level counter on this permanent. Activate only as a sorcery.”

Find this number in the current Rules