The longest train in the world is transporting iron in northern Maurtiania, one of the least visited countries in the world. Its length can be up to 2,5 kilometers.
It doesn't cost anything to take the train. You can either do it in the coal carts or in the single passenger cart. Keep in mind, that there can be 11 more people in the compartment.