You asked

How does the sigma 135mm f 1 8 art frame on a sony a6400?

The guide can't confirm that the Sigma 135mm f/1.8 DG HSM Art fits the Sony a6400. Its page describes it only as a 135mm f/1.8 prime made for full frame and gives no mount, and it isn't among the lenses the a6400 page lists for that body. Treat it as unverified on this camera.

If it did fit, the a6400's 1.5 crop factor would make 135mm frame like about 200mm on full frame, a tight telephoto view. The f/1.8 aperture would still give roughly the background blur of f/2.7 on full frame, as the focal length converter explains.

The Sigma 135mm f/1.4 DG Art is the closest match the guide covers. Its specs list Sony E mount, so it's the same focal length in a faster version that the guide does place on the a6400's mount, though it is a different lens.

For a similar reach on this camera, the guide's portrait advice favours a 135mm or a 70-200mm f/2.8 for tight headshots with strong background blur. Two a6400 lenses from the list suit that:

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