You asked

Sony fe 40mm f 2 5 g vs 7artisans af 40mm f 2 5?

The two lenses are nearly identical on paper. Both are 40mm primes with a maximum aperture of f/2.5, both autofocus, both are unstabilised, and both are made for full-frame sensors. On full frame each frames as a 40mm view. On APS-C, each frames like 60mm and gives the depth of field of about f/3.8. The guide's Sony FE 40mm f/2.5 G page describes it as tiny, sharp and a lovely everyday lens. The 7Artisans AF 40mm f/2.5 page lists the same specifications but no description, so the guide can't say how the two compare in sharpness or build.

The real difference is the mount. The Sony is listed only for Sony E. The 7Artisans also fits Nikon Z and L-Mount. If you own a Sony E body, the choice is about the lens itself. If you own a Nikon Z or L-Mount body, only the 7Artisans applies.

For a Sony E camera, the Sony a7 III is a full-frame body that suits this focal length, and the Sony a6400 is an APS-C option that gives a tighter view. Both lenses lack stabilisation, so in dim light the f/2.5 aperture and a larger sensor matter more than steadiness. The lens guide's aperture section explains why a wider aperture gives faster shutter speeds in dim light.

The guide has no prices for either lens here, so check the current price on each page before deciding.

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