I don't have 3 phase 400A, but I do have 2 phase 400A with both a 400A disconnect as well as a 400A transfer switch.
Here's how I wired mine:
View attachment 886030
500 MCM Al coming up into the meter base on far left. From there's its all 300 MCM Cu, except ground which is 1/0 Al.
Here it is with all the covers in place:
View attachment 886031
Here's a very simplified diagram of the layout:
View attachment 886032
House has 2 200A sub-panels and the shop has a single 200A sub-panel as well as a 225A solar sub-panel (I have 60 kW worth of solar arrays).
I actually have 2 generators, a MEP 803A and a Kubota 20 kW. I can switch between them with a manual 100A transfer switch.
The only place in the whole system where Neutral and GND are bonded is in the 400A disconnect switch:
View attachment 886033
Did all the work myself and had the county come out and inspect. Dual ground rods and the shop and the house. 200' run between the shop and the house, using 3x 500 MCM Al with 1/0 GND.
POCO made me put in 3" conduit for the run from the pole to the meter base. They didn't require that when I did this 20 years ago, but this year they did.
View attachment 886038
Got a 50 KVA transformer on the pole going up to 14.4kV. Main reason for the 50 KVA transformer is not so much what I consume, but being able to handle me pushing
60 kW into the grid during the summer months.