LLM.co — Private AI & custom AI developmentCall +1 (206) 844-1326All inference local

LLM.co · Private AI economicsLLM Hosting & API Cost Calculator

Compare the true cost of self-hosting large language models, renting dedicated GPU infrastructure and paying for token-based API inference.

Open weights: compared against API pricing and self-hosting on B300 (Blackwell Ultra).

Monthly API cost
$6,930
3.3B in · 330M out
Dedicated hosting
$61,407
8× B300 (Blackwell Ultra) · RunPod
Owned infrastructure
$48,946
16× B200, amortized
Break-even volume
19.8B
input tokens/mo vs dedicated (+3.96B out)
Prices checked 2026-11-14 · sourced, dated, never filled inLLM.co
01 / 05

API token cost calculator

Estimate pay-as-you-go inference spend from users and requests, or from monthly token totals. Cached input, cache writes and reasoning tokens are each priced separately and never double-counted.

Verified 2026-11-14Moonshot (official)· Flat pricing, no context-length tiers (1M ctx). Cache writes billed separately: $2.00/MTok (5m TTL), $4.00/MTo…
Prices · USD per 1M tokens
$
$
$
$

Reasoning tokens bill at the output rate and are added to output below, once.

Input mode
Workload
Thinking tokens, if the model reasons.
tok/call
Repeated on every call.
Caching, extras, growth
%
%
This provider doesn't bill cache writes.
$
Cache storage, tool or search fees.
%
Daily
$315
over 22 operating days
Monthly
$6,930
Annual
$83,160
before growth
Per user / month
$14
Per model call
$0.0105
Per completed task
$0.0315
3 calls per task
Blended / 1M tokens
$1.91
12-month
$101K
36-month
$479K
60-month
$1.33M
at 50%/yr growth
Where the money goes3.3B in · 330M out
Output · $3,300 (48%)Uncached input · $3,300 (48%)Cached input · $330 (5%)Cache writes · $0.00 (0%)Reasoning (separate) · $0.00 (0%)

220K tasks → 660K model calls a month. Context overhead is 60% of input tokens.

Analysis · Pricing models

API token pricing vs. GPU hosting pricing

APIs charge for consumption: input tokens, output tokens and, increasingly, cached tokens and cache writes, each at its own rate. Dedicated infrastructure charges for reserved capacity: GPU-hours, whether or not a request arrives. One is a variable cost, the other a fixed cost, and that difference drives everything else.

  • Variable (API): cost scales linearly with tokens. No idle cost, no capacity planning, no minimum. The provider absorbs the idle hours and charges you a margin for doing so.
  • Fixed (dedicated or owned): cost is flat until you need another replica, then steps up. Every idle hour is paid for, so the effective price per token falls as utilization rises.

That is why APIs are usually cheaper at low or bursty volume and dedicated infrastructure can win at high, steady volume. The crossover depends on the model's API price, the GPU price, the model's throughput on that GPU, and how evenly your traffic fills the hours you pay for. Output tokens matter most: they typically cost four to eight times as much as input on the API, and they are also the expensive tokens to generate on your own GPUs, because decode runs one token at a time.

Analysis · API

Hidden costs of LLM API consumption

Per-million-token prices look small. These are the multipliers that make the invoice large:

  • Repeated system prompts. A 3,000-token system prompt sent with a 500-token question means six-sevenths of every request is overhead. Prompt caching cuts the price of that overhead, often to 10% or less of the input rate, but only when the prefix is byte-identical across requests.
  • Long conversation histories. Chat resends the whole thread each turn, so input grows with every turn and total input grows roughly with the square of conversation length.
  • Reasoning tokens. Thinking models generate hidden reasoning billed at the output rate. Anthropic and OpenAI both count these tokens as output. A short visible answer can carry thousands of billed reasoning tokens.
  • Autonomous agent loops. One task can mean 10–50 model calls, each resending tools, instructions and accumulated state. Calculator 5 models this explicitly.
  • RAG retrieval. Retrieved passages are input tokens. Five 800-token chunks per question add 4,000 input tokens to every call.
  • Retries and tool calls. Malformed tool calls, timeouts and validation failures all re-bill. A 10% retry rate is a 10% surcharge.
  • Multi-agent orchestration. Planner, worker and critic agents each read the shared context, so total tokens grow with the number of agents.
  • Cache write charges. Some providers bill writing a prefix into the cache at a premium over normal input (Anthropic charges 1.25× for its 5-minute cache). Caching pays off only when reads outnumber writes.
  • Pricing changes. Prices move in both directions; Google's Gemini 4 introductory prices, for example, are scheduled to rise on December 1, 2026. Budget against a range, not a point.
  • Multimodal inputs. Images, audio and PDFs are converted to tokens at rates set by each provider, often far more tokens than the equivalent text.
02 / 05

Dedicated GPU hosting cost calculator

Rent GPUs by the hour and serve an open-weight model yourself. Compare providers for the same configuration, and see whether the model fits, how fast it might run and what each token costs at your utilization.

Model to serve

2,800B total · 104B active · ships as MXFP4 weights (quantization-aware training) · weights ≈ 1,561 GB at FP4 (MXFP4/NVFP4)

GPUs
Production fit: 16× B300 (Blackwell Ultra)
Verified 2026-11-14RunPod· Listed per GPU-hour. per-GPU/hr billed per second.
Rental terms
$
%
Committed-use discount off the rate.
30.42 × 24 h = 730 h
No redundancy.
%
Share of paid hours doing useful work.
Other monthly costsAssumption
TB
$/TB-mo
$
$/mo
Share of an engineer's time for patching, monitoring and on-call.
ThroughputEstimate
/replica
From your own load test; replaces the estimate.
Hourly
$84.11
Daily
$2,019
Monthly
$61,407
Annual
$736,888
Total VRAM
2,304 GB
8× 288 GB
Largest model at this precision
~3,643B
params, at FP4 (MXFP4/NVFP4) with runtime headroom
Est. output throughput
1,745 tok/s
memory-bandwidth-bound at 64 sequences
Monthly capacity
16B
13.3B in + 2.66B out at 60%
Cost / 1M tokens
$3.84
at projected utilization
CheckWeights fit, but 2304 GB leaves little KV-cache room for concurrent users (about 2342 GB recommended).
8× B300 (Blackwell Ultra): providers, cheapest firsthatched = unverified
RunPodCommunity Cloud · per GPU$49,434/mo
Hyperstackon-demand · per GPU$52,121/mo
ScalewayOn-demand 8-GPU instance · 8-GPU nodes$57,319/mo
Crusoeon-demand (current) · per GPU$61,232/mo
RunPodSecure Cloud on-demand · per GPU$61,407/mo
NebiusOn-demand · 8-GPU nodes$64,386/mo
RunPodInstant Cluster (Clusters product) · 8-GPU nodes$71,921/mo
VerdaGPU instance on-demand · per GPU$81,382/mo
VerdaInstant cluster (16-144 GPUs) · 16-GPU nodes$81,382/mo
Oracle Cloud (OCI)on-demand (pay as you go) · per GPU$96,510/mo
AWSon-demand · 8-GPU nodes$112,875/mo

Sold as whole nodes means you pay for every GPU in the node, even if your replica needs fewer. Same storage, network and management assumptions applied to every row. Throughput is a planning estimate (memory-bandwidth roofline, 60% efficiency). Load-test before you commit.

Analysis · Hosting

How much does it cost to host an LLM?

The bill for self-hosting comes down to how many GPUs you need and for how many hours. Five things set that number: model size, the precision of its weights, how much context each request carries, how many requests run at once, and the throughput you need to hit. Price per GPU-hour then turns GPU-hours into dollars, and the spread between providers is wide: verified on-demand B300 prices in our registry run from $6.94 to $17.80 per GPU-hour for the same silicon.

Model size and quantization set the floor

Weights must sit in GPU memory. At 16-bit precision (BF16) each parameter takes two bytes; FP8 takes one; 4-bit formats such as MXFP4 and NVFP4 take roughly half a byte plus scaling factors. Meta's Llama 4 Maverick 17B-128E Instruct has 400B parameters: its BF16 checkpoint is 803 GB and the FP8 release roughly 417 GB. That halving is the difference between two 8-GPU H100 nodes and one. Quantization isn't free. Lower precision can cost accuracy, and the GPU only speeds it up if it has matching tensor cores: FP8 needs Hopper, Ada, Blackwell or MI300-class hardware, and native FP4 math needs Blackwell or the MI355X.

Context length and concurrency set the headroom

