ShipKaro allows you to check the rates for a particular shipment before you send it out. Alternatively, you can add a pricing parameter so that a carrier gets selected to your needs automatically.