You asked

Which lens for portraits on the sony a7r iv?

For portraits on the Sony a7R IV, the lens matters more than the body. The Portraits guide makes this point, and the camera's 61-megapixel sensor will show every bit of detail a good lens delivers. The light beats gear section adds that a window or open shade will do more for a portrait than any lens. Its in-body stabilisation steadies the camera, but for moving children or dim rooms, a wide aperture matters more.

Three lenses from this camera's list suit portraits:

Any of these is a Sony E-mount lens, which fits this camera. If you're buying the lens first, the 50-150mm is the one to start with for portraits.

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