The Pentax camera models which have Astrotracer in-built are the K-1, K-1 Mark II, and Pentax K-3 Mark III.
For other Pentax models, this functionality can be added with the O-GPS1 GPS Unit.