You asked

Is a 35mm f 1 8 better than this samyang zoom for environmental portraits on my sony a6400?

For environmental portraits, a 35mm lens is a good choice on your Sony a6400. The portraits guide recommends a 35mm f/1.8 or f/1.4 for portraits that show where someone is, and for groups. On an APS-C body like the a6400, the lenses guide suggests a 33-35mm f/1.4 to f/1.8 as the fast standard prime for people and low light.

Whether it beats your zoom depends on which zoom you mean. The guide can't tell from your question, and the a6400 page lists several Samyang zooms, so I can't compare them directly. In general, a prime gives you a wider maximum aperture for the same size, which helps with background softness and dim rooms. A zoom gives you framing flexibility, so you can step back or move in without changing lens.

The Samyang AF 35mm f/2.8 FE is a very small pancake, under 90 grams, and it is a 35mm lens, so it suits environmental work. Its f/2.8 is slower than an f/1.8, though, so it will need more light or a higher ISO. The guide's page describes it as made for full frame, but it fits the a6400's Sony E mount. The a6400 page gives a 1.5 crop factor, so this lens frames like about 52mm on your camera.

The a6400 has no in-body stabilisation, so for dim interiors an f/1.8 aperture will help you more than a stabilised zoom would. I can't give you prices for these lenses from the material I have, so check the shops before buying.

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