Short answer: a rented H100 beats a frontier-priced API (about $4 per million tokens blended) only when the GPU stays busy. On my model that point is roughly 0.7 to 1.2 billion tokens a month on one GPU, which is 19 to 31 percent of the GPU's benchmarked capacity. Against a hosted open-weight 70B API at about $0.155 per million tokens, a rented H100 never breaks even at any volume. If your reason to self-host is cost, first test whether a cheaper hosted model passes your evals. If your reason is that prompts cannot leave your network, price it as a boundary, not as a saving.

Updated November 2026. I read every price on this page on 16 November 2026 and ran the model the same day with Python 3.12.3 on Ubuntu 24.04. I did not rent a GPU, so I measured no throughput and no latency. The throughput figures come from a published benchmark and are labelled as such. Everything I computed is labelled as an estimate, and the script is below so you can change every assumption.

1. The decision

The question a CTO actually asks is: "Should we run our own model server for this workload, or keep paying a provider per token?" The CTO owns the architecture and the CFO owns the budget line, so it is a joint decision. Three things usually force it. A monthly API bill that nobody expected. A security or contract review that says prompts may not go to a third party. Or a provider changing a price or retiring a model.

"Self-hosting" covers several different arrangements, and most of the confusion in this debate comes from mixing them. I use five terms in this guide: a frontier API, a hosted open-weight API, rented GPUs in your own cloud account, owned or on-premises GPUs, and an air-gapped deployment. Section 3 separates them.

2. Why this is contested, not settled

Cost arguments for self-hosting usually quote the price of a GPU hour or the cost per token at full load. Neither number tells you what you will pay, because the bill is mostly fixed: you pay for the GPU whether or not anyone sends a request.

The best public evidence on how busy GPUs actually are comes from Cast AI's 2026 State of Kubernetes Optimization report. Cast AI reports that average GPU utilization was 5 percent across the clusters it analysed, measured before any optimization, and 49 percent in the best case it found, a fleet of 136 H200 GPUs (Cast AI blog, press release).

Read that figure with its limits. It is a vendor study of clusters that use Cast AI's product. It measures GPU utilization on Kubernetes across all workloads, not LLM inference specifically. It does not say what an inference server would score. I use 5 percent below only as a stress point on a curve, never as a forecast for your system.

GPU prices are also moving. Cast AI reports that AWS raised H200 Capacity Block prices by 15 percent in January 2026. A model with a stated price date and a one-line change is more useful than a number in a slide.

3. The options

These are the real choices, including the one that costs nothing to pick today.

