A new flash unit would be inappropriate for a 1970's KM, partly because many are designed around TTL exposure modes and the KM is not TTL capable. If you don't know what TTL means, don't worry about it - the KM just does not do it. Plus, they could cost several times the value of your camera (if they are not rubbish). I would therefore look at Ebay etc for used ones in good condition.
The predecessor of TTL was the mode known as AUTO, absent on some modern units, but which will be ideal for your KM. Older units also had a manual mode(s) which involves you doing the Flash Formula calculation youself. Don't get a flash which
only has manual modes, that would be crazy.
Unless you want your photos to look like police photos of crime scenes, and your subjects all to have red-eye (actually white-eye in B&W), I would advise you to use bounce flash as much as possible indoors, and that needs a flash unit that can tilt
and swivel (latter for portrait format). If you are not familiar with bounce flash, don't worry, you will soon learn about it and its superiority. That rules out many of the simple flash units like the Sunpak GX13 (and series) Pentax AF160, 200 and even the Vivitar 283 which many rave about (it can't swivel).
Get a flash with a low trigger voltage. Older ones can have high voltage (>20V and anything up to 300V
) and newer/better ones have low voltage (<10V). Actially, the KM being an old mechanical camera,
can tolerate a high voltage, but if ever you get a newer electronic camera, or if someone happens to fit it on one in ignorance, it would burn out the camera's circuits. Check voltage here
Photo Strobe Trigger Voltages . Low voltage units are just as cheap and plentiful as high voltage ones so it is not worth the risk of high voltage. This rules out (just for example) the Sunpak GX series and the Vivitar 283 (which can't be trusted).
Bounce flash needs a bit more power than direct, so look for a Guide Number (GN) of at least 28 (meters at ISO 100). Not sure what part of the world you are from but if that is the USA that GN would be 90 (feet at ISO 100). Sellers on Ebay are not very good at stating GNs so you might need some research. It is often in the name, like the Pentax AF280T is 28. Again, the price of more powerful units on Ebay is generally no more than low power units, partly because most sellers don't seem to have a clue what the GN is anyway; to them it is just a flash unit.
Having said all that, the Pentax AF280T comes out well, though anything with a camera maker's name on it tends to be over-priced. There are some reviews on Pentax Forum. Sunpak, Metz and Braun are good independent brands, and the Sunpak 383 and 422D get good reviews, though I don't have one, and there are many other independent branded units in this class, possibly all made in the same factory. They go on Ebay for £10-£20, it is a buyer's ,market right now, and at that price you can even afford a mistake (or two).