Right now, you can stack up to 36 months of Xbox Game Pass Ultimate at a time, or 12 three-month codes. You can stack these codes even if you're on recurring billing, and subscribers that have stacked multiple months of a lower tier of Xbox Game Pass will see those months automatically converted to Xbox Game Pass Ultimate when you make the change (at a 3:2 ratio, usually).