OptionWhere prompts goWhat it commits you to
A. Frontier APIThe model providerPer-token bills at list price, no servers, exposure to the provider's price and model-retirement decisions.
B. Hosted open-weight APIA hosting provider (a different company from the model's author)Per-token bills at a much lower list price, still no servers, and a second vendor to review for data handling.
C. Rented GPUs in your cloud accountYour own cloud tenancyA fixed monthly GPU bill, a serving engine you run, and capacity planning.
D. Owned or on-premises GPUsYour own networkCapital cost, hardware lifecycle, power and cooling, and the same serving work as C.
E. Air-gappedA network with no outbound pathOption D plus offline model and software updates. This is a compliance tier, not a cost tier.
F. Hybrid or deferSplit by workloadTwo cost models and a routing layer, or staying on A or B until a volume trigger fires.

Self-hosted, private-network and air-gapped are different postures. Self-hosting says who runs the server. Private network says where the traffic flows. Air-gapped says nothing can leave. A deployment can be self-hosted and still call out to a public package index at startup, so ask which of the three a requirement actually means before you price anything.

4. Architecture implications

Options C to E need a model server. In the benchmarks I use below that is vLLM serving Llama 3.3 70B in FP8, which keeps the weights at about 70 GB and fits on a single 80 GB H100 "with careful tuning", according to Spheron's benchmark write-up. Fitting is not the same as comfortable: the memory left for the KV cache limits how many requests the GPU can hold at once, so a production setup often uses two GPUs for spare capacity even when one would carry the average load.

Spheron also reports that vLLM took about 62 seconds to cold start in its test, and TensorRT-LLM about 28 minutes to build its first engine. If your plan includes scaling to zero overnight, those start-up times decide whether that plan works.

Moving from an API to a self-hosted model is also a model change. Nobody should do it without re-running their own evals on the new model. I cover the evaluation side in How to Evaluate an AI Agent Before Deployment. A token-price comparison between two models of different capability is only a price comparison, and I say so again in the cost section.

5. Cost: the model, the assumptions and the output

Prices, all read on 16 November 2026 (vendor-reported):

ItemPriceSource
Claude Sonnet 5.5, input / output$2 / $10 per million tokensAnthropic pricing
Claude Haiku 5.5, input / output$0.10 / $0.50 per million tokens (prompts up to 100,000 tokens)Anthropic pricing
Llama 3.3 70B Instruct Turbo, input / output$0.10 / $0.32 per million tokensDeepInfra pricing
DeepSeek V4 Flash, input / output$0.09 / $0.18 per million tokensDeepInfra pricing
H100 SXM rental$3.99 to $4.29 per GPU-hour (Lambda, by instance size); $3.99 (RunPod Secure Cloud), from $2.69 (RunPod Community Cloud)Lambda, RunPod
H100 at two other price points$2.00 "retail" and $1.17 "owning at large hyperscaler volume" per GPU-hourSemiAnalysis, via InferenceX (below)

Throughput anchor (third-party benchmark, not mine): SemiAnalysis's InferenceX reports Llama 3.3 70B in FP8 on vLLM and one H100 at 2,056 tokens per second per GPU when each user gets 30 tokens per second, 1,496 at 50, and 923 at 75. The workload was 8,000 input tokens and 1,000 output tokens per request, and the runs are dated 29 October 2025. I use 1,496 as the base case, 2,056 as the high case, and 460 as a stress case. The 460 comes from an undated Cerebrium page reporting 460 tokens per second for Llama 3.1 70B FP8 on one H100 at batch size 64. It is a different model version on a different workload, so I treat it as "a quarter of the base case, if your prompts hurt", not as a measurement.

Two other published numbers do not fit the same column, and I do not convert them. Spheron reports 1,850 output tokens per second for vLLM at 50 concurrent requests on prompts averaging 512 input and 256 output tokens. That counts output tokens only on short prompts. InferenceX counts total tokens on long prompts. Different workloads give different numbers on the same GPU, which is the main reason to measure your own.

My assumptions (estimates, change them): a 75 percent input and 25 percent output token mix; a GPU rented 24 hours a day for 730 hours a month; one GPU as the minimum fleet, and two as the case with a spare; and, where I say "with ops", $2,000 a month for engineering time, which is 20 hours at $100 an hour. That last number is my guess, not a measurement. Replace it with your own.

The InferenceX workload is 89 percent input tokens, heavier on input than my 75 percent mix. Input tokens are cheaper for a GPU to process than output tokens, so the base case may flatter an output-heavy workload. That is why I keep the stress case.

"""Self-host vs API break-even model. Prices read 2026-11-16; every assumption is a constant below."""
import math

HOURS = 730                      # hours per month, GPU rented 24x7
MIX_IN = 0.75                    # assumed share of input tokens in the traffic

# API list prices, $ per 1M tokens (input, output)
API = {
    "Claude Sonnet 5.5":            (2.00, 10.00),   # platform.claude.com pricing
    "Claude Haiku 5.5":             (0.10, 0.50),    # prompts up to 100k tokens
    "Llama 3.3 70B (DeepInfra)":    (0.10, 0.32),    # deepinfra.com/pricing
    "DeepSeek V4 Flash (DeepInfra)": (0.09, 0.18),
}
def blended(p): return MIX_IN * p[0] + (1 - MIX_IN) * p[1]

# GPU price, $/GPU/hr, and throughput, total tokens/s per GPU (Llama 3.3 70B, FP8, vLLM, H100)
GPU_PRICE = {"list on-demand": 3.99, "retail (SemiAnalysis)": 2.00, "owned at hyperscaler volume": 1.17}
TPS = {"stress (assumed)": 460, "base (InferenceX, 50 tok/s/user)": 1496, "high (InferenceX, 30 tok/s/user)": 2056}
OPS_FIXED = 2000.0               # my assumption: 20 h/month of engineer time at $100/h

def cap_per_gpu_m(tps):  return tps * 3600 * HOURS / 1e6       # M tokens/month at 100% busy
def full_util_cost(price, tps): return price / (tps * 3600 / 1e6)  # $/M tokens at 100% busy

def selfhost_month(volume_m, price, tps, min_gpus=1, ops=0.0):
    gpus = max(min_gpus, math.ceil(volume_m / cap_per_gpu_m(tps)))
    return gpus, gpus * price * HOURS + ops, volume_m / (gpus * cap_per_gpu_m(tps))

if __name__ == "__main__":
    print("1) Blended API price at %d%% input / %d%% output ($/M tokens)" % (MIX_IN*100, (1-MIX_IN)*100))
    for n, p in API.items(): print(f"   {n:32s} {blended(p):7.4f}")

    print("\n2) Self-host $/M tokens when the GPU is busy 100% of the time")
    for pn, pr in GPU_PRICE.items():
        print("   " + f"{pn:28s} ${pr:.2f}/hr  " + "  ".join(f"{tn.split(' (')[0]}={full_util_cost(pr, t):.3f}" for tn, t in TPS.items()))

    print("\n3) Self-host $/M tokens vs utilisation (list $3.99/hr, base throughput)")
    base = full_util_cost(3.99, 1496)
    for u in (0.05, 0.10, 0.20, 0.30, 0.50, 0.80, 1.00): print(f"   {u*100:4.0f}% busy -> ${base/u:8.3f}/M")

    print("\n4) Monthly cost at 1M / 10M / 100M tokens per day (30-day month), 1 GPU minimum, list $3.99/hr, base throughput")
    print(f"   {'tokens/day':>11s} {'GPUs':>4s} {'util':>6s} {'self-host':>11s} {'+ops':>10s} " + " ".join(f"{n.split(' (')[0][:14]:>14s}" for n in API))
    for per_day in (1, 10, 100):
        v = per_day * 30
        g, c, u = selfhost_month(v, 3.99, 1496)
        _, co, _ = selfhost_month(v, 3.99, 1496, ops=OPS_FIXED)
        print(f"   {per_day:>9d}M {g:4d} {u*100:5.1f}% {c:11,.0f} {co:10,.0f} " + " ".join(f"{v*blended(p):14,.0f}" for p in API.values()))

    print("\n4b) Same volumes with 2 GPUs minimum (one spare), list $3.99/hr, base throughput")
    for per_day in (1, 10, 100):
        g, c, u = selfhost_month(per_day * 30, 3.99, 1496, min_gpus=2)
        print(f"   {per_day:>9d}M tokens/day: {g} GPUs, {u*100:4.1f}% busy, ${c:,.0f}/month")

    print("\n5) Break-even volume, M tokens/month, one GPU 24x7. 'x%' = share of one GPU's capacity that volume needs.")
    print("   '>1 GPU' = break-even exceeds one GPU, so the one-GPU premise fails. 'never' = $/M at 100% busy >= API price.")
    def be_txt(fixed, price, tps, api):
        if full_util_cost(price, tps) >= api: return "never"
        be = fixed / api; cap = cap_per_gpu_m(tps)
        return f"{be:,.0f} ({be/cap*100:.0f}%)" if be <= cap else ">1 GPU"
    sonnet, haiku = blended(API["Claude Sonnet 5.5"]), blended(API["Claude Haiku 5.5"])
    llama, flash = blended(API["Llama 3.3 70B (DeepInfra)"]), blended(API["DeepSeek V4 Flash (DeepInfra)"])
    print(f"   {'GPU price':26s} {'throughput':9s} | {'Sonnet':>14s} {'Sonnet+ops':>14s} | {'Haiku':>14s} {'Haiku+ops':>10s} | {'Llama70B':>8s} {'Flash':>6s}")
    for pn, pr in GPU_PRICE.items():
        for tn, t in TPS.items():
            f0, f1 = pr * HOURS, pr * HOURS + OPS_FIXED
            print(f"   {pn:26s} {tn.split(' (')[0]:9s} | {be_txt(f0,pr,t,sonnet):>14s} {be_txt(f1,pr,t,sonnet):>14s} | {be_txt(f0,pr,t,haiku):>14s} {be_txt(f1,pr,t,haiku):>10s} | {be_txt(f0,pr,t,llama):>8s} {be_txt(f0,pr,t,flash):>6s}")

Output of that script, run on 16 November 2026:

1) Blended API price at 75% input / 25% output ($/M tokens)
   Claude Sonnet 5.5                 4.0000
   Claude Haiku 5.5                  0.2000
   Llama 3.3 70B (DeepInfra)         0.1550
   DeepSeek V4 Flash (DeepInfra)     0.1125