On top of the weights, every in-flight request holds a key-value (KV) cache that grows with its context. A replica serving 64 users with long prompts can need as much memory for KV cache as for weights. That is why the calculator separates a minimum footprint (weights plus runtime, about 15% headroom) from a production one (about 50% headroom for batching).

Mixture-of-experts: cheap to run, expensive to hold

Most frontier open-weight models are now mixture-of-experts (MoE). Each token is routed to a few experts, so only a fraction of the parameters do work per token. Kimi K3.1 Pro activates 104B of its 2,800B parameters per token, about 4%. But the router can pick any expert, so every expert must stay resident: its 1,561 GB checkpoint needs roughly 1,795 GB of GPU memory before any KV cache. MoE cuts compute per token, which helps throughput and cost per token. It does not cut memory. Under real batch sizes, nearly every expert gets touched on every decode step anyway, so memory bandwidth, not FLOPS, usually sets the speed.

Throughput turns a monthly bill into a cost per token

A $50,000-a-month cluster is cheap at 30 billion tokens and ruinous at 300 million. The calculator estimates throughput from memory bandwidth and compute, then applies your utilization: the share of paid hours that serve real traffic. Most enterprise deployments run well below 100%, because traffic follows the working day.

Analysis · Capacity

Why GPU memory is not the same as inference capacity

A model that fits in memory can still be unusable in production. Fitting is the entry ticket. Capacity is how many tokens per second you can serve at acceptable latency, and four other limits decide it:

Memory bandwidth limits decode

Generating each output token means reading the active weights from memory. Generating one token at a time is bandwidth-bound: an H100 SXM moves 3.35 TB/s and a B300 about 8 TB/s. Batching many requests amortizes each weight read across many tokens, which is why throughput rises with concurrency until compute or KV-cache memory runs out.

Prefill and decode behave differently

Prefill (reading the prompt) processes thousands of tokens in parallel and is compute-bound; it is fast per token. Decode (writing the answer) is sequential. A workload with five input tokens per output token is mostly decode time even though most tokens are input, so the calculator weighs both by your input-to-output ratio.

The KV cache competes with the weights

Each concurrent sequence holds keys and values for its whole context. Long contexts and many users can fill the memory left after the weights, capping concurrency and therefore throughput. Architectures that compress attention, such as multi-head latent attention, sparse attention and linear-attention hybrids, exist mainly to shrink this cost.

Parallelism needs the right interconnect

A model too big for one GPU is split. Tensor parallelism divides each layer across GPUs and exchanges activations every layer, so it needs NVLink or Infinity Fabric. Over PCIe it slows sharply beyond two to four GPUs. Expert parallelism places different MoE experts on different GPUs and routes tokens between them. Pipeline parallelism places layers on different nodes and tolerates slower links. A model spanning two nodes needs InfiniBand or RoCE between them and an engine that supports multi-node serving, such as vLLM or SGLang. The hosting calculator flags configurations that have enough total memory but the wrong topology.

03 / 05

Private LLM hardware ownership calculator

Buy the servers and run them in your facility or a colocation cage. Cash flow, accounting depreciation and economic cost are shown separately, because they answer different questions.

Hardware
$
Estimate 2026-11-14Reseller listing· Reseller listing (Million Miner, fetched 2026-11-14): Gigabyte G893-SD1-AAX5 8x HGX B200 server, $399,900, in …
$
Switches, optics, cabling, racking. Assumption.
Life and finance
years
%
%
months
0 = paid in cash.
Power and facility
kW
Estimate: 8 × 1000 W GPU power × 1.5 for host.
$/kWh
$/kW-mo
0 if you own the facility.
%
Verified 2026-11-14 US average commercial electricity price (Jan–Aug 2026): $0.1404 USD/kWhVerified 2026-11-14 Average data center PUE (Uptime Institute 2024 survey): 1.56 ratioEstimate 2026-11-14 Wholesale colocation, 250–500 kW (CBRE 2026 outlook): $215 USD/kW-month
OperationsAssumption
$/mo
%
of hardware cost
$/mo
Initial capex
$849,800
2 servers · 16 GPUs · 24 kW IT
Monthly opex
$30,329
power, colo, network, support, staff
Annual opex
$363,952
Amortized monthly
$48,946
capital recovery + opex
3-year TCO
$1.65M
cash basis, net of resale
5-year TCO
$2.77M
includes a hardware refresh
Cost / 1M tokens
$1.56
31.4B tokens/mo capacity
Payback vs renting
21.5 months
vs RunPod on-demand at $5.98/GPU-hr
Annual saving vs renting
$250,800
rent: $69,846/mo for 16 GPUs
Three ways to account for the same hardware
ViewMonthlyWhat it means
Cash flow$849,800Capex paid up front, then opex each month
Depreciation$15,205Straight-line (cost − residual) over 4 years: the P&L charge
Economic$18,617Level capital cost including the 8% cost of money: used for comparisons
Check16 GPUs spans 2 nodes. That needs InfiniBand/RoCE between nodes and an engine running pipeline or expert parallelism across them (vLLM, SGLang).
Stop renting intelligence. Start owning your AI infrastructure.

We size, procure, install and operate private LLM hardware, and hand you the keys.

Get a deployment quote →
Analysis · Self-hosting

Hidden costs of self-hosting large language models

The GPU line item is the visible part. A credible total cost of ownership also carries:

  • GPU acquisition and lead time. Datacenter GPUs have no public list price. Quotes vary with volume, and delivery can take months.
  • Electricity and cooling. An 8-GPU Blackwell server draws on the order of 10–15 kW. Multiply by power usage effectiveness (PUE) for cooling and conversion losses; the industry average is about 1.56.
  • Colocation. Wholesale colocation is priced per kW per month, and high-density AI racks often need liquid cooling that older halls can't provide.
  • Network infrastructure. Multi-node inference needs 400–800 Gb/s fabric, switches and optics: a capital cost that is easy to forget.
  • Model storage. Trillion-parameter checkpoints run to terabytes, and you will keep several versions.
  • Security. Hardening, secrets, network segmentation, vulnerability management and audits for the serving stack.
  • Engineering and monitoring. Someone owns upgrades, driver and engine versions, autoscaling, dashboards, alerting and on-call.
  • Redundancy. One replica is a single point of failure. N+1 doubles a one-replica bill.
  • Hardware replacement. GPUs fail, and a four-to-five-year life means budgeting the next purchase before this one is paid off.
  • Idle capacity. Traffic that peaks at 10 a.m. and idles overnight leaves owned GPUs dark for much of the day. Utilization is the single biggest lever on cost per token.
  • Model upgrades. A new model may need different memory, a different precision or a new engine release. Plan for re-validation, not just a weights swap.
04 / 05

API vs. self-hosting break-even calculator

The four strategies on one chart. Slide the volume and watch where fixed infrastructure overtakes per-token pricing. Infrastructure adds replicas as volume grows, and a line breaks where a strategy runs out of capacity.

Volume
tokens / mo
2B output tokens / mo
%
%
The rest runs on owned hardware.
%
Prices and infrastructure (shared with calculators 1–3)
$
$
$
8× B300 (Blackwell Ultra) → $61,407/mo per unit
$
2× → $48,946/mo amortized, incl. $30,329 opex (edit in calculator 3)
years
/replica
Beyond this, marked insufficient.
Monthly, annual and cumulative cost by deployment strategy
StrategyMonthlyAnnual3-yr5-yr
API inferencepay per token$31,000$372K$2.14M$5.95M
Dedicated cloud GPUs1 unit of 8 GPUs$61,407$737K$4.3M$10.7M
Owned hardware1 unit of 16 GPUs$48,946$587K$2.1M$4.94M
Hybrid30% API, 1 owned unit$58,246$699K$2.4M$5.7M
$1,000$10K$100K$1M$10M100M1B10B100B1TMonthly input tokens (log)Monthly cost (log)you · 10B12
API inferenceDedicated cloud GPUsOwned hardwareHybrid
  1. 1 Owned hardware matches the API at 15.8B input tokens/mo ($48,946/mo)
  2. 2 Hybrid matches the API at 22.6B input tokens/mo ($69,923/mo)
Break-even vs dedicated
19.8B
Never at this utilization: a full replica costs more per token than the API.
Break-even vs owned
15.8B
input/mo · 2,393 users
Lowest-cost viable option
API inference
at the current volume
Dedicated capacity / replica
13.3B
input tokens / mo at your mix
Owned capacity / unit
26.2B
input tokens / mo
API cost / 1M input
$3.10
incl. 0.2 output tokens each

