A roasting pan with a rack is the best pan for cooking prime rib. This allows air to circulate all around the prime rib roast, while the pan beneath collects the drippings.