There are thousands of spaces on the road within a mile or so at night on the road. Many of the permit areas are shopping hours only. Some of the big muli-storey are however closed at night.
Which are then used by residents overnight anyway.
That time of night there would be several car parks available - Cardiff Central, St Davids, John Lewis, Capitol, Cathays/City Hall, Sophia Gardens, as well as a number in Cardiff Bay. It's all manageable.
There are thousands of hotel rooms in Cardiff, but they do seem to take dynamic pricing to higher levels when big events are on. But of course pricing works both ways, have had a Saturday night in Llanelli (when attending a family event) where price was just £19.99 at a Travelodge
Not enough for big events like this. The usual events like 6 nations, or even some concerts that have several dates at different locations will attract a more local fan base, many of which will get last trains home. This particular event will attract people from all over the country and the world, who will require hotels anyway, especially given the late timing of the match.
As for train services, there's a few TFW ECS trains between 0400-0500 that could be turned into a passenger services.
For example:
5M04 Canton - Swansea (15x 4 car)
5W13 Canton - Swansea (Mark 4)
5N05 Canton - Bridgend
5N01 Canton - Ebbw Vale (Divert to Newport)
As well as various Valleys trains.