See NEC section 240.21(B)
240.21(B)(2) So long as it less than 35' to the house panel you can use 300A cables from thea fused 400A disconnect next to the meter. else use 400A cables
So long as it's less than 10' to the garage panel you can use 100A cables 240.21(B)(1) from the same 400A disconnect else you'll need 134A cable assuming less than 35' 240.21(B)(2).