IMO, the perfect 2 Glock battery would be 17 and 26. You can do everything with those two. Don’t get me wrong, I love the 34. No experience with any of the gen 5s, only 2,3 &4.
One of the major benefits of the Glock is their various sizes that all work the same. No other pistol platform has that much range in size.