You asked
Is the olympus 45mm f 1 2 pro worth the cost for indoor portraits on an e m10 mark iv?
The guide can't say whether the Olympus M.Zuiko 45mm f/1.2 PRO is worth its cost. Its lens page isn't available here, so there's no price or current check to go on. The E-M10 Mark IV page lists it as a 45mm f/1.2 that frames like 90mm on full frame, and the camera page is where to find the full lens list for this body.
For indoor portraits, the reasoning favours a fast lens. The portraits guide calls the 85mm f/1.8 the classic full-frame portrait lens, and a 90mm-equivalent view suits that job. An f/1.2 aperture gathers much more light than f/1.8 in a dim room and blurs the background more, which is what you want. The E-M10 Mark IV's in-body stabilisation steadies the camera, but it does nothing for a moving subject, so the lens's speed matters more here.
What the lens gives up is size, weight and cost. It's a PRO-grade lens, so expect a bigger, heavier setup on a small body. Focus at f/1.2 is very thin, so check that your eyes land sharp before worrying about the rest.
Cheaper options in the same 42.5mm and 45mm range are also listed for this camera, but the guide has no prices or reviews for them here. Before paying for the PRO, compare it with the cheapest fast alternative in the same field of view.
For the bigger picture on lens choice, see the first lenses advice.
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}.