You don’t need to go local for that though do you? You could use a last gen open model hosted by a cloud provider that pins the version?
Outright ownership is going to cost the least since you are responsible for amortizing the maintenance and replacement costs.
Providers also markup their rate because they assume customers are running paid services and can afford the markup.