Financial break-even is not proof of capacity. It's the volume where a fixed monthly bill equals the API bill. Whether one replica can serve that volume depends on throughput, so the chart adds units as volume grows and breaks the line where a strategy runs out of room.

Analysis · Break-even

When is self-hosting an LLM cheaper than using an API?

Self-hosting wins when a fixed monthly bill is spread over enough tokens to beat the API's per-token price. That depends on:

  • Monthly token volume. Below the financial break-even, the API is cheaper by definition.
  • Sustained GPU utilization. Break-even assumes the tokens fit in the hours you pay for. At 30% utilization the effective GPU price is more than three times the list rate.
  • Input-to-output ratio. Input-heavy workloads such as RAG and classification favor self-hosting, because prefill is cheap on your own GPUs while the API still charges per input token. Output-heavy generation narrows the gap.
  • Quantization. A 4-bit model needs half the GPUs of an FP8 one, if quality holds.
  • Prompt caching. API cache discounts lower the API side of the comparison, often a lot. Engines like vLLM and SGLang also reuse prefixes on your own hardware.
  • Batch processing. Offline jobs can run at full utilization overnight, and many APIs discount batch traffic by about 50%.
  • Model routing. Sending easy requests to a small model changes both sides of the comparison.
  • Engineering overhead and depreciation. Staff time and hardware write-downs are fixed costs that raise the break-even point.
  • Peak versus sustained demand. Capacity must cover the peak, but cost per token is earned on the average.
  • Actual achievable throughput. Use a measured figure from your own load test whenever you can; estimates can be off by a factor of two in either direction.

That is why there is no universal break-even threshold. Every model has a different API price, every GPU a different rental rate, and every model–GPU pair a different throughput. A break-even quoted without those three numbers isn't meaningful. The calculator above shows two figures. The financial break-even is the volume where a fixed bill equals the API bill. The feasibilitycheck asks whether one replica can actually serve that volume. Sometimes it can't, and adding replicas just moves the break-even further out.

Worked example

Kimi K3.1 Pro: API vs. dedicated B300s

Moonshot AI's Kimi K3.1 Pro is open-weight and also sold by API at $2.00 input, $0.20 cached input and $10.00 output per million tokens (verified on 2026-11-14, source). Its 1,561 GB MXFP4 checkpoint needs about 1,795 GB of GPU memory, so one 8× B300 node (2,304 GB) holds it with thin KV headroom and 8× B200 (1,440 GB) does not: B200 deployments need 16 GPUs. Its license is MIT-style, but Model-as-a-Service businesses above US$20M in revenue need a separate agreement.

API cost at a 5:1 input-to-output ratio, 50% of input cached

Monthly inputMonthly outputMonthly API cost
10M2M$31
100M20M$310
500M100M$1,550
1B200M$3,100
5B1B$15,500
10B2B$31,000
20B4B$62,000
50B10B$155,000
100B20B$310,000

Each million input tokens, with its 200,000 output tokens, costs $3.10 on the API.

Dedicated capacity that can hold the model

Provider · offeringConfigHourlyMonthly (730 h)Break-even input / mo
RunPodCommunity Cloud · verified 2026-11-148× B300$55.52$40,53013.1B
Hyperstackon-demand · verified 2026-11-148× B300$59.20$43,21613.9B
ScalewayOn-demand 8-GPU instance · unverified8× B300$66.32$48,41415.6B
Crusoeon-demand (current) · verified 2026-11-148× B300$71.68$52,32616.9B
RunPodSecure Cloud on-demand · verified 2026-11-148× B300$71.92$52,50216.9B
NebiusOn-demand · verified 2026-11-148× B300$76.00$55,48017.9B
RunPodInstant Cluster (Clusters product) · verified 2026-11-148× B300$86.32$63,01420.3B
RunPodCommunity Cloud · verified 2026-11-1416× B200$95.68$69,84622.5B
Hyperstackon-demand · verified 2026-11-1416× B200$96.00$70,08022.6B
VerdaGPU instance on-demand · verified 2026-11-148× B300$99.28$72,47423.4B
VerdaInstant cluster (16-144 GPUs) · verified 2026-11-148× B300$99.28$72,47423.4B
Oracle Cloud (OCI)on-demand (pay as you go) · verified 2026-11-148× B300$120.00$87,60028.3B
LambdaOn-demand 8x instance · verified 2026-11-1416× B200$123.04$89,81929B
LambdaOn-demand 4x instance · verified 2026-11-1416× B200$124.64$90,98729.4B
LambdaOn-demand 2x instance · verified 2026-11-1416× B200$126.24$92,15529.7B
RunPodSecure Cloud on-demand · verified 2026-11-1416× B200$127.84$93,32330.1B
LambdaOn-demand 1x instance · verified 2026-11-1416× B200$127.84$93,32330.1B
NebiusOn-demand · verified 2026-11-1416× B200$136.00$99,28032B
Crusoeon-demand (new, effective Dec 1 2026) · verified 2026-11-1416× B200$136.00$99,28032B
CoreWeaveOn-demand 8-GPU node · verified 2026-11-1416× B200$137.60$100,44832.4B
AWSon-demand · verified 2026-11-148× B300$142.42$103,96433.5B
VerdaInstant cluster (16-144 GPUs) · verified 2026-11-1416× B200$152.10$111,03035.8B
VerdaGPU instance on-demand · verified 2026-11-1416× B200$152.13$111,05335.8B
RunPodInstant Cluster (Clusters product) · verified 2026-11-1416× B200$153.44$112,01136.1B
Oracle Cloud (OCI)on-demand (pay as you go) · verified 2026-11-1416× B200$224.00$163,52052.7B
AWSon-demand · verified 2026-11-1416× B200$227.87$166,34253.7B

At these prices the cheapest verified option, RunPod at $40,530 a month, reaches a theoretical cost break-even at about 13.1B input and 2.61B output tokens per month. That is a financial break-even, not proof the node can process that much. Whether one 8-GPU node sustains it depends on measured throughput at your context lengths and concurrency. Calculator 4 estimates this, and it shows that at 60% utilization a full replica can cost more per token than the API. Self-hosting Kimi pays when you can keep the GPUs busy, or when data-handling requirements rule the API out.

These prices replace an early draft table: several of its figures (Verda, Nebius and AWS B300 rates) no longer match the providers' own pages. Hyperstack's pricing page lists a B300 rate while its banner still describes B300 on-demand as upcoming, so confirm availability.

05 / 05

Agentic AI infrastructure cost calculator

Agents call models many times per task, resend context at every step and retry when tools fail. Start from a preset, then route each share of traffic to a premium API, a low-cost API or a private model.

Preset scenario

Long repository context, many tool calls per change, heavy reasoning. Illustrative starting values, not benchmarks.

Workload
%
%
$
Model routing100%
%
%
%
$
From calculator 2's effective cost at projected utilization.
Sizes private throughput.
Monthly tokens
9.63B
228K calls incl. retries
Monthly spend
$7,224
Annual spend
$86.7K
Per agent / month
$289
Per completed task
$1.09
6,600 tasks / mo
Routing saves
$2,517
/mo vs all-premium ($9,741)
Premium API · $6,726 (93%)Low-cost API · $366 (5%)Private · $0.00 (0%)Tools & APIs · $132 (2%)
Private tokens / month
0
nothing routed privately
Private infrastructure
—

Agent workloads resend context on every step, so input tokens dominate: 9.11B input vs 524M output here. Caching and routing usually save more than haggling over output prices.

Recommendation

Enterprise deployment recommendation

A deterministic recommendation from your calculator inputs plus the factors cost can't capture: data sensitivity, regulation, team capability and licensing.

Most sensitive data the system touches
In-house infrastructure capability
$

Also uses: 10B input tokens/mo, 50% growth, Kimi K3.1 Pro licensing, and the infrastructure from calculators 2–3.

Recommended for this scenario

API-first deployment

Use pay-as-you-go APIs now; revisit when volume or data rules change.

Why
  • At this volume the API is the lowest-cost option ($31,000/month vs $48,946 self-hosted).
  • Pay-per-token has no idle capacity, no capex and nothing to operate.
API
$31,000
/ month
Dedicated
$61,407
/ month
Owned
$48,946
/ month amortized
Hybrid
$58,246
/ month

The rules are fixed and run in your browser, so the same inputs always give the same answer. Cost is one input among several: the cheapest option loses if it fails on data handling, team capability, licensing or capacity.

Analysis · Security

