If your AC is older than 7–8 years and electricity bills are high, upgrading to inverter AC is recommended.
You can save approximately 20–35% yearly electricity compared to old 2 or 3 star AC.
If repair cost is more than 40% of new AC price, replacement is usually better.
Yes, old compressors lose efficiency and consume more electricity over time.