2) Self-host $/M tokens when the GPU is busy 100% of the time
   list on-demand               $3.99/hr  stress=2.409  base=0.741  high=0.539
   retail (SemiAnalysis)        $2.00/hr  stress=1.208  base=0.371  high=0.270
   owned at hyperscaler volume  $1.17/hr  stress=0.707  base=0.217  high=0.158

3) Self-host $/M tokens vs utilisation (list $3.99/hr, base throughput)
      5% busy -> $  14.817/M
     10% busy -> $   7.409/M
     20% busy -> $   3.704/M
     30% busy -> $   2.470/M
     50% busy -> $   1.482/M
     80% busy -> $   0.926/M
    100% busy -> $   0.741/M

4) Monthly cost at 1M / 10M / 100M tokens per day (30-day month), 1 GPU minimum, list $3.99/hr, base throughput
    tokens/day GPUs   util   self-host       +ops Claude Sonnet  Claude Haiku 5  Llama 3.3 70B DeepSeek V4 Fl
           1M    1   0.8%       2,913      4,913            120              6              5              3
          10M    1   7.6%       2,913      4,913          1,200             60             47             34
         100M    1  76.3%       2,913      4,913         12,000            600            465            338

4b) Same volumes with 2 GPUs minimum (one spare), list $3.99/hr, base throughput
           1M tokens/day: 2 GPUs,  0.4% busy, $5,825/month
          10M tokens/day: 2 GPUs,  3.8% busy, $5,825/month
         100M tokens/day: 2 GPUs, 38.2% busy, $5,825/month