Private LLMs vs. public APIs for enterprise security

Cost is rarely the only reason enterprises self-host. These are the security questions that actually decide it:

  • Data sovereignty. Where is the prompt processed and stored, and under which jurisdiction? Many APIs now offer regional processing (often at a premium); self-hosting puts it wherever you put the hardware.
  • Confidentiality. Major API providers contractually commit not to train on business API traffic, but data still crosses your boundary. For privileged legal material, unreleased financials or classified work, crossing the boundary may itself be the problem.
  • Contractual obligations. Client contracts, NDAs and data processing agreements may restrict sub-processors. Check whether your AI provider is an approved one.
  • Retention policies. API providers keep logs for abuse monitoring unless you qualify for zero-data-retention terms. On your own stack, retention is your setting.
  • Regulation. HIPAA, GLBA, GDPR, ITAR, CJIS and sector rules set obligations on how data is handled. They do not ban third-party processing: a signed BAA or DPA with a compliant provider can satisfy them.
  • Vendor dependency. Models are deprecated, prices change and terms get rewritten. Open weights you host can be pinned and kept.

Two cautions apply in both directions. Self-hosting does not make a system compliant by itself: access control, encryption, audit logging, retention and incident response still have to be built and evidenced. And a third-party API is not inherently insecure: a well-governed API with the right contract can be the more secure choice than an under-maintained private cluster. See AI governance for the controls we put around either.

Analysis · Architecture

Hybrid AI infrastructure: the best of both models

Most enterprises end up hybrid. Neither pure option meets every need at a sensible price, and a hybrid estate typically combines:

  • Privately hosted open-weight models for high-volume, repetitive or sensitive work: extraction, classification, summarization, internal search.
  • Premium third-party APIs for the hardest reasoning on non-sensitive data, where a frontier model's quality is worth its price.
  • Intelligent model routing that sends each request to the cheapest model able to handle it, with escalation when confidence is low.
  • Local embeddings so documents are vectorized inside your boundary, and private RAG infrastructure so retrieval never ships your corpus to a third party.
  • A centralized AI gateway that every application calls, so routing, rate limits, cost attribution and redaction live in one place.
  • Access controls and audit logging tied to your identity provider, recording who asked what, which model answered and what data it saw.
  • Data classification policies the gateway enforces: regulated or confidential requests are pinned to private models; public or low-risk ones may go out.

In practice that means contract review, patient summaries and internal search run on a private model, while a marketing team's brainstorming and a developer's open-source coding questions go to a frontier API. The break-even calculator's hybrid line models exactly this: a share of tokens routed to the API and the rest on owned hardware. Compare it with our hybrid deployment work.

Find out whether private AI makes financial sense for your organization

Stop renting intelligence. Start owning your AI infrastructure.

An engineer reviews your scenario against real quotes, your traffic logs and your data rules, then returns a costed architecture: API, dedicated, owned or hybrid.

Free · no sign-up needed to use the calculators

Get a custom enterprise LLM infrastructure assessment.

Ask for an infrastructure assessment, a private LLM deployment quote or a consultation. You decide whether your calculator scenario is attached. We use it only to answer you.

Assessment requestLLM.CO · FORM 730-H
I'd like
An engineer replies within one business day

Methodology & data

How the numbers are calculated

Formulas

Monthly requests = users × requests/user/day × operating days Monthly input tokens = requests × (input + context overhead) × calls per task Monthly output tokens = requests × output × calls per task (+ reasoning, when billed as output) Monthly API cost = uncached/1M × input price + cached/1M × cached price + cache writes/1M × write price + output/1M × output price Monthly hosting = GPU-hours × rate × (1 − reserved discount) × replicas + storage + network (per replica) + management Owned, amortized = capital recovery(capex − residual, rate, life) + opex Break-even (input/mo) = fixed monthly cost ÷ API cost per input token at your output ratio and cache rate

Projections compound growth monthly. Break-even and the 3- and 5-year totals re-evaluate infrastructure each month, so a deployment adds replicas when growth outruns capacity instead of scaling for free. A spare replica (N+1) adds cost but not capacity.

Capacity estimate

Decode throughput per replica is the lesser of a memory-bandwidth bound and a compute bound. The bandwidth bound is the weights touched per step divided by 60% of aggregate HBM bandwidth, times concurrent sequences. For MoE models, the share of experts touched grows with batch size as 1 − (1 − active/total)batch. The compute bound is 2 × active parameters FLOPs per token at 35% of dense peak. Prefill uses 50% of dense peak. Memory fit needs the weights × 1.15 as a minimum and × 1.5 for production. These are planning estimates; enter a measured tokens-per-second figure to replace them.

Model registry

Specs from each model's official card; API prices from the first-party price page where one exists, otherwise a named host. Proprietary models are listed for API comparison only.

