Hosting for AI models: five routes, five hidden costs, one break-even
Serve your first open-weight model on someone else’s GPUs and pay per token. A rented H100 at $4.39 an hour only beats $4.40 per million output tokens above roughly 728 million output tokens a month, which is eight requests running at once for 44 percent of the month. Below that, the card is a hobby with an invoice.
- No traffic yet: buy tokens. GLM 5.3 lists at $1.40 input and $4.40 output per million on Baseten, Fireworks, Modal and Together this morning, so the vendor is not the decision. The model choice is, and the open model price index prices it six ways.
- A real product: rent the card only when you can keep it busy. RunPod’s H100 SXM is $4.39 an hour on secure cloud and from $2.69 on community; Modal bills the same card at $0.001097 a second, which is $3.95 an hour.
- Private weights, or a model nobody hosts: your own card or a dedicated endpoint. Budget for the operations, not the compute.
- The number that decides is concurrency. One request at a time costs $15.63 per million output tokens on a rented H100 hour. Four at a time cost $3.91.
- Read the deprecation policy before the price. The cheapest host is the one that gives you a week’s notice that your model is going away.
Five things people mean by hosting for AI models
The phrase covers five different products, and the price on the page depends on which one you are looking at. A provider can sit in two rows: Modal sells both per-token model APIs and per-second containers, and Hugging Face sells both endpoints and provider routing. The same market sells them as LLM hosting, AI inference hosting, GPU hosting and model serving, and the names overlap more than the products do. When a page quotes one figure for “AI model hosting”, the first question is which row it belongs to. The questions that come before that one are in the five hosting decisions.
| Route | Who runs it | What you pay for | Take it when | The line that bites |
|---|---|---|---|---|
| Buy tokens | Per-token serverless: Baseten, DeepInfra, Fireworks, Groq, Modal Model APIs, Together | $ per million input and output tokens | No traffic yet, or the model you want is already on the menu | The model can leave the catalogue on two weeks’ notice |
| Your container, per second | Serverless GPU: Modal, RunPod Serverless, Replicate, Hugging Face Endpoints | Seconds of container life, plus boot | Custom code, bursty traffic, no servers to babysit | Cold start and the idle window are billable time |
| A GPU by the hour | RunPod, Vast.ai, Lambda, Nebius, Hetzner, Hyperstack, DigitalOcean | GPU-hours, storage, egress | Steady load, or a job with an end date | The hour runs whether or not you do |
| A dedicated endpoint | Dedicated inference with your own weights: Together, Baseten, Fireworks, Hugging Face | Reserved GPU-hours, usually committed | Compliance, or weights nobody else will host | Minimum commitment, no scale to zero |
| Your own card | A workstation GPU, a DGX Spark, a Mac, or a box in a colo | Capex, power, and the floor space | One fixed model, private data, offline work | It is yours for five years, year five included |
Every price in this piece was read on 2026-11-30 at the provider’s own page. Rates move; a row that is wrong tomorrow was right when it was read, and gets a dated correction here. If the job is a training run rather than a service, the rental arithmetic and the ten-provider table are in renting a GPU.
The hour and the million tokens are not the same unit
A token price already contains the provider’s utilization risk. You pay for output, they eat the idle. When you rent the card, that risk moves to you, and it is larger than the difference between the vendors.
Take one number from outside this site. Artificial Analysis measures GLM 5.3 at 78 output tokens a second on a single stream, read today. On one H100 hour at $4.39, that is 280,800 tokens, or $15.63 per million. The same tokens cost $4.40 at list price from four providers this morning.
| Requests served at once | Output tokens per H100 hour | Cost per 1M, $4.39/hr | Cost per 1M, $2.69/hr |
|---|---|---|---|
| 1 | 280,800 tokens | $15.63 | $9.58 |
| 2 | 561,600 tokens | $7.82 | $4.79 |
| 4 | 1,123,200 tokens | $3.91 | $2.39 |
| 8 | 2,246,400 tokens | $1.95 | $1.20 |
| 16 | 4,492,800 tokens | $0.98 | $0.60 |
| 32 | 8,985,600 tokens | $0.49 | $0.30 |
Batching is what changes the answer, and it is free only on paper. Continuous batching lets one card serve many requests at once, so aggregate throughput climbs roughly with concurrency until memory bandwidth saturates. The queue in front of each request grows with it, which is why a provider’s single-stream speed says little about what an hour of its GPU actually produces. The break-even sits at 3.5 concurrent streams on a $4.39 card, and at 2.2 on a $2.69 community card, before any of the costs below.
As a monthly figure: 730 hours of H100 SXM is $3,205. At $4.40 per million output tokens, that buys 728 million tokens. You get there with eight streams running 44 percent of the month. Most products that call themselves high volume are nowhere near it, which is why the honest summary of self-hosting from the people who do it is not a cost argument at all (r/LocalLLaMA, 101 points): “you self host for privacy and control, not for cost”.
At the other end of the same arithmetic, a workload of 2 million output tokens a month costs $8.80 from a token provider and $3,205 on a card that runs all month: 364 times the bill for the same traffic. Both numbers are true, and they are the same model on the same weights. What separates them is how many people are waiting for an answer at the same time.
The five costs that never appear in the rate
1. The disk outlives the GPU
RunPod charges $0.10 per GB a month for a volume disk while a pod runs and $0.20 while it is stopped, per its own pricing page. The container disk is free when the pod stops, and erased, which is exactly the choice a host makes for you. A 200 GB snapshot of weights, kept so you do not download them again, is $40 a month doing nothing. On Vast.ai the docs are blunter: “stopped instances continue to accrue storage charges”, and a balance at zero schedules the volume and the data for deletion. On Hugging Face, an endpoint scaled to zero still counts as used quota.
2. Boot time is billed time
RunPod Serverless bills from the moment a worker starts until it fully stops, rounded up to the nearest second, and the model load into GPU memory happens inside that window. Pulling the image and the weights is free only if the host pre-warmed them; if the worker starts before the image is on the machine, the pull is billed. Modal’s pricing page says you never pay for idle, and Modal’s own cold-start documentation says the container stays idle for 60 seconds by default and that you are “billed for any resources used while the container is idle”. Replicate picks a third position: setup and idle are free on public models, and billed on private models and deployments. Same workload, three clocks. Read the one that applies to what you deployed, not the one on the landing page.
3. Egress, which nobody puts next to the rate
Modal started charging for network egress on 1 October 2026: 1 TiB a month free on Starter, then $0.04 per GiB, per its egress documentation. AWS charges $0.09 per GB out of S3 and gives 100 GB free; Google charges $0.12 per GiB for the first TiB in us-central1; Azure is $0.087 per GB. Vast charges for every byte sent and received, in every instance state, and says plainly that it is not in the hourly figure. RunPod charges no ingress or egress fees, and Hetzner’s GPU servers include traffic up to a published 20 TB line.
| 5 TiB out in a month | Bill |
|---|---|
| Modal, above the free TiB | $163.84 |
| AWS, at $0.09/GB | $460.80 |
| Google Cloud, at $0.12 then $0.11/GiB | $573.44 |
| RunPod, Hetzner | $0 |
This is the line that decides image and video workloads. A text endpoint moves megabytes; a generation endpoint moves files, and the egress can cost more than the GPU hour that produced them.
4. The replica you keep warm
A minimum-instance setting is a rented pod with a nicer console: the replica bills at the GPU rate while it waits, whether or not a request arrives. On RunPod, an Active worker is 24/7 by definition, and the discount for it is negotiated with sales, not published. If your product promises a first token in under two seconds at 3 a.m., you are buying 730 hours, not the 40 you use.
5. Your hours
Four hours a month of upgrades, CUDA mismatches, a driver that broke a build and a security patch, at EUR 50 an hour, is EUR 200. Ten million output tokens a month at $4.40 is $44. The line nobody puts in the spreadsheet is the largest one until the workload is genuinely large, and it never appears on a pricing page because it is not for sale.
What breaks in year two
A hosted model is a dependency with a shorter half-life than the code around it. Six things fail, and only one of them is the price.
The notice period is short and unequal
| Provider | Notice before a hosted model disappears | Document |
|---|---|---|
| Together AI | Preview model: under 24 hours. Serverless and dedicated: 2 to 3 weeks. | docs.together.ai/docs/deprecations |
| Fireworks | Minimum 2 weeks, longer for popular models. | docs.fireworks.ai, notice policy FAQ |
| DeepInfra | At least 1 week, then requests are forwarded to a replacement model. | docs.deepinfra.com/models |
| Baseten | 30 days, with an email and a listed replacement. | docs.baseten.co, model deprecations |
| Modal | Nothing published for catalogue models. Its deprecation policy covers SDK features. | modal.com/docs/guide/supported-models |
| Hugging Face Endpoints | Nothing published for models. Hardware deprecations are dated in the price table, Intel Ice Lake from July 2025. | huggingface.co/docs/inference-endpoints/pricing |
One week is enough to change a model ID and not enough to re-evaluate a model. If a model is load-bearing, the question is not whether the provider publishes a policy but whether you can move in a day: the same container, the same weights, one environment variable.
Providers end
Banana announced on 1 February 2024 that its infrastructure would be “shut down at noon PST” on 31 March. OctoAI wound down commercial service by 31 October 2024 after NVIDIA bought the team. RunPod sunset its Managed AI APIs and moved everyone to containers they host themselves. Replicate was acquired by Cloudflare on 17 November 2025, with the promise that “the API isn’t changing” and the models “will keep working”. Every one of those was a reasonable supplier on the day before the notice. The migration cost is not the invoice, it is the fortnight when nobody answers a support ticket.
The weights can disappear
In November 2026 two Skywork OR1 preview repositories vanished from Hugging Face with no announcement. Launchers that pointed at them failed at download, and the Hub answers 401 for a repository that is missing or private, so the failure reads like an expired token rather than a takedown. If the model matters, keep a copy of the weights you actually shipped, on storage you control, and know its hash. A file you download is also code: five poisoned GGUF files carried 2,807 downloads before anyone looked, and the check that finds them is a hundred lines of Python.
The endpoint can change under you
A thread with 203 points on r/LocalLLaMA documented providers overwriting the deepseek-v4.1-flash endpoint with the new 1017 weights from 19 October, mid-session for a coding agent. Another reports a provider switching from full precision to a quantised version at the same price. A model name is not a version. Where a dated tag exists, pin it; where it does not, host the weights you validated.
Prices move, often on a Saturday
AWS raised GPU prices by 15 percent on a Saturday in January 2026, a story that reached 755 points on Hacker News and no email to most of the customers paying for it, as The Register reported. The Gemini API doubles on 1 December 2026, which is its own decision note. A per-token bill passes an increase to you the same hour. A reservation passes it at renewal, which is better, and locks you in, which is worse.
The card gets old
RunPod’s current list has A100 PCIe at $2.09, H100 SXM at $4.39, B200 at $8.99 and B300 at $10.49 an hour. The A100 row is the one that leaves stock first, and the model that fits 80 GB today will want 140 GB within two generations. Anyone budgeting self-hosting for three years is budgeting a hardware refresh they have not priced.
What people actually run
Vendors benchmark what is new. Deployment counts show what is running.
PyPI downloads in the last 30 days, read today from pypistats: ollama 12.2 million, vllm 2.85 million, llama-cpp-python 598,000, sglang 470,000, against 118 million for transformers, the library underneath most of them. These counts include every CI job and every mirror, so read the ratio and not the number.
The Ollama library, by pulls: llama3.1 at 121.5 million, nomic-embed-text at 99.7 million, deepseek-r1 at 95.6 million, llama3.2 at 88.7 million, then qwen2.5 at 47.7 million and qwen3 at 45.2 million. The most-pulled model on the list is a 2024 model. That gap between what is announced and what is deployed is the strongest argument for choosing a host by the models it already serves well, rather than by the model in this week’s announcement.
In 30 hosting threads on r/LocalLLaMA from November 2025 to November 2026, RunPod was named in 16 and Vast.ai in 9, against AWS or Bedrock in 15, nearly always as the expensive comparison. The engines split the same way: vLLM in 14 threads, llama.cpp in 8, SGLang in 6, Ollama in 4, and a poll with 1,803 votes put llama.cpp first with 738 against 214 for vLLM and SGLang together. That is a sample of people who talk about hosting, not a census of everyone who does it, and it is a better guide to what survives contact with a bill than any vendor’s customer logos.
Pick by workload
| What you have | Route | The number to watch |
|---|---|---|
| A prototype, a demo, a weekend | Buy tokens | nothing. Use the cheapest of the four you tested and keep the key in an env var |
| An internal tool, 10 to 50 users | Buy tokens, or one L4 by the hour | time to first token: a cold container can cost 60 seconds |
| A product with spiky traffic | Serverless GPU with a floor of one warm worker | the idle hours you pay for an empty queue |
| Steady high volume | A rented card, batched | utilization, not price per hour: below 44 percent the tokens win |
| Batch jobs with an end | A GPU by the hour, checkpointed | setup time and the disk you forgot to delete |
| Embeddings or a small classifier | CPU or one L4, or a token endpoint | egress, if the vectors leave the region |
| Regulated or private data | Your own card, or a dedicated endpoint in your region | where the GPU physically sits, in writing |
| An agent that waits for events | Buy tokens, never a pod | a 24/7 pod is 730 hours for maybe 30 minutes of work |
What this piece did not measure
No throughput test was run for this article. The 78 tokens a second is Artificial Analysis measuring GLM 5.3, not us measuring anything, and the break-even table assumes throughput scales linearly with concurrency, which holds until the batch saturates memory bandwidth and then degrades. It is a model, not an invoice.
No provider paid for a placement here, and none of the prices came from a vendor’s blog post: each was read at the provider’s own pricing or documentation page on 2026-11-30. Where a policy is absent, the table says absent instead of assuming one. The community counts come from 30 threads and one poll, and the numbers people quote about their own bills are their claims, not verified invoices.
If your own number lands near the break-even, the cheapest next step is a month on a per-token endpoint with token counts logged per request. That turns the table above from an argument into an input, and it costs less than one GPU hour.
Prices, documentation and community counts in this piece were read on 2026-11-30. Model names, prices and policies are facts and are dated; the break-even table is analysis. How this site separates the two is in the data policy, and the method behind every test is in how we test.
Five routes and a crossing point: the break-even calculator prints where your own volume moves from per-token to per-hour, with the prices dated.
Take this piece to your own AI
Copy the prompt, paste it into the model you already use, and it will work through this article against your own numbers. It carries the link, so the model can cite the source and check the figures.
What you probably want next
- When is self-hosting an LLM cheaper than the API? The crossing point moves forty times with the model you pick. The arithmetic, the ceiling a card cannot pass, and the idle share nobody puts in the comparison.
- An agent that waits: 730 GPU-hours bought for half an hour of work The 4,000-conversation agent costs EUR 5.09 a month on a small machine with tokens bought per call, against EUR 526.89 on an always-on L40S card that computes for about half an hour of it.
- 22% of flagged MCP servers take orders from strangers Injected instructions reached 22% of flagged MCP servers and 44% of flagged skills. A scanner reads the text. Only a gate between reading and running decides the action.
One decision, three numbers, every Friday.
A weekly email for people who have to choose where their AI workloads run. It ends a decision instead of starting one. No popups, no upsells, one click out.
Double opt-in. We store your email and the date you confirmed it, nothing else. Privacy.