You asked

Which fast prime lens for a sony a6400 would suit indoor portraits and low light under 500 euros?

For indoor portraits in low light on the Sony a6400, the guide's rule of thumb is a fast standard prime around 33-35mm on APS-C, which frames like 50mm on full frame. The Sony a6400 page lists the lenses that fit it, but the part of that list I can see only reaches the wide primes: the 6mm f/2 and 7.5mm f/2 fisheyes, and the 9mm f/2.8 Laowa Zero-D and Viltrox Air. Those are for landscapes and wide interiors, not portraits, so the guide can't name a portrait prime from what it has here.

The camera has no stabilisation in the body, so for dim rooms a wide maximum aperture matters more than anything else. The guide's first lenses advice points to a fast standard prime for low light and people, and the primes or zooms section explains why a prime gathers far more light than a kit zoom at a low price. Look for an f/1.8 or f/1.4 prime in the 33-35mm range on the a6400's lens list.

The guide also can't give you a price for any lens on that list. The only price it has for the a6400 is the camera itself, so check the shops for any lens you consider and keep your 500 euros in mind when you compare.

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