I wouldn't be very excited about adding a 4B param model to my database deployment, but using this kind of approach while testing an app to identify query plans where Postgres is leaving performance on the table seems valuable without much risk.

Given the approach from the article, you can commit the hints to git and run tests for verification. The model would be used during coding.

If your statistics or workload change, this approach is useless. The hints are generated being generated ahead of time, taking 95hrs to do so.