Graduate Visa beneficiaries will have the chance to extend their stay in the UK for an additional 2 years, and for Doctoral students, this extension period can be extended to 3 years.
If you come from a Commonwealth country and have one grandparent born in the UK, you might meet the criteria for a UK Ancestry Visa, which is valid for five years.