Studies show getting 8 hours of sleep leads to no cognitive decline, 6 hours leads to a gradual decline but the subject doesn't notice it and 4 hours is an almost immediate decline and is instantly noticed by the subject.
Please aim for at least 6 hours of sleep, but 8 if you can manage it.