Short summary of the French pension system is that everybody is contributing a percentage of their earning to the state. (There is no private pension fund, it's only a single giant national pool). If you're part of a few select entities (like the national railway) you simply get more benefits from the state, but you do not pay more.
The special pensions are typically in deep deficit between what their workers contribute and what they benefit back. They're only covered financially so far (by the tax payer) because pensions are ultimately a single giant pool in the national budget.
Train worker do pays "much more" every month for their special pension...
But currently this is not enough and the system is heavily subsidized... But the biggest part of this disequilibrium is that there use to be a lot of rail workers (so a lot are retiree now), and now not so much. If they had no special treatment but a separate pension system, most of the problem would be there too...
I have family working in national research centers and they contribute less than in the private sector (about 3%). Due to some historical agreement that's waving some mandatory contributions for all personnel of that institution.
For rail worker: https://www.la-retraite-en-clair.fr/parcours-professionnel-r...
For "normal" workers: https://www.la-retraite-en-clair.fr/parcours-professionnel-r...
I can't estimate accurately what's the final rates because it's insanely complicated, but from what I can gather they are not paying "much" more at all (maybe 1-5% all things considered and mainly because it got increased recently).
Interestingly, there is a subtle 23% line item that is supposed to cover the extra perks. It's specifically paid by the company besides the gross salary, so no it doesn't affect your salary or your disposable income.
It's as close as it gets to magic money in French accounting and that's where it gets interesting. The SNCF itself is a public organization that is in deficit every year (in part due to this; it's all circular), so it doesn't have the funds to pay this, and it eventually has to be covered by the state (the tax payers).
Note that SNCF is not in deficit every year, but generally post some profit.
Though they have a unhealthy debt burden, mainly due to enormous investment needed to create the railway network. As it is seen a public infrastructure by some their is a debate on how much of it should be supported by the state (just like the state support the road system and the airtravel)
2018 results say 33B in revenues, 141m in profit. I stand corrected, it's not losing money every year lately, it's about even.
But if the train drivers don’t contribute more than some other group but still get another ten years of retirement compared to other groups - then I’d be outraged if I was part of the other groups which effectively subsidize the luxury of a very early retirement.
That said, it’s always tricky to change old systems even when they are bad. There may be people who chose between a much better paying job and driving trains because they knew about the pension benefit etc. These types of systems may need to be phased out (e.g raise the retirement age of train drivers one year every two years).