You asked

Is the gh5 or gh5s better for low light photos with a 25mm lens?

The guide leans toward the GH5S for dim light, though the gap is smaller than the names suggest. Both cameras use the same Micro Four Thirds sensor size, so the 25mm lens frames like 50mm on full frame in either body. The GH5S page calls it a low-light video body with a 10.2-megapixel sensor and no in-body stabilisation. The GH5 has 20.3 megapixels and in-body stabilisation, which steadies the camera, not the subject, so it helps most with slow shutter speeds on still subjects.

The lens will matter more than the body. For dim light, a fast aperture does more than any sensor or stabilisation. Three 25mm options from the catalogue suit this:

If you shoot video in dim light, pair the GH5S with the Leica 25mm f/1.4 II. If you shoot handheld stills and need stabilisation, the GH5 with the same lens is the better fit. The GH5 is also the better choice if you want more resolution to crop from.

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