Self-Host an LLM or Pay Per Token? The 2026 GPU Rent Math That Decides It
Two teams asked me the same question this month: should we rent a GPU and run Qwen3.8-27B ourselves, or keep paying per token? The honest answer is arithmetic with two inputs — output tokens a card serves per hour when saturated, and the hours your traffic keeps it busy — and both are smaller than the vendor deck suggests. Here is that comparison at the prices on the page on 30 November 2026, with the vLLM 0.34 commands that replace my figures with yours.
At a glance
- Who: teams spending over ~$300 a month on output tokens, or workloads that cannot leave their network.
- Cost: $0.50 an hour for one RTX 3090, $2.27 for a 96 GB RTX PRO 6000, $4.39 at the H100 80 GB median.
- Break-even: the 70B build on the 96 GB card beats a $10-per-million API above 6% of the week, and a $2.55 one only above 24%.
- Caveat: Prices checked: 2026-11-30. Gemini 4 Argon's rate doubles on 1 December and GPU quotes change weekly, so rerun the last step.
1. What you are actually comparing
The two bills, side by side
A rented card is a fixed bill: $2.27 an hour for the 96 GB RTX PRO 6000 whether ten thousand requests arrive or none. An API is a variable bill: $10 per million output tokens on GPT-6.2 Sol or Claude Sonnet 5.5, $2 for the same million on input. The only unit that compares them is dollars per million output tokens at the utilisation you will genuinely reach.
That gap is where plans break: full-load throughput makes one card look four times cheaper than the API, until you notice the assistant is busy 40 of the week's 168 hours. The rent itself has tracked memory rather than compute for two years — see how the DRAM shortage became the real cost of AI.
What fits on one 80 to 96 GB card
Weights are the first gate and the easiest to check: roughly 2 GB per billion parameters in BF16, about half a gigabyte at 4 bits. Qwen3.8-27B is 55.6 GB in BF16 under Apache 2.0; Llama 3.3 70B is 141.1 GB, which is why everyone runs the 39.8 GB AWQ build instead.
Table 1. What one card holds, and which build to pick (model cards read 30 November 2026)
| Model and build | Weights, and what the card has left | When to choose it |
|---|---|---|
| Qwen3.8-27B, BF16 | 55.6 GB, ~40 GB left for cache on 80–96 GB | Default for chat and retrieval: full precision, nothing to justify |
| Qwen3-32B, BF16 | 65.5 GB, ~30 GB left on 96 GB | When prompts are long (code, contracts): cap context hard |
| gpt-oss-120b, MXFP4 | 117B total, 5.1B active, fits one 80 GB card | When one 80 GB card is the hard constraint |
| Llama 3.3 70B, AWQ 4-bit | 39.8 GB, more cache room than the 27B | When the API you would replace costs $10/M; test 4-bit on your eval set |
| DeepSeek-R1, FP8 + BF16 | 688.6 GB, not one card | Only with four or more H200s and round-the-clock load |
Weights are not the tight number. Every concurrent request holds key and value tensors on the card, and the context you allow sets what each costs, so the question is how many conversations fit, not whether the model does. vLLM answers at startup with a line like "GPU KV cache size: 643,232 tokens, Maximum concurrency for 40,960 tokens per request: 15.70x". That 15.7 assumes every request runs to full length; set --max-model-len to what your prompts use and the ceiling moves.
2. Serving it without the two mistakes
Install vLLM 0.34 without last year's flags
vLLM 0.34.0 shipped on 16 November and moved three defaults that old tutorials still contradict. The extensible KV cache is on by default and sizes itself from memory free after warmup — 433,000 to 672,000 cached tokens for MiniMax-M3 on an H200 in the project's example. gpu_memory_utilization now defaults to 1.0, and pinning 0.92 leaves a cache 1–4% smaller than the previous release managed. Model Runner V1 is gone, so a config containing VLLM_USE_V2_MODEL_RUNNER=0 fails at startup.
uv venv --python 3.12 --seed
source .venv/bin/activate
uv pip install vllm --torch-backend=auto
vllm download-kernels
export VLLM_API_KEY=$(openssl rand -hex 32)
vllm serve Qwen/Qwen3.8-27B \
--host 127.0.0.1 --port 8000 \
--max-model-len 32768
--torch-backend=auto matches PyTorch to your driver, and download-kernels fetches precompiled kernels that otherwise cost minutes at every start on Hopper and newer. The model declares 262,144 tokens of native context, but 32,768 is generous for chat and leaves far more of the card for concurrent requests.
Bind to loopback, then close the routes the key misses
Without --host, vllm serve binds every interface, so a rented machine with a public IP answers the internet on port 8000. --api-key guards less than its name suggests: only paths under /v1, /v2, /inference and /cohere. /invocations runs the same inference with no token, while /pause, /abort_requests and /update_weights let anyone who reaches the port interrupt your traffic or swap the model. The security guide says not to rely on the key alone.
Two layers fix it: bind to 127.0.0.1, then let a reverse proxy allowlist the four routes your apps call and 404 everything else. Keep the process in a systemd unit, the key in a file only root can read.
3. Measure the hour you are paying for
Benchmark saturation, then convert the number
Throughput from a blog post is not yours, and vLLM ships the load generator, so the first real measurement costs a coffee break. Run it at expected concurrency, then double it: the figure that decides cost is the one at saturation; the figure users feel is tokens per second each.
vllm bench serve --base-url http://127.0.0.1:8000 \
--model Qwen/Qwen3.8-27B --endpoint /v1/chat/completions \
--backend openai-chat --dataset-name random \
--random-input-len 1000 --random-output-len 1000 \
--max-concurrency 64 --num-prompts 256
Published runs set the range to expect. CloudRift put Llama 3.3 70B in 4-bit at 1,031 output tokens a second across 400 concurrent requests on a 96 GB RTX PRO 6000, and Qwen3-Coder 30B at 8,425. HyperQwen ran Qwen3.8-27B on one RTX 3090 at 942 a second with 64 concurrent requests — about 15 tokens a second per user: fine for chat, slow for an agent.
Table 2. One GPU hour, priced four ways (rents 29 November; prices checked 2026-11-30)
| Card and build | Rent per hour | Cost per million output tokens at full load | When to choose it |
|---|---|---|---|
| RTX 3090, Qwen3.8-27B 4-bit, 942 tok/s | $0.50 | $0.15 — beats the $1.49 cheapest Qwen endpoint above 10% of the week | Small model kept always available: wins above 10% of the week |
| RTX PRO 6000 96 GB, Llama 3.3 70B AWQ, 1,031 tok/s | $2.27 | $0.61 — beats a $10 API above 6% | A 70B on one card, busy a quarter of the week or more |
| H100 80 GB, Llama 3.3 70B 4-bit, ~1,000 tok/s | $4.39 | $1.22 — beats a $10 API above 12% | You need the card today and 96 GB listings are gone |
| 2× B200, DeepSeek V4.1 Flash, 683 tok/s per GPU | $3.70 per GPU-hour | $1.50 — needs 836% against the $0.18 cheapest endpoint | Never as a price play; only when data cannot leave your network |
The H100 row borrows the 96 GB card's measurement; measure that one yourself.
At full load a 27B model is four times cheaper than the API a startup would otherwise buy, and the same hour loses eightfold to a 552B mixture-of-experts that dozens of providers sell at $0.18. Cheapest inference wins where supply is crowded.
4. The break-even, three cases and a baseline
Case A: the working-day assistant
An internal assistant used 9 to 6 on weekdays keeps the card busy 40 of 168 hours, a 24% ceiling. Divide full-load cost by that and $0.61 becomes $2.54 per million: the 70B build wins against $10 mid-tier rates and loses to anything under about $2.55. The smaller build differs: $0.15 becomes $0.63, still under the $1.49 cheapest Qwen3.8-27B endpoint, so the 27B on a $0.50 card clears break-even part-time.
Case B: a pipeline that can run at night
A job that can queue — nightly summaries, embedding refreshes, evaluation sweeps — reaches 120 hours a week, or 71%. The 70B's effective cost falls to $0.86 per million, which beats every mid-tier API, and the 27B's falls to $0.21, under even the $0.50 discounted endpoint. Latency stops mattering — the one situation where 4-bit weights and an oversubscribed card cost nothing.
Case C: where a crowd of providers already sells cheap
DeepSeek V4.1 Flash on two B200s serves 683 output tokens a second per GPU at $3.70 a GPU-hour, or $1.50 per million at full load. The cheapest zero-retention endpoint for the same model sells at $0.18. Break-even would need 836% of the week, so the answer is not "almost never" but "at no traffic level" — you are competing against somebody's saturated fleet, not the model.
Table 3. What a busy hour really costs (70B 4-bit on the 96 GB card, $0.61 per million at full load)
| Traffic pattern | Hours busy per week | Effective cost per million output tokens | When to choose self-hosting |
|---|---|---|---|
| Prototype, a few sessions a day | 10 (6%) | $10.17 | Almost never: costs more than a premium API |
| Working-day assistant, 9–6 weekdays | 40 (24%) | $2.54 | Only if your API costs over $2.55 — the $10 tier, not open weights |
| Batch pipeline, six nights a week | 120 (71%) | $0.86 | Yes: queue-tolerant work is the strongest case |
| Continuous serving, 24/7 | 168 (100%) | $0.61 | Only if the alternative is a premium API or compliance |
Price both sides on the same token mix: at $2 input and $10 output, four input tokens per output add $8 to every $10 of output, so the API side grows 80%. The card pays that prefill in the same hour, and 1,031 counts output only — the honest unit is a whole request at your own ratio.
5. When the math loses and you should still self-host
Regulated, fine-tuned, or not for sale
Three cases have no API price to compare against. A workload that legally cannot leave your boundary is not choosing between two costs, a fine-tuned adapter on private data has no per-token alternative, and a model nobody sells cannot be rented at any rate. There you choose between a cost and not having the product.
What moves while you are planning
Two lines expire faster than you think. Gemini 4 Argon's introductory $2 and $10 double to $4 and $20 on 1 December, raising the break-even for every alternative overnight. Rent moves as fast: the H100 80 GB has a median listed price of $4.39 across 70 offers from 22 providers, with a floor of $1.73, while Azure lists the same chip at $12.29. I would fix a monthly commitment before trusting a comparison; a spot deal that vanishes flatters the math more than any benchmark.
6. The traps, and the number to compute next
The traps that break the math
A CUDA out-of-memory error at load usually means the context did not fit, not the weights; lower --max-model-len before reaching for a 4-bit build. A 0.92 memory setting copied from an older tutorial now costs cache, not safety. Easier to miss: disk for weights you re-download, monitoring nobody budgets, and the network bill once the endpoint serves several regions — see what multi-region AI actually costs for the arithmetic.
The last trap makes the exercise worthwhile. A card that idles is not cheap, it is a subscription, so the number to compute is not "can we afford a GPU" but "how many hours a week will this be busy". Under ten, the API is not the compromise but the correct answer — and the $25 seat illusion is the same mistake one layer up.
Before you rent, check eight things
- Weights fit with 30% of the card left for cache at your real context.
- No
VLLM_USE_V2_MODEL_RUNNERand nogpu_memory_utilization 0.92left in your config. - Throughput measured at double expected concurrency, at your own token ratio.
- Cost converted to dollars per million at measured utilisation, not at 100%.
- API side priced at the rate in force after any introductory period ends.
- Disk, egress, monitoring and maintenance hours inside the rent line.
- Port exposure checked: loopback bind, proxy allowlist,
/invocationsunreachable from outside. - The hours-busy number written down. If you cannot name it, the decision is not ready.
Run the sequence backwards and it gets easier. Start on the API, record real token volumes and prompt shapes for a quarter, then put those numbers into the snippet shape above. Clear the break-even and rent with confidence; fail it and you have saved a weekend and an invoice.
Related posts
- The Memory Tax: How a DRAM Shortage Became the Real Cost of AI — why the rent line moves, from fab capacity to your hourly quote.
- The $25 Seat Is a Fiction: What AI Coding Agents Actually Cost in November 2026 — the same headline-unit trap in AI tool pricing.
- The Hidden Tax of Multi-Region AI: What Cloud Egress Actually Costs in Late 2026 — the network bill that arrives once your endpoint serves.
Source notes
- vLLM 0.34.0 release notes (16 November 2026): extensible KV cache by default,
gpu_memory_utilizationdefault 1.0, block size 64, Model Runner V1 removed, Python 3.11–3.14, and the 1–4% cache difference from pinning 0.92 — https://github.com/vllm-project/vllm/releases - vLLM security guide, including guarded prefixes
/v1,/v2,/inference,/cohereand unguarded/invocations,/pause,/abort_requests,/update_weights— https://docs.vllm.ai/en/latest/usage/security.html - vLLM benchmark tooling behind
vllm bench serve— https://github.com/vllm-project/vllm/tree/main/benchmarks - Model cards read 30 November 2026: Qwen3.8-27B (27B dense, 55.6 GB BF16, 262,144-token context, Apache 2.0, released 14 August 2026) — https://huggingface.co/Qwen/Qwen3.8-27B; gpt-oss-120b (117B total, 5.1B active, MXFP4, Apache 2.0) — https://huggingface.co/openai/gpt-oss-120b; Llama 3.3 70B Instruct (141.1 GB BF16, 39.8 GB AWQ) — https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct
- Rents: gpucompare.com index observed 29 November 2026, 23:30 UTC — H100 80 GB median $4.39 across 70 offers from 22 providers, floor $1.73 (https://gpucompare.com/); 100xFounder provider table read 25 November 2026, Azure H100 $12.29; MassiveGRID RTX PRO 6000 at $1,656.15 a month, or $2.27 an hour.
- Throughput: CloudRift (Llama 3.3 70B AWQ, 1,031 tokens/s at 400 concurrent; Qwen3-Coder-30B-A3B, 8,425) and StorageReview (3 November 2026) via MassiveGRID; HyperQwen RTX 3090 run at 942 tokens/s via OpenRouter, 12 November 2026.
- API prices checked 23–27 November 2026: OpenAI GPT-6.2 Sol $2/$10 — https://openai.com/api/pricing/; Anthropic Claude Sonnet 5.5 $2/$10 — https://www.anthropic.com/pricing; Google Gemini 4 Argon $2/$10 rising to $4/$20 on 1 December — https://ai.google.dev/gemini-api/docs/pricing; the $1.49–$5.25 open-weight range plus the $0.50 and $0.18 endpoints, from OpenRouter's 18-endpoint survey — https://openrouter.ai/models
- Break-even method: rent divided by saturated output tokens per hour, after RentGPU (2 October 2026); utilisation ceilings from Compute Census (14 November 2026). Tables 2 and 3 are my own arithmetic on those numbers.

Comments
Post a Comment