On this page of The Quarry guide, you will find information about the next-gen patch. You will find out if you have to pay for it or if you can get the update for free.
PS5 and Xbox Series X
The next-gen versions (PS5 and XSX) cost 69.99 USD. This means that if you buy the version for the old generation, you will have to pay extra to upgrade the game for the latest consoles.
What's important is that when you buy the Deluxe Edition on the PS Store for 69.99 USD, you will get the PS4 and PS5 versions of the game along with all the extras included in the set.
PS4 and Xbox One
The regular edition includes only the game, its price on PC, PS4 and XONE is 59.99 USD.