Model registry: parameters, weights, license and API pricing
ModelParams (total / active)ContextWeightsLicenseAPI $/1M in · cached · outSource
Kimi K3.1 ProMoonshot AI · 2026-102,800B / 104B1,049K1,561 GBMXFP4 weights (quantization-aware training)Kimi K3.1-Pro License (custom, MIT-style)Modified-MIT style. Free commercial use, modification, redistribution. (a) If licensee/affiliates operate a Model-as-a-Service business with >US$20M revenue ove…$2.00 · $0.20 · $10.00Moonshot (official)Verified platform.kimi.ai
Kimi K3Moonshot AI · 2026-062,800B / 104B1,049K1,561 GBMXFP4 weights (quantization-aware training)Kimi K3 License (custom, MIT-style; same terms as K3.1-Pro with model name 'Kimi K3')Modified-MIT style. Free commercial use, modification, redistribution. (a) If licensee/affiliates operate a Model-as-a-Service business with >US$20M revenue ove…$3.00 · $0.30 · $15.00Moonshot (official)Verified platform.kimi.ai
DeepSeek-V4.1-Flash-1017DeepSeek · 2026-10552B / 16B1,049K510 GBFP8 with FP4 routed expertsMIT$0.30 · $0.006 · $1.20DeepSeek (official)Verified api-docs.deepseek.com
DeepSeek-V4-Pro-0813DeepSeek · 2026-081,600B / 49B1,049K893 GBFP8 with FP4 routed expertsMIT$1.32 · $0.044 · $3.96DeepSeek (official)Verified api-docs.deepseek.com
Qwen3.8-2.4T-A95B (API: Qwen3.8-Max)Alibaba (Qwen) · 2026-082,400B / 95B262K4,892 GBBF16 (official FP8 also released)Qwen3.8-Max License (custom)Custom 'Qwen3.8-Max License' (MIT-style). (1) Products with >100M MAU or >US$20M monthly revenue must display the model name in the UI. (2) If licensee/affiliat…$2.00 · $0.25 · $6.00Qwen Cloud / Alibaba (official, Qwen3.8-Max)Verified qwencloud.com
Qwen3.8-Flash-Next (API: Qwen3.8-Flash)Alibaba (Qwen) · 2026-08125B / 6B262K360 GBBF16 (official FP8 also released)Qwen Community License 1.0 (custom)Custom MIT-style. Model name must be displayed in products with >100M MAU or >US$20M monthly revenue. Any licensee/affiliate running a Model-as-a-Service or AI …$0.15 · $0.016 · $0.47Qwen Cloud / Alibaba (official, Qwen3.8-Flash)Verified qwencloud.com
Qwen3.8-27BAlibaba (Qwen) · 2026-0827B / 27B262K56 GBBF16 (official FP8 also released)Apache-2.0$0.50 · $0.10 · $3.00Qwen Cloud / Alibaba (official)Verified qwencloud.com
GLM-5.3Zhipu AI (Z.ai) · 2026-08753B / n/p1,049K756 GBFP8 (official BF16 also released)GLM-5.3 License (custom)Custom 'GLM-5.3 License' (MIT-style). Free use, modify, distribute, commercial use. If licensee/affiliates operate a Model-as-a-Service business with >US$10 bil…$1.40 · $0.26 · $4.40Z.ai (official)Verified docs.z.ai
GLM-5.3-FlashZhipu AI (Z.ai) · 2026-08320B / 18B1,049K328 GBFP8 (official BF16 also released)MIT$0.15 · $0.030 · $0.50Z.ai (official)Verified docs.z.ai
Llama 4 Maverick 17B-128E InstructMeta · 2025-04400B / 17B1,000K803 GBBF16 (official FP8 also released)Llama 4 Community License AgreementLicensees whose products had >700M monthly active users in the preceding month must request a license from Meta (sole discretion); must display 'Built with Llam…$0.35 · — · $1.15Google Vertex (via OpenRouter listing)Verified openrouter.ai
Llama 4 Scout 17B-16E InstructMeta · 2025-04109B / 17B10,000K217 GBBF16Llama 4 Community License AgreementLicensees whose products had >700M monthly active users in the preceding month must request a license from Meta (sole discretion); must display 'Built with Llam…$0.10 · — · $0.30DeepInfraVerified deepinfra.com
Mistral Large 4 (Mistral-Large-4-1T-A52B)Mistral AI · 2026-111,000B / 49B1,000K1,061 GBFP8 (official NVFP4 also released)Mistral Ecosystem Open-Weight License (modified MIT)Commercial and non-commercial use allowed, but if licensee or affiliates operate a 'Model as a Service' business (giving third parties inference or post-trainin…$0.70 · $0.070 · $2.10Mistral AI (La Plateforme)Verified docs.mistral.ai
Mistral Medium 3.5 128BMistral AI · 2026-04128B / 128B256K134 GBFP8Modified MIT License (Mistral)No rights granted if the licensee company's (or employer's) global consolidated monthly revenue exceeded $20 million in the preceding month; applies to derivati…unavailablemodel card
Mistral Small 4 119B A6BMistral AI · 2026-03119B / 6.5B256K121 GBFP8 (official NVFP4 also released)Apache License 2.0$0.15 · $0.015 · $0.60Mistral AI (La Plateforme)Verified docs.mistral.ai
gpt-oss-120bOpenAI · 2025-08117B / 5.1B131K65 GBMXFP4 MoE weightsApache License 2.0$0.15 · — · $0.60Together AIVerified together.ai
gpt-oss-20bOpenAI · 2025-0821B / 3.6B131K14 GBMXFP4 MoE weightsApache License 2.0$0.030 · — · $0.14DeepInfra (via OpenRouter listing)Verified openrouter.ai
Gemma 4 31B (instruction-tuned)Google DeepMind30.7B / 30.7B262K63 GBBF16 (official 4-bit QAT also released)Apache License 2.0 (per HF model metadata; Gemma 4 license page linked from card)$0.20 · — · $0.40DeepInfraVerified deepinfra.com
Gemma 4 26B A4B (instruction-tuned)Google DeepMind25.2B / 3.8B262K52 GBBF16 (official 4-bit QAT also released)Apache License 2.0 (per HF model metadata; Gemma 4 license page linked from card)$0.070 · — · $0.34DeepInfraVerified deepinfra.com
Gemma 4 12B Unified (instruction-tuned)Google DeepMind12B / 12B262K24 GBBF16 (official 4-bit QAT also released)Apache License 2.0 (per HF model metadata; Gemma 4 license page linked from card)unavailablemodel card
GPT-6 AstraOpenAI · API onlynot disclosed1,050K—Proprietary$10.00 · $1.00 · $50.00OpenAI (official)Verified developers.openai.com
GPT-6.1 SolOpenAI · API onlynot disclosed1,050K—Proprietary$2.00 · $0.10 · $10.00OpenAI (official)Verified developers.openai.com
GPT-6.1 TerraOpenAI · API onlynot disclosed1,050K—Proprietary$1.00 · $0.050 · $5.00OpenAI (official)Verified developers.openai.com
GPT-6 LunaOpenAI · API onlynot disclosed1,050K—Proprietary$0.10 · $0.010 · $0.50OpenAI (official)Verified developers.openai.com
Claude Fable 5.2Anthropic · API onlynot disclosed1,000K—Proprietary$8.00 · $0.20 · $40.00Anthropic (official)Verified platform.claude.com
Claude Opus 5.5Anthropic · API onlynot disclosed1,000K—Proprietary$4.00 · $0.20 · $20.00Anthropic (official)Verified platform.claude.com
Claude Sonnet 5.5Anthropic · API onlynot disclosed1,000K—Proprietary$2.00 · $0.10 · $10.00Anthropic (official)Verified platform.claude.com
Claude Haiku 5.5Anthropic · API onlynot disclosed1,000K—Proprietary$0.10 · $0.010 · $0.50Anthropic (official)Verified platform.claude.com
Gemini 4 CarbonGoogle · API onlynot disclosed1,000K—Proprietary$2.00 · $0.10 · $10.00Google (Gemini API)Verified aistudio.google.com
Gemini 4 ArgonGoogle · API onlynot disclosed1,000K—Proprietary$2.00 · $0.10 · $10.00Google (Gemini API)Verified aistudio.google.com
Gemini 4 HydrogenGoogle · API onlynot disclosed1,000K—Proprietary$1.50 · $0.075 · $7.50Google (Gemini API)Verified aistudio.google.com
Gemini 3.5 Flash-LiteGoogle · API onlynot disclosed——Proprietary$0.30 · $0.030 · $2.50Google (Gemini API)Verified aistudio.google.com

GPU rental prices (on-demand and reserved)

Spot, preemptible and marketplace prices are excluded here and off by default in the calculator; they can vanish mid-job.

