You asked

Pentax k r vs pentax k 5?

Pentax K-5 or K-r: the K-5 is the better pick if you want more resolution. It has a 16.3-megapixel APS-C sensor against the K-r's 12.4 megapixels, and both bodies have in-body stabilisation. That extra resolution helps when you crop or print large. The catalogue doesn't give prices for either body here, so check the Pentax K-5 and Pentax K-r pages for current figures.

The two pages list the same lens line-up, so lens choice won't separate them. Either body takes old manual K lenses directly.

For dim light and moving subjects, the lens matters more than the body's stabilisation, which steadies the camera but not the subject. The aperture guide explains why a wide opening gives faster shutter speeds indoors. Good options on either body:

Pair whichever you choose with the body you prefer. If you mainly shoot moving subjects, a fast 50mm-class lens will do more for you than either body's extra features. The focal length guide covers how the 1.5× crop changes framing on both cameras.

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}.