Closer to the former than the latter IMO. Compared to a true free-agent scenario, the money commitment is a fraction. But, and this is important, it's not a free-agent scenario. From the player's perspective, he has to balance the brass ring that free-agency could represent, versus having to go nearly 2 full seasons until that moment, during which his performance could fall off to merely "average starter" or even suffer an injury. The Twins could just go year to year, but instead are underwriting the player's risk to a significant degree.
For the Twins it's a fair deal. It has very high upside, but they are assuming what sounds like 4 years of risk by guaranteeing even 1 dollar beyond this year. In effect some portion of the $73.5M is an insurance policy for him. He's set for life now.
Win-win, but IMO not a steal, nor would I want it to be.