You asked

Would a 24 70mm f 2 8 be worth buying over a fast 50mm prime for portraits on a sony a6400?

For portraits on the a6400, the guide would put a fast 50mm prime ahead of the 24-70mm f/2.8 unless you also need the wide range. On this APS-C body, a 50mm lens frames like 75mm, which the portraits page names as the classic portrait length, and its f/1.8 aperture gives softer backgrounds and works in dim light. The guide calls the 50mm f/1.8 the cheapest great lens in photography and says it is the one lens to buy if you shoot people.

The Sony FE 24-70mm f/2.8 GM is a full-frame zoom, so on the Sony a6400 it frames like 36-105mm. Its constant f/2.8 keeps exposure steady across the zoom, which the aperture section explains. It is the better choice for weddings, events, travel and mixed subjects, where changing focal length matters more than the last stop of light. For portraits alone, it gives less background blur than a 50mm at f/1.8.

If you want a zoom for portraits that reaches further, the Sony FE 50-150mm f/2 GM is the fast option. On the a6400 it frames like 75-225mm, so it suits tight headshots and strong background separation, with room between you and your subject. It is also a long zoom, so it costs more and is less portable.

The a6400 has no in-body stabilisation, so in dim indoor light a fast lens matters more than stabilisation, which only steadies the camera, not a moving subject. Buy the 50mm first for portraits, and add a zoom later if your shooting grows beyond people.

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