Both player and team — as long the player is a reliably great performer — benefit from such maneuvers, and Purdy’s agent, Kyle Strongin, and the 49ers’ negotiators, Paraag Marathe and Brian Hampton, recognized as much. The 49ers and Purdy, who’s been the NFL’s top-rated passer since joining the league in 2022, aimed to strike a similar win-win deal.

The sheer size of the quarterback contract market, combined with the 49ers’ massive spending list, made this negotiation uniquely challenging. But thankfully for the 49ers, Purdy came to play ball.

“We wanted to make sure we were working together with the organization to set everyone up for success,” Purdy said Wednesday. “It wasn’t about me just getting as much money as I could. … I want to get what I deserve, but also surround myself with guys around me and not take every penny for myself.”

That spirit of compromise yielded a contract that looks like this.