You asked

Canon rf 85mm f 2 macro is stm vs viltrox af 85mm f 1 8 ii?

Both are 85mm lenses, so both suit portraits, but they pull in different directions. The Canon RF 85mm f/2 Macro IS STM is the one to choose for close-up work. It focuses closely enough for macro, has image stabilisation, and fits only Canon RF bodies, from the EOS R8 up to the R5 Mark II. Stabilisation steadies the camera, not the subject, so it helps most with handheld shots in modest light.

The Viltrox AF 85mm f/1.8 II is the better portrait lens for dim rooms and shallow backgrounds. Its f/1.8 gathers more light than f/2 and gives more background blur at the same framing. It has no stabilisation, but it fits Sony E, Fujifilm X, Nikon Z and Canon RF mounts, so it can follow you to another system. On an APS-C body it behaves like a roughly 128mm lens on full frame, which is a long, flattering portrait view. The focal length converter explains why f/1.8 on APS-C blurs like f/2.7 on full frame.

The guide's pick depends on what you photograph. For people, and for low light and moving subjects, the Viltrox is the stronger lens. For flowers, insects and other close detail on a Canon RF body, the Canon is the one to buy. The portraits page explains why an 85mm suits faces, and it's worth reading before you decide.

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