Inherited from Latin cōnstāre. Compare Occitan costar, French coûter, Spanish costar. Doublet of constar, a borrowing from Latin.
Practice speaking and memorizing "costar" and many other words and sentences in Catalan.