Cloud GPU rental prices with sources
GPUProvider · offering$/GPU-hrAs listed730 h / GPUSource
RTX 4090RTX 4090RunPodCommunity Cloud$0.34$0.34per GPU$248Verified runpod.io
RTX 4090RTX 4090RunPodSecure Cloud on-demand$0.89$0.89per GPU$650Verified runpod.io
RTX 5090RTX 5090RunPodCommunity Cloud$0.69$0.69per GPU$504Verified runpod.io
RTX 5090RTX 5090RunPodSecure Cloud on-demand$1.39$1.39per GPU$1,015Verified runpod.io
RTX PRO 6000 BlackwellRTX Pro 6000 SEHyperstackreserved ('starting from') · Hyperstack VM (RTX Pro 6000 SE) · term not stated$1.30$1.30per GPU$949Verified hyperstack.cloud
RTX PRO 6000 BlackwellRTX PRO 6000 BlackwellRunPodCommunity Cloud$1.69$1.69per GPU$1,234Verified runpod.io
RTX PRO 6000 BlackwellRTX PRO 6000NebiusOn-demand$1.80$1.80per GPU$1,314Verified nebius.com
RTX PRO 6000 BlackwellRTX Pro 6000 SEHyperstackon-demand · Hyperstack VM (RTX Pro 6000 SE)$1.85$1.85per GPU$1,351Verified hyperstack.cloud
RTX PRO 6000 BlackwellRTX PRO 6000 (High Memory)CoreWeaveOn-demand 8-GPU node · RTX PRO 6000 High Memory$2.50$20.00per 8-GPU instance$1,825Verified coreweave.com
RTX PRO 6000 BlackwellRTX PRO 6000 BlackwellRunPodSecure Cloud on-demand$2.69$2.69per GPU$1,964Verified runpod.io
RTX PRO 6000 BlackwellRTX PRO 6000 96GBVerdaGPU instance on-demand$2.84$2.84per GPU$2,070Verified verda.com
RTX PRO 6000 BlackwellRTX PRO 6000 BlackwellAWSon-demand · g7e.48xlarge$4.14$33.14per 8-GPU instance$3,024Verified aws.amazon.com
RTX PRO 6000 BlackwellRTX PRO 6000 BlackwellGoogle Cloudon-demand · g4-standard-384$4.50$36.00per 8-GPU instance$3,285Verified cloud.google.com
RTX PRO 6000 BlackwellRTX PRO 6000 BlackwellOracle Cloud (OCI)on-demand (pay as you go) · RTX PRO 6000 shape (name unconfirmed)$4.50$4.50per GPU$3,285Verified oracle.com
L40SL40SRunPodCommunity Cloud$0.79$0.79per GPU$577Verified runpod.io
L40SL40SRunPodSecure Cloud on-demand$1.09$1.09per GPU$796Verified runpod.io
L40SL40SCrusoeon-demand (current) · Crusoe GPU instance$1.50$1.50per GPU$1,095Verified crusoe.ai
L40SL40S (Intel CPU)NebiusOn-demand$1.55$1.55per GPU$1,132Verified nebius.com
L40SL40S (AMD CPU)NebiusOn-demand$1.82$1.82per GPU$1,329Verified nebius.com
L40SL40S 48GBVerdaGPU instance on-demand$2.02$2.02per GPU$1,473Verified verda.com
L40SL40SCoreWeaveOn-demand 8-GPU node · L40S$2.25$18.00per 8-GPU instance$1,643Verified coreweave.com
L40SL40SAWSon-demand · g6e.12xlarge$2.62$10.49per 4-GPU instance$1,915Verified aws.amazon.com
L40SL40SOracle Cloud (OCI)on-demand (pay as you go) · BM.GPU.L40S.4 (shape name unconfirmed)$3.50$3.50per GPU$2,555Verified oracle.com
L40SL40SAWSon-demand · g6e.48xlarge$3.77$30.13per 8-GPU instance$2,749Verified aws.amazon.com
A100 80GBA100 PCIe 80GBRunPodCommunity Cloud$1.19$1.19per GPU$869Verified runpod.io
A100 80GBA100 SXM4 80GBFluidstackon-demand · Fluidstack A100 SXM4 80GB$1.30$1.30per GPU$949Unverified gpuperhour.com
A100 80GBA100 SXM 80GBHyperstackreserved ('starting from') · Hyperstack VM (A100 SXM 80GB) · term not stated$1.36$1.36per GPU$993Verified hyperstack.cloud
A100 80GBA100 SXM 80GBRunPodCommunity Cloud$1.39$1.39per GPU$1,015Verified runpod.io
A100 80GBA100 NVLink 80GBHyperstackon-demand · Hyperstack VM (A100 NVLink 80GB)$1.40$1.40per GPU$1,022Verified hyperstack.cloud
A100 80GBA100 SXM 80GBHyperstackon-demand · Hyperstack VM (A100 SXM 80GB)$1.60$1.60per GPU$1,168Verified hyperstack.cloud
A100 80GBA100 80GB PCIeCrusoeon-demand (current) · Crusoe GPU instance$2.00$2.00per GPU$1,460Verified crusoe.ai
A100 80GBA100 PCIe 80GBRunPodSecure Cloud on-demand$2.09$2.09per GPU$1,526Verified runpod.io
A100 80GBA100 SXM 80GBRunPodInstant Cluster (Clusters product)$2.15$2.15per GPU$1,570Verified runpod.io
A100 80GBA100 SXM 80GBRunPodSecure Cloud on-demand$2.19$2.19per GPU$1,599Verified runpod.io
A100 80GBA100 80GB SXMCrusoeon-demand (current) · Crusoe GPU instance$2.30$2.30per GPU$1,679Verified crusoe.ai
A100 80GBA100 SXM4 80GBVerdaGPU instance on-demand$2.39$2.39per GPU$1,742Verified verda.com
A100 80GBA100 80GBCoreWeaveOn-demand 8-GPU node · A100$2.70$21.60per 8-GPU instance$1,971Verified coreweave.com
A100 80GBA100 SXM 80GBLambdaOn-demand 8x instance · HGX A100 8x 80GB$3.19$3.19per GPU, 8-GPU nodes$2,329Verified lambda.com
A100 80GBA100 80GBAWSon-demand · p4de.24xlarge$3.43$27.45per 8-GPU instance$2,505Verified aws.amazon.com
A100 80GBA100 80GBOracle Cloud (OCI)on-demand (pay as you go) · BM.GPU.A100-v2.8$4.00$4.00per GPU$2,920Verified oracle.com
A100 80GBA100 80GBMicrosoft Azureon-demand · Standard_ND96amsr_A100_v4$4.10$32.77per 8-GPU instance$2,990Verified azure.microsoft.com
A100 80GBA100 80GBGoogle Cloudon-demand · a2-ultragpu-8g$5.07$40.55per 8-GPU instance$3,700Verified cloud.google.com
H100 80GBH100 PCIe 80GBRunPodCommunity Cloud$1.99$1.99per GPU$1,453Verified runpod.io
H100 80GBH100 SXM5Fluidstackon-demand · Fluidstack H100 SXM5$2.10$2.10per GPU$1,533Unverified gpuperhour.com
H100 80GBH100 NVLinkHyperstackon-demand · Hyperstack VM (H100 NVLink)$2.60$2.60per GPU$1,898Verified hyperstack.cloud
H100 80GBH100 SXM 80GBRunPodCommunity Cloud$2.69$2.69per GPU$1,964Verified runpod.io
H100 80GBH100 SXMHyperstackreserved ('starting from') · Hyperstack VM (H100 SXM) · term not stated$2.72$2.72per GPU$1,986Verified hyperstack.cloud
H100 80GBH100 PCIe 80GBRunPodSecure Cloud on-demand$2.89$2.89per GPU$2,110Verified runpod.io
H100 80GBH100 80GBAWS3-yr reserved (standard, no upfront) · p5.48xlarge · 3-year$2.97$23.78per 8-GPU instance$2,170Verified aws.amazon.com
H100 80GBH100 SXMHyperstackon-demand · Hyperstack VM (H100 SXM)$3.20$3.20per GPU$2,336Verified hyperstack.cloud
H100 80GBH100 PCIe 80GBLambdaOn-demand 1x instance · H100 PCIe 1x$3.79$3.79per GPU$2,767Verified lambda.com
H100 80GBH100 80GBCrusoeon-demand (current) · Crusoe GPU instance$3.90$3.90per GPU$2,847Verified crusoe.ai
H100 80GBH100 SXM 80GBRunPodSecure Cloud on-demand$4.39$4.39per GPU$3,205Verified runpod.io
H100 80GBHGX H100NebiusOn-demand$4.50$4.50per GPU, 8-GPU nodes$3,285Verified nebius.com
H100 80GBH100 SXM 80GBLambdaOn-demand 8x instance · HGX H100 8x$4.59$4.59per GPU, 8-GPU nodes$3,351Verified lambda.com
H100 80GBH100 SXM 80GBLambdaOn-demand 4x instance · H100 SXM 4x$4.69$4.69per GPU, 4-GPU nodes$3,424Verified lambda.com
H100 80GBH100 SXM 80GBRunPodInstant Cluster (Clusters product)$4.79$4.79per GPU$3,497Verified runpod.io
H100 80GBH100 SXM 80GBLambdaOn-demand 2x instance · H100 SXM 2x$4.79$4.79per GPU, 2-GPU nodes$3,497Verified lambda.com
H100 80GBH100 SXM 80GBLambdaOn-demand 1x instance · H100 SXM 1x$4.89$4.89per GPU$3,570Verified lambda.com
H100 80GBH100 SXM5 80GBVerdaGPU instance on-demand$5.24$5.24per GPU$3,826Verified verda.com
H100 80GBH100 80GBAWS1-yr reserved (convertible, no upfront) · p5.48xlarge · 1-year$5.42$43.34per 8-GPU instance$3,955Verified aws.amazon.com
H100 80GBH100Lambda1-Click Cluster 256+ GPUs (2 weeks to 1 year term) · 1cc-h100-256 · 2 weeks to 1 year$5.54$5.54per GPU, 8-GPU nodes$4,044Verified lambda.com
H100 80GBH100Lambda1-Click Cluster 64+ GPUs (2 weeks to 1 year term) · 1cc-h100-64 · 2 weeks to 1 year$5.85$5.85per GPU, 8-GPU nodes$4,271Verified lambda.com
H100 80GBHGX H100CoreWeaveOn-demand 8-GPU node · HGX H100$6.16$49.24per 8-GPU instance$4,493Verified coreweave.com
H100 80GBH100Lambda1-Click Cluster 16+ GPUs (2 weeks to 1 year term) · 1cc-h100-16 · 2 weeks to 1 year$6.16$6.16per GPU, 8-GPU nodes$4,497Verified lambda.com
H100 80GBH100 80GBGoogle Cloud1-yr Compute Resource CUD · a3-highgpu-8g · 1-year$6.59$52.70per 8-GPU instance$4,809Verified cloud.google.com
H100 80GBH100 80GBAWSon-demand · p5.48xlarge$6.88$55.04per 8-GPU instance$5,022Verified aws.amazon.com
H100 80GBH100 NVL 94GBMicrosoft Azureon-demand (single GPU) · Standard_NC40ads_H100_v5$6.98$6.98per 1-GPU instance$5,095Verified azure.microsoft.com
H100 80GBH100 80GBOracle Cloud (OCI)on-demand (pay as you go) · BM.GPU.H100.8$10.00$10.00per GPU$7,300Verified oracle.com
H100 80GBH100 80GBGoogle Cloudon-demand · a3-highgpu-8g$11.06$88.49per 8-GPU instance$8,075Verified cloud.google.com
H100 80GBH100 80GBMicrosoft Azureon-demand · Standard_ND96isr_H100_v5$12.29$98.32per 8-GPU instance$8,972Verified azure.microsoft.com
H200 141GBH200 SXMFluidstackon-demand · Fluidstack H200 SXM$2.30$2.30per GPU$1,679Unverified gpuperhour.com
H200 141GBH200 SXMHyperstackreserved ('starting from') · Hyperstack VM (H200 SXM) · term not stated$2.79$2.79per GPU$2,037Verified hyperstack.cloud
H200 141GBH200RunPodCommunity Cloud$3.59$3.59per GPU$2,621Verified runpod.io
H200 141GBH200 SXMHyperstackon-demand · Hyperstack VM (H200 SXM)$3.99$3.99per GPU$2,913Verified hyperstack.cloud
H200 141GBH200Crusoeon-demand (current) · Crusoe GPU instance$4.29$4.29per GPU$3,132Verified crusoe.ai
H200 141GBH200RunPodSecure Cloud on-demand$5.29$5.29per GPU$3,862Verified runpod.io
H200 141GBHGX H200NebiusOn-demand$5.40$5.40per GPU, 8-GPU nodes$3,942Verified nebius.com
H200 141GBHGX H200CoreWeaveOn-demand 8-GPU node · HGX H200$6.30$50.44per 8-GPU instance$4,603Verified coreweave.com
H200 141GBH200 SXMRunPodInstant Cluster (Clusters product)$6.35$6.35per GPU$4,636Verified runpod.io
H200 141GBH200 SXM5 141GBVerdaInstant cluster (16-144 GPUs)$6.70$6.70per GPU, 16-GPU nodes$4,891Verified verda.com
H200 141GBH200 SXM5 141GBVerdaGPU instance on-demand$6.70$6.70per GPU$4,892Verified verda.com
H200 141GBH200AWSon-demand · p5en.48xlarge$7.91$63.30per 8-GPU instance$5,776Verified aws.amazon.com
H200 141GBH200Oracle Cloud (OCI)on-demand (pay as you go) · BM.GPU.H200.8$10.00$10.00per GPU$7,300Verified oracle.com
H200 141GBH200Google Cloudon-demand · a3-ultragpu-8g$10.60$84.81per 8-GPU instance$7,739Verified cloud.google.com
B200B200RunPodCommunity Cloud$5.98$5.98per GPU$4,365Verified runpod.io
B200B200Hyperstackon-demand · Hyperstack VM (B200)$6.00$6.00per GPU$4,380Verified hyperstack.cloud
B200B200 SXM6 180GBLambdaOn-demand 8x instance · HGX B200 8x$7.69$7.69per GPU, 8-GPU nodes$5,614Verified lambda.com
B200B200 SXM6 180GBLambdaOn-demand 4x instance · B200 SXM6 4x$7.79$7.79per GPU, 4-GPU nodes$5,687Verified lambda.com
B200B200 SXM6 180GBLambdaOn-demand 2x instance · B200 SXM6 2x$7.89$7.89per GPU, 2-GPU nodes$5,760Verified lambda.com
B200B200RunPodSecure Cloud on-demand$7.99$7.99per GPU$5,833Verified runpod.io
B200B200 SXM6 180GBLambdaOn-demand 1x instance · B200 SXM6 1x$7.99$7.99per GPU$5,833Verified lambda.com
B200HGX B200NebiusOn-demand$8.50$8.50per GPU, 8-GPU nodes$6,205Verified nebius.com
B200B200Crusoeon-demand (new, effective Dec 1 2026) · Crusoe GPU instance$8.50$8.50per GPU$6,205Verified crusoe.ai
B200HGX B200CoreWeaveOn-demand 8-GPU node · HGX B200$8.60$68.80per 8-GPU instance$6,278Verified coreweave.com
B200B200Lambda1-Click Cluster 256+ GPUs (2 weeks to 1 year term) · 1cc-b200-256 · 2 weeks to 1 year$8.87$8.87per GPU, 8-GPU nodes$6,475Verified lambda.com
B200B200Lambda1-Click Cluster 64+ GPUs (2 weeks to 1 year term) · 1cc-b200-64 · 2 weeks to 1 year$9.36$9.36per GPU, 8-GPU nodes$6,833Verified lambda.com
B200B200 SXM6 180GBVerdaInstant cluster (16-144 GPUs)$9.51$9.51per GPU, 16-GPU nodes$6,939Verified verda.com
B200B200 SXM6 180GBVerdaGPU instance on-demand$9.51$9.51per GPU$6,941Verified verda.com
B200B200RunPodInstant Cluster (Clusters product)$9.59$9.59per GPU$7,001Verified runpod.io
B200B200Lambda1-Click Cluster 16+ GPUs (2 weeks to 1 year term) · 1cc-b200-16 · 2 weeks to 1 year$9.86$9.86per GPU, 8-GPU nodes$7,198Verified lambda.com
B200B200Google Cloud1-yr Compute Resource CUD · a4-highgpu-8g · 1-year$11.12$88.93per 8-GPU instance$8,115Verified cloud.google.com
B200B200Google CloudDWS Calendar Mode · a4-highgpu-8g · calendar-mode$11.28$90.22per 8-GPU instance$8,233Verified cloud.google.com
B200B200Oracle Cloud (OCI)on-demand (pay as you go) · BM.GPU.B200.8$14.00$14.00per GPU$10,220Verified oracle.com
B200B200AWSon-demand · p6-b200.48xlarge$14.24$113.93per 8-GPU instance$10,396Verified aws.amazon.com
B300 (Blackwell Ultra)B300RunPodCommunity Cloud$6.94$6.94per GPU$5,066Verified runpod.io
B300 (Blackwell Ultra)B300Hyperstackon-demand · Hyperstack VM (B300)$7.40$7.40per GPU$5,402Verified hyperstack.cloud
B300 (Blackwell Ultra)B300 SXM (B300-SXM-8-288G)ScalewayOn-demand 8-GPU instance · B300-SXM-8-288G$8.29$66.32per 8-GPU instance$6,052Unverified computeprices.com
B300 (Blackwell Ultra)B300 (Blackwell Ultra)Crusoeon-demand (current) · Crusoe GPU instance$8.96$8.96per GPU$6,541Verified crusoe.ai
B300 (Blackwell Ultra)B300RunPodSecure Cloud on-demand$8.99$8.99per GPU$6,563Verified runpod.io
B300 (Blackwell Ultra)HGX B300NebiusOn-demand$9.50$9.50per GPU, 8-GPU nodes$6,935Verified nebius.com
B300 (Blackwell Ultra)B300RunPodInstant Cluster (Clusters product)$10.79$10.79per GPU, 8-GPU nodes$7,877Verified runpod.io
B300 (Blackwell Ultra)B300 SXM6 268GBVerdaGPU instance on-demand$12.41$12.41per GPU$9,059Verified verda.com
B300 (Blackwell Ultra)B300 SXM6 268GBVerdaInstant cluster (16-144 GPUs)$12.41$12.41per GPU, 16-GPU nodes$9,059Verified verda.com
B300 (Blackwell Ultra)B300 (Blackwell Ultra)Oracle Cloud (OCI)on-demand (pay as you go) · B300 bare metal (shape name unconfirmed)$15.00$15.00per GPU$10,950Verified oracle.com
B300 (Blackwell Ultra)B300 (Blackwell Ultra)AWSon-demand · p6-b300.48xlarge$17.80$142.42per 8-GPU instance$12,995Verified aws.amazon.com
Instinct MI300XAMD MI300XCrusoeon-demand (current) · Crusoe GPU instance$3.45$3.45per GPU$2,519Verified crusoe.ai
Instinct MI300XAMD MI300XOracle Cloud (OCI)on-demand (pay as you go) · BM.GPU.MI300X.8$6.00$6.00per GPU$4,380Verified oracle.com
Instinct MI355XAMD MI355XOracle Cloud (OCI)on-demand (pay as you go) · MI355X shape (name unconfirmed)$8.60$8.60per GPU$6,278Verified oracle.com