5) Break-even volume, M tokens/month, one GPU 24x7. 'x%' = share of one GPU's capacity that volume needs.
   '>1 GPU' = break-even exceeds one GPU, so the one-GPU premise fails. 'never' = $/M at 100% busy >= API price.
   GPU price                  throughput |         Sonnet     Sonnet+ops |          Haiku  Haiku+ops | Llama70B  Flash
   list on-demand             stress    |      728 (60%)         >1 GPU |          never      never |    never  never
   list on-demand             base      |      728 (19%)    1,228 (31%) |          never      never |    never  never
   list on-demand             high      |      728 (13%)    1,228 (23%) |          never      never |    never  never
   retail (SemiAnalysis)      stress    |      365 (30%)      865 (72%) |          never      never |    never  never
   retail (SemiAnalysis)      base      |       365 (9%)      865 (22%) |          never      never |    never  never
   retail (SemiAnalysis)      high      |       365 (7%)      865 (16%) |          never      never |    never  never
   owned at hyperscaler volume stress    |      214 (18%)      714 (59%) |          never      never |    never  never
   owned at hyperscaler volume base      |       214 (5%)      714 (18%) |          never      never |    never  never
   owned at hyperscaler volume high      |       214 (4%)      714 (13%) |    4,270 (79%)     >1 GPU |    never  never

Reading the output

The fixed bill dominates. One list-price H100 costs $2,913 a month before anyone sends a request. At 1 million tokens a day, Claude Sonnet 5.5 costs $120 a month by this model and the hosted Llama 3.3 70B API costs $5, so the GPU costs about 24 times Sonnet and more than 500 times the hosted Llama API. At 10 million tokens a day the GPU is still 2.4 times Sonnet and 60 times the hosted Llama API.

Against a frontier price, the break-even exists but needs sustained load. At 100 million tokens a day the model puts one GPU at 76 percent busy, costing $2,913 against $12,000 for Sonnet. I would not plan on 76 percent. The benchmark throughput is at a latency target, and a real traffic curve with peaks and quiet hours will not fill a GPU that evenly. The honest range is the section 5 break-even table: 728 million tokens a month without ops cost and 1,228 million with it, at list price and base throughput.

