You asked
Sony sonnar t e 24mm f 1 8 za vs ttartisan 25mm f 2?
The Sony Sonnar T* E 24mm f/1.8 ZA and the TTArtisan 25mm f/2 are close in view. On APS-C they frame like 36mm and 38mm on full frame, so the choice comes down to autofocus, aperture and mount.
The Sony is the better all-round pick if you want autofocus and the faster f/1.8. It gives a little more background blur, about the depth of field of f/2.7 on full frame, and it helps in dim rooms and with moving subjects. It has no stabilisation, so it steadies the camera but not the subject, and it fits only Sony E-mount bodies. On a Sony APS-C body such as the a6400 it makes a compact, capable kit.
The TTArtisan is the more flexible lens. It is manual focus only, and it fits Sony E, Fujifilm X, Nikon Z, Canon RF, L-Mount and Micro Four Thirds. Its f/2 gives about the depth of field of f/3 on APS-C, so it blurs backgrounds less than the Sony. It suits a photographer who doesn't mind focusing by hand, or who wants one lens across several systems. Pair it with a body from its list, such as a Fujifilm X-T30 III or a Nikon Z50 II, rather than assuming any camera will do.
The catalogue pages for these lenses don't give prices, so the guide can't say which is cheaper. Check each lens's page for current prices before you decide.
For more on how aperture and crop factor affect blur, see the focal length converter. The two lenses are on their own pages: Sony Sonnar T* E 24mm f/1.8 ZA and TTArtisan 25mm f/2.
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}.