You asked
Which pentax k mount camera should I buy to pair with a 21mm wide prime for landscapes?
For a Pentax K body, the guide's pick is the Pentax K-50. It's the only Pentax K camera in the catalogue. It's an entry-level, weather-sealed APS-C DSLR with 16.3 megapixels and in-body stabilisation, and it's a sensible, inexpensive way into the Pentax K mount. Used, it's listed at 264–274 € on MPB, checked on 27 October 2026. Prices change, so check before buying.
Two Pentax 21mm primes fit the K mount. The 21mm f/3.2 AL Limited is made for APS-C sensors, so it matches the K-50 directly. The 21mm f/2.4 ED Limited DC WR is made for full frame, and on the K-50 it frames like about 32mm on full frame, because of the K-50's 1.5 crop factor. That is a fairly normal view, not a wide one.
So the honest caveat for landscapes is that a 21mm on this body is not especially wide. The f/3.2 lens suits the K-50 best, and it's the lens to pair with it. Stopping down to f/8 or so will keep a landscape sharp, and the K-50's in-body stabilisation helps with handheld shots. The guide can't name a wider Pentax lens for this body, since none is in the catalogue. If you want a wider view on APS-C, look at the lens options on the lenses page.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.