All articles
LLM Economics

Dedicated GPU vs LLM API Cost: When Switching Pays Off

A dedicated GPU beats a pay-per-token API only when you keep it busy. At a $2.69 per hour GPU, 30% utilization turns the real price into about $8.97 per useful hour, while 70% brings it to about $3.84 (illustrative).

Nov 18, 2026 · 4 min read
Dedicated GPU vs LLM API Cost: When Switching Pays Off

Last updated: November 2026

Key takeaways

  • The trigger to leave a frontier API is not price alone. Gergely Orosz's guide names rate limits, inconsistent performance and overpaying for usage as the signals.
  • Utilization decides the winner: an idle GPU bills you the same as a busy one.
  • Per-token savings can mislead. Per-task cost is what hits your margin, and it can move the other way.
  • Reported per-token savings from moving to open models: Uber 50%, Pinterest 90%, AT&T 56%.

When should you move from an LLM API to a dedicated GPU?

In his Pragmatic Engineer guide to inference engineering, Gergely Orosz lists three signals that dedicated GPUs deserve a look: you keep hitting rate limits, performance is inconsistent, or you are overpaying for usage. He also cites companies that moved to open models to cut spend, reporting per-token savings of 50% at Uber, 90% at Pinterest and 56% at AT&T. Those are big numbers, but they come from teams with serving expertise at huge volume. A seed-stage SaaS is in a different position.

How does utilization change dedicated GPU cost?

A rented GPU costs the same whether it serves 1 request or 1,000. The reported price range for an H100 is $2.69 to $12.29 per hour depending on where you rent it. Using the low end, a month of 730 hours is about $1,964. Here is the effective price per hour you actually use:

| Utilization | Effective $ per useful hour at $2.69/hour | |---|---| | 20% | $13.45 | | 40% | $6.73 | | 70% | $3.84 | | 90% | $2.99 |

At 20% utilization, your cheap GPU costs more per useful hour than the most expensive listing. Traffic that is spiky, regional or seasonal is exactly the profile that leaves GPUs idle. We go deeper in our post on idle GPUs and the API vs own hardware breakeven.

Why per-token savings can hide a higher cost per task?

Orosz warns that per-task cost differs from per-token cost. A cheaper open model that needs more tokens, more retries or longer reasoning to finish the job can cost more per completed task than a pricier model that finishes in one pass. Always replay real tasks and divide total spend by successful tasks. Our inference engineering gross margin breakdown shows how this lands in your P&L.

What is the cheapest middle step before renting GPUs?

Between a frontier API and your own cluster sits a managed open-model host that charges per token without making you run anything. Compare options like Together AI and Fireworks AI on rates first. If a managed host gets you most of the saving, you skip the utilization risk entirely. See how GPU hour prices translate to token cost in GPU hour price vs real LLM inference cost.

A simple switch checklist

  1. 1Measure cost per successful task on your current API for two weeks.
  2. 2Replay the same tasks on an open model and compare success rate and tokens.
  3. 3Estimate peak and average load, then compute utilization for one GPU.
  4. 4Switch only if the effective cost per useful hour, plus engineering time, beats the API at your volume.

Source: Gergely Orosz, Inference engineering for software engineers in The Pragmatic Engineer. GPU price range comes from the open data-receipts GPU pricing dataset. The utilization math is ours.

Takeaway: utilization, not list price, decides dedicated GPU vs API cost. Model your own token mix and volume in the Calcaas LLM cost calculator.

Frequently asked questions

When is a dedicated GPU cheaper than an LLM API?

A dedicated GPU is cheaper when you keep it busy enough that the effective price per useful hour beats your API spend. At a $2.69 hourly rate, 70% utilization works out to about $3.84 per useful hour.

What are the signs you should leave a frontier LLM API?

Three common signs are frequent rate limits, inconsistent performance, and the feeling that you are overpaying for usage compared with what the workload needs.

Is cost per token or cost per task more important?

Cost per task. A model with a lower token price can still cost more per completed task if it needs more tokens or retries.

How much does an H100 cost per hour?

Reported H100 rental prices range from $2.69 to $12.29 per hour depending on the provider, which is about $1,964 to $8,972 over a 730-hour month. Place the JSON-LD below in a <script type="application/ld+json"> tag in the page head.

ShareXLinkedInFacebook

More from the blog

The Margin Memo

Pricing math, in your inbox.

One short note a week on AI pricing, token economics, and margin. No spam, unsubscribe anytime.