Get a 16 gauge straight finish nailer for the bigger moldings and an 18 gauge Brad nailer for the small
If they are really small get 23 gauge pin nailer too
The best I’ve ever used is the Dewalt- As far as accuracy. They have a different safety design that allows you to be insanely accurate...