Against a cheap hosted model, it never breaks even. A list-price H100 at 100 percent busy costs $0.741 per million tokens in the base case. The hosted Llama 3.3 70B API blends to $0.155. The only cell in the whole grid where a self-hosted GPU beats a cheaper API is owned hardware at hyperscaler-volume pricing, high throughput, and 79 percent busy, against Haiku 5.5. Even there it does not beat the hosted 70B API.

Utilization is the lever. The base case costs $14.82 per million tokens at 5 percent busy, which is 3.7 times Sonnet's blended price. It reaches Sonnet's price near 20 percent busy ($3.70). At 50 percent busy it is $1.48. This is the arithmetic behind the Cast AI warning in section 2. My "busy" is the share of benchmarked throughput you actually serve. Cast AI's 5 percent is a GPU compute measure on Kubernetes. They are related, but they are not the same number.

Redundancy doubles the floor. With a spare GPU the monthly floor is $5,825. At 100 million tokens a day two GPUs would be 38 percent busy.

What the API side leaves out. Anthropic's page also lists batch prices of $1 and $5 per million tokens for Sonnet 5.5, half the standard rate, and cache hits at $0.10 per million. Workloads that can batch or reuse long prompts get cheaper than the $4.00 I use, which pushes every break-even above to the right. I did not model either.

6. Security, compliance and the data boundary

For some workloads the cost model does not decide anything. If prompts contain data that your contracts or your regulator say cannot go to a third party, the choice is among options C, D and E, and the cost table tells you what to budget: about $5,825 a month for two rented GPUs before ops cost, at the prices above. That is the price of the boundary.

Option B does not satisfy a rule that data must stay with one vendor or inside your tenancy. A hosted open-weight API means a second company handles your prompts. Check each provider's data-handling and retention terms in the contract, not in a feature table. I am not a lawyer and I have not reviewed any provider's contract for this guide.

An installation that works is not a security review. Self-hosting moves responsibility for patching, access control, logging and prompt-injection defences onto your team. If the model server will drive tools, see my test of where an approval gate must live.

7. Operational complexity

An API gives you a status page. A model server gives you an on-call rotation. Self-hosting adds GPU capacity planning, serving-engine upgrades and their open issues, quantization checks, model-version pinning, and a plan for a node that fails at 2 a.m. The $2,000 "ops" line in my model is a placeholder for that work. If you have no one who has run a GPU service before, expect the first month to cost more than the model says.

My OpenClaw self-hosting guide covers running an agent runtime on your own server. It does not cover the model server this guide prices. They are separate layers.

8. Scale: where the answer flips

Under about 300 million tokens a month, every API in the table is cheaper than one list-price GPU. Between roughly 700 million and 1.2 billion tokens a month, self-hosting starts to beat a $4-per-million frontier API, but only if a 70B-class model is good enough for the job, and only if the load is steady. Above several billion tokens a month, a steady high-load fleet gets cheaper per token than the $4 API, though it still does not undercut a cheap hosted open-weight API at list GPU prices.

Volume is not the only variable. A workload that sends the same long prefix every time can lean on provider caching. A workload with a daily peak and a long quiet period leaves you paying for idle GPUs. A workload that grows 10 times in a quarter makes any fixed capacity plan wrong.

9. Decision matrix and scorecard

I scored each option from 1 to 5, where 5 is best for the buyer. The scores are my judgment, and the reasoning follows each dimension, because a bare matrix is a listicle.

Cost at under 300M tokens a month: APIs win because there is no fixed bill. Cost at several billion tokens a month with steady load: C and D win against frontier prices, but not against cheap hosted models. Data boundary: only C, D and E keep prompts in your control. Operational burden: A and B have none, C and D carry the serving work, E adds offline updates. Time to value: an API works today, a model server takes weeks. Price and lock-in risk: self-hosting removes per-token price risk and adds GPU price risk.

