You asked
Nikon z 24mm f 1 8 s vs viltrox af 24mm f 1 8?
The Nikon Z 24mm f/1.8 S and the Viltrox AF 24mm f/1.8 are close to identical on paper. Both are 24mm primes with f/1.8 maximum apertures, both autofocus, and neither has stabilisation. On full frame they frame as a moderate wide angle. On APS-C they behave like a 36mm lens, and f/1.8 gives about the background blur of f/2.7 on full frame.
The real difference is mount. The Nikon Z 24mm f/1.8 S is made for Nikon Z bodies only. The Viltrox AF 24mm f/1.8 fits both Sony E and Nikon Z. If you shoot Nikon, the choice comes down to build, price and autofocus behaviour, which these pages don't compare. If you shoot Sony, only the Viltrox is an option.
Either lens suits low light and people shot wide, such as street, interiors and environmental portraits. Its f/1.8 aperture gathers light, but it doesn't steady a moving subject. For that you need a faster shutter, a larger sensor, or a camera with good high-ISO performance. A full frame body like the Nikon Z6 II, which both lenses fit, pairs well with either. For portraits, the guide suggests a 50mm f/1.8 is the cheapest great lens to start with, and the portraits page explains why a longer lens flatters faces more than a 24mm.
The pages here don't include prices, so check each lens page's price section before deciding, as prices change.
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}.