You asked
Viltrox af 28mm f 4 5 vs sony fe 28mm f 2?
The choice between these two comes down to light and portability versus range and mount. The Viltrox AF 28mm f/4.5 is a body-cap-thin pancake of about 60 grams. It fits Sony E, Nikon Z, Fujifilm X and L-Mount, so it works across systems. Its f/4.5 aperture is the trade-off: in dim rooms or with moving subjects you'll need a higher ISO or a slower shutter speed.
The Sony FE 28mm f/2 gives up that range, since it only fits Sony E. In return it opens much wider. The aperture notes explain that each stop doubles the light, and f/2 gathers a little over two stops more than f/4.5. That means faster shutter speeds indoors and more background blur. The guide's portrait notes also point out that a wide aperture gives thin depth of field, so it suits a single subject better than a group.
Neither lens is stabilised, so neither will steady a shaky hand in dim light. For moving subjects, the sensor and the aperture matter more.
On an APS-C body such as the Sony a6400, both frame like about 42mm on full frame. The Sony's depth of field there is about f/3, against about f/6.8 for the Viltrox. Both fit the a6400, and both fit full-frame bodies like the a7 III.
For most people shooting in good light, travelling, or using a Nikon or Fujifilm body, the Viltrox makes sense. If you shoot Sony and often work in dim light, the Sony f/2 is the stronger choice. The guide can't give a price comparison, so check the catalogue pages for current prices, which 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}.