Which will be less of a problem for them, then signing him to a poor contract for the team. They are supposed to have plenty of cap room after the season, I would much rather have $40 million on the books next year than trying to deal with a 5 year $250 million contract going forward.And the entire salary applies to the cap in the year paid.
From everything I have read Purdy wants to be in SF, and they want to sign him, right now they are trying to come together on a number that will make both happy. If Purdy wants to set the market, they are not going to go for that, if he is willing to cut them a deal, they will, say $200 million over 5 years.