GPU specifications

GPU specifications used by the calculators
GPUMemoryBandwidthDense FP8 / FP4 TFLOPSPowerScale-up
NVIDIA RTX 4090Ada Lovelace · PCIe24 GBGDDR6X1.008 TB/sn/p / no FP4450 WPCIe Gen4 only (no NVLink)Consumer card: GeForce driver license excludes datacenter deployment
NVIDIA RTX 5090Blackwell · PCIe32 GBGDDR71.792 TB/sn/p / n/p575 WPCIe Gen5 only (no NVLink)Consumer card: GeForce driver license excludes datacenter deployment
NVIDIA RTX PRO 6000 BlackwellBlackwell · PCIe96 GBGDDR71.597 TB/s1,000 / 2,000600 WPCIe Gen5 only (no NVLink)
NVIDIA L40SAda Lovelace · PCIe48 GBGDDR60.864 TB/s733 / no FP4350 WPCIe Gen4 x16 (64 GB/s bidirectional); no NVLink
NVIDIA A100 80GBAmpere · SXM80 GBHBM2e2.039 TB/sno FP8 / no FP4400 WNVLink 3, 600 GB/s per GPU (NVSwitch in HGX/DGX)
NVIDIA H100 80GBHopper · SXM80 GBHBM33.35 TB/s1,979 / no FP4700 WNVLink 4, 900 GB/s per GPU
NVIDIA H200 141GBHopper · SXM141 GBHBM3e4.8 TB/s1,979 / no FP4700 WNVLink 4, 900 GB/s per GPU
NVIDIA B200Blackwell · SXM180 GBHBM3e8 TB/s4,500 / 9,0001,000 WNVLink 5, 1.8 TB/s per GPU (NVSwitch, 14.4 TB/s per 8-GPU HGX)
NVIDIA B300 (Blackwell Ultra)Blackwell Ultra · SXM288 GBHBM3e8 TB/s4,500 / 13,5001,100 WNVLink 5, 1.8 TB/s per GPU (14.4 TB/s per 8-GPU HGX)
AMD Instinct MI300XCDNA 3 · OAM192 GBHBM35.3 TB/s2,615 / no FP4750 WInfinity Fabric: 8 links x 128 GB/s (896 GB/s to 7 peers in 8-GPU UBB)
AMD Instinct MI325XCDNA 3 · OAM256 GBHBM3e6 TB/s2,615 / no FP41,000 WInfinity Fabric: 8 links x 128 GB/s (896 GB/s to 7 peers in 8-GPU UBB)
AMD Instinct MI355XCDNA 4 · OAM288 GBHBM3e8 TB/s5,000 / 10,1001,400 WInfinity Fabric: 7 scale-up links x 144 GB/s (~1,008 GB/s aggregate); 128 GB/s scale-out link

