You asked
How fast a lens does a family dinner portrait on an aps c camera need?
For a family dinner on APS-C, a fast prime around f/1.8 is the minimum worth having, and f/1.4 gives you more room when the restaurant is dim. The guide's portrait lens advice points to a 35mm f/1.8 or f/1.4 for groups and for portraits that show where people are. On APS-C that focal length is also a natural fit for a table of people, since it fits several faces in frame without standing too far back.
Fast lenses matter more here than the camera body. The guide's first-lens advice recommends a fast standard prime on APS-C, in the 33-35mm range at f/1.4 to f/1.8, for low light and people. Dinner is exactly that. A 56mm f/1.2 to f/1.4 is the guide's APS-C stand-in for an 85mm portrait lens, but it is tight for a whole table, so it suits one or two people better.
Keep in mind that the wider the aperture, the less depth you get. With a group at f/1.4, some faces at the back of the table may fall soft, so stopping down a little for groups is sensible. The guide's sensor advice says lenses and light matter more than the last stop of sensor performance, so a good fast APS-C prime is a better buy than moving to full frame for this.
The guide can't say which specific lens to buy, because this question doesn't name a camera or lens, so check the portrait camera notes for the autofocus features that help with moving children and dim scenes.
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}.