It depends, when you buy the tickets 3 month in advance, it can be really competitive. On short-notice trips, it's often too expensive indeed.
For the train I take to go back home, the price varies between 35€ and 220€. This is excessive! And not much better than sold-out seats..