Guptill hit 10 fours and three sixes in his innings, sharing an opening stand of 62 with captain Kane Williamson, after an unchanged New Zealand won the toss on a green-tinged surface to post 180-5.
Sharjeel Khan (47) gave his team a brisk start in their chase with New Zealand either bowling too short or too full on his pads as Pakistan raced to 61-0 in five overs.