DimensionA. Frontier APIB. Hosted open-weight APIC. Rented GPUsD. Owned GPUsE. Air-gapped
Cost under 300M tokens/month45111
Cost at billions of tokens, steady load24343
Data boundary12455
Operational burden (5 = none)55211
Time to value55211
Price and lock-in risk23344

A short scorecard to apply before opening the script. Answer yes or no.

1. Must prompts stay inside your own network or cloud tenancy?
   yes -> options C, D or E. Budget the fixed floor (section 5, 4b). Stop here.
2. Does a hosted open-weight model pass YOUR evals?
   no  -> stay on a frontier API (A). The token price comparison is moot.
   yes -> price option B first. It is the cheapest option at every volume in this model.
3. Is your volume above ~700M tokens/month AND steady AND still above the
   price of a cheap hosted model?
   no  -> stay on B (or A). Revisit with 30 days of measured traffic.
   yes -> pilot C on one stable workload with hourly billing, and measure real tokens/s.

10. Recommendation by scenario

There is no universal answer. These are five scenarios and what I would do in each, with the one factor that would flip it.

11. Migration path

  1. Measure first. For 30 days, log tokens in and out per feature per day, plus peak concurrent requests. Without those four numbers every figure in this guide is a guess about your system.
  2. Run your evals on a cheaper model. This is the step that changes the answer most often, and it costs a few dollars on option B.
  3. Rerun the script with your numbers. Change the token mix, the GPU price, the throughput and the ops line.
  4. Pilot on one stable workload on an hourly-billed rented GPU. Measure tokens per second with your own prompt lengths. That is the number my model cannot give you.
  5. Re-price before any commitment. Every price here is a 16 November 2026 snapshot, and Cast AI reports that AWS raised H200 Capacity Block prices in January 2026.

If you want a second opinion on a specific workload, I do this kind of architecture review in my consulting work, and the AI agents page describes what I build. For the spend side, the ROI calculator and the AI readiness assessment are the quick versions. If your token volume comes from agent loops, my agents vs workflows cost model shows why a tool-calling agent can use several times the tokens of a fixed workflow, which moves your volume number.

12. What I did not measure

Frequently Asked Questions

When does self-hosting an LLM become cheaper than an API?

Against a frontier API priced near $4 per million blended tokens, one rented H100 breaks even at roughly 0.7 to 1.2 billion tokens a month in my model, which is 19 to 31 percent of the GPU's benchmarked capacity. Against a hosted open-weight 70B API near $0.155 per million tokens, a rented H100 never breaks even. The prices are a 16 November 2026 snapshot.

How much does it cost to run Llama 3.3 70B on one H100?

At a list price of $3.99 per GPU-hour, one H100 running 24 hours a day costs about $2,913 a month before any ops cost. At a benchmarked 1,496 tokens per second that is $0.741 per million tokens if the GPU is busy all the time, and $14.82 per million tokens at 5 percent busy. The throughput figure is a third-party benchmark, not my measurement.

Is 5 percent GPU utilization normal?

Cast AI's 2026 report puts average GPU utilization at 5 percent across the Kubernetes clusters it analysed, before optimization, with a best case of 49 percent on a 136-GPU H200 fleet. That is a vendor study of all GPU workloads on Kubernetes, not a measure of LLM inference servers, so treat it as a warning rather than a forecast.

What is the difference between self-hosted, private-network and air-gapped?

Self-hosted says who runs the model server. Private network says where the traffic flows. Air-gapped says nothing can leave the network. Self-hosting is a cost and control choice. Air-gapping is a compliance tier that adds offline updates on top of owned or on-premises GPUs.

Should I self-host for data privacy or for cost?

Decide the data boundary first. If prompts cannot leave your network or tenancy, you need rented, owned or air-gapped GPUs whatever the cost model says, and the model gives you the fixed floor to budget, about $5,825 a month for two list-price GPUs before ops cost. If there is no such constraint, test a cheaper hosted model against your evals before buying GPUs.

Ready to Get Started?

Book a free 30-minute discovery call. We'll identify your biggest opportunities and show you exactly what AI automation can do for your business.

Book a Free Discovery Call

Suyash Raj
Suyash Raj Founder, Voxdonna AI and AiSewak. Writes here about n8n, AI agents, and voice automation.