I've gotta sleep.

Literal

Sleep must-do-[casual-なくちゃ].

なくちゃ is a casual contraction of なくてはいけない — the 'must' pattern stripped down. Extremely common in spoken Japanese. Muttered to oneself when sleepy.