It’s difficult to answer that, it depends how it fits in to your overall ride and goal for the ride. Are you trying to get a PB up it, or climb steady as you have several climbs to do?
This article by @Coach.Neal.H is excellent on pacing, I’ve used it all season to pace my races. Even if you’re not racing it may give you a guide on how to pace a ride, but for a typical social ride I’d aim for GAP to be in zone 2-3 but with a bit more variation in power. How much would depend on various factors including the length of the climb.