Gaining a level is a normal activated ability. It uses the stack and can be responded to.

Artwork
Loading artwork…
Artificer Class
Commander Legends: Battle for Baldur's Gate · #663 · EN
Nonfoil—Foil—
Card rules
(Gain the next level as a sorcery to add its ability.)
The first artifact spell you cast each turn costs 1 less to cast.
1
: Level 2
When this Class becomes level 2, reveal cards from the top of your library until you reveal an artifact card. Put that card into your hand and the rest on the bottom of your library in a random order.
5
: Level 3
At the beginning of your end step, create a token that's a copy of target artifact you control.
Rare · Illustrated by Jim Nelson
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Each Class starts with only the first of three class abilities. As the first level ability resolves, the Class becomes level 2 and gains the second class ability. As the second level ability resolves, the Class becomes level 3 and gains the third class ability.
Class is a returning enchantment type. Each Class has five abilities. The three in the major sections of its text box are class abilities. Class abilities can be static, activated, or triggered abilities. The other two are level abilities, one activated ability to advance the Class to level 2 and another to advance the Class to level 3.
You can't activate the first level ability of a Class unless that Class is level 1. Similarly, you can't activate the second level ability of a Class unless that Class is level 2.
Gaining a level won't remove abilities that a Class had at a previous level.
You can multiclass or even control multiple Class enchantments of the same class. Each Class permanent tracks its own level separately.