Registry last checked 2026-11-14. Prices older than 45 days are flagged stale. Verified means read from the provider's own page on that date; unverified means the official page couldn't be read and the figure came from a third-party listing (named in the link); estimatemeans a reseller or analyst figure. A missing price is shown as unavailable, never filled in. Dense TFLOPS are half the sparse figures vendors headline. “n/p” means not published.

Questions

LLM hosting cost questions.

How much does it cost to host an LLM?

It ranges from a few hundred dollars a month to six figures. A small open-weight model on one rented GPU costs roughly the GPU's hourly rate times 730 hours. A trillion-parameter model needs an 8-GPU node or more. Verified on-demand H100 prices in our registry run $1.99–$12.29 per GPU-hour, and B300 runs $6.94–$17.80. Add storage, networking, redundancy and engineering time on top.

Is self-hosting an LLM cheaper than using an API?

Only at high, steady volume. A dedicated deployment costs the same every hour whether it is busy or idle, while an API charges per token. Self-hosting gets cheaper once your tokens per month, spread over the hours you pay for, push the effective cost per token below the API price. At low or bursty volume the API is almost always cheaper.

What is the break-even point between an LLM API and self-hosting?

There is no universal number. It equals your monthly infrastructure cost divided by the API cost per token at your input/output mix and cache rate. For example, at Kimi K3.1 Pro's API prices with 50% of input cached and five input tokens per output token, each million input tokens costs $3.10. A $50,000-a-month deployment therefore breaks even near 16.1 billion input tokens a month, provided it can actually serve that much.

How much GPU memory do I need to run an LLM?

Roughly the size of the weights plus 15% for the runtime as a minimum, and around 50% headroom for production batching. Weights take about 2 bytes per parameter at BF16, 1 byte at FP8 and about 0.55 bytes at 4-bit. gpt-oss-120b (MXFP4) needs about 75 GB and fits one 80 GB GPU. Kimi K3.1 Pro needs about 1,795 GB: an 8× B300 node.

Why do mixture-of-experts models need so much memory if only a few parameters are active?

Each token uses only a few experts, but any token can be routed to any expert, so every expert has to stay in GPU memory. MoE cuts compute per token, not the memory needed to hold the model. With large batches nearly every expert is read on every step, so memory bandwidth sets the speed.

What is the cost per million tokens for a self-hosted LLM?

Monthly infrastructure cost divided by the millions of tokens you actually serve that month. It depends on throughput (model, GPU, precision, concurrency) and utilization. The same cluster can cost cents per million tokens when busy and many dollars when idle. The hosting calculator shows it at your projected utilization.

How do prompt caching and cached input pricing change LLM API costs?

Cached input is billed at a steep discount: between about 2% and 25% of the normal input rate across the providers in our registry, and 10% or less at most of them. Workloads with long, repeated system prompts or documents can cut input spend by most of its value. Some providers charge extra to write to the cache (Anthropic bills 1.25× for its 5-minute cache), so caching pays only when a prefix is reused.

Are reasoning tokens billed separately?

At Anthropic and OpenAI, reasoning (thinking) tokens are billed at the output rate and counted as output tokens. Google states that Gemini output prices include thinking tokens. The calculator adds reasoning to billed output once, so it is never double-counted.

Which GPU is best for LLM inference?

The one that holds your model at the precision you need, with enough memory bandwidth for your traffic, at the lowest cost per served token. For large models that means HBM GPUs with NVLink or Infinity Fabric (H200, B200, B300, MI300X-class). For models under about 70 GB, a single L40S, RTX PRO 6000 or H100 is often the cheapest per token. Native FP4 math needs Blackwell or MI355X.

Can I run an LLM on consumer GPUs like the RTX 4090 or 5090?

For development and small models, yes. For hosted production, NVIDIA's GeForce driver license says the software is not licensed for datacenter deployment, and consumer cards lack NVLink, so splitting a large model across them over PCIe is slow. Workstation and datacenter cards avoid both problems.

What does it cost to own AI servers instead of renting?

Capital cost plus power, cooling, colocation, networking, maintenance and staff, spread over a four-to-five-year life with some resale value. One 8-GPU HGX B200 server was listed by a reseller at $399,900 when we checked. Ownership beats renting when utilization is high and steady enough that cumulative rental savings repay the capex before the hardware is obsolete. The ownership calculator shows the payback period.

How do AI agents change LLM costs?

They multiply them. An agent task can take 10–50 model calls, each resending instructions, tool definitions and growing state, plus retries and tool fees. Input tokens dominate agent bills, so caching and routing easy steps to cheaper or private models save more than output-price differences.

What is a hybrid LLM deployment?

A mix of privately hosted open-weight models and third-party APIs behind one gateway. Sensitive or high-volume work runs privately, and hard reasoning on non-sensitive data goes to a frontier API. Routing rules, data classification and audit logs decide which request goes where.

Does self-hosting an LLM make us compliant with HIPAA or GDPR?

Not by itself. Regulations set obligations for access control, encryption, logging, retention and vendor management; a private deployment still has to implement and evidence them. Conversely, a third-party API with a signed BAA or DPA can be compliant. Self-hosting gives you control over where data goes, and that control is what makes compliance easier to demonstrate.

Which open-weight models can be self-hosted commercially?

Most major families, but licenses differ. gpt-oss, Gemma 4, Mistral Small 4 and Qwen3.8-27B are Apache 2.0. DeepSeek's are MIT. Kimi, GLM-5.3 and the largest Qwen models use MIT-style licenses with conditions for very large Model-as-a-Service businesses. Llama 4 has a 700M monthly-active-user clause. Mistral Medium 3.5 grants no rights to companies above $20M monthly revenue. Always read the license for your use.

How accurate is this calculator?

Prices come from provider pages and carry a source link, verification date and status. Unverified and estimated figures are labeled, and missing prices are left blank. Throughput is a planning estimate from memory bandwidth and compute, often within a factor of two of reality. Replace it with a measured figure from your own load test before committing budget.

How often are GPU and API prices updated?

Every price has a last-verified date, and prices older than 45 days are flagged as stale on the page. Prices that come from official machine-readable sources, like the AWS and Azure price APIs, can be refreshed on a schedule. The rest are re-checked by hand against provider pages.

Can I export or share my calculation?

Yes. Download a PDF or CSV of your assumptions and results, or copy a link that restores the exact scenario. No sign-up is needed. To have an engineer review it, request an assessment and choose whether to attach the scenario.