For an open-weight model, you can pay a provider per token on a shared API, or rent GPUs that run the model for you alone, billed by the hour or month. Per-token is simple and costs nothing when you're idle. A dedicated endpoint can cost much less at volume, but only if you keep it busy. This guide shows how to find the crossover for your own traffic.
The two cost formulas
Per-token cost depends on your token mix. With volumes in millions of tokens (M) and prices in dollars per million:
Per-token monthly cost = input M × input price + cached input M × cached price + output M × output price
Dedicated cost depends only on the GPUs you rent:
Dedicated monthly cost = GPUs × price per GPU-hour × 730 hours
Some providers quote a flat monthly fee instead. Use it directly.
Divide the per-token cost by your total monthly tokens to get your blended per-token price. Then:
Break-even volume (M tokens a month) = dedicated monthly cost ÷ blended per-token price
Above that volume, dedicated is cheaper, provided the GPUs can carry your traffic at its peak. Current per-token prices by provider are on the API pricing pages, and GPU-hour rates are on the GPU price pages.
How much one GPU can serve
Throughput isn't a fixed spec. It depends on:
- The model. Mixture-of-experts models use only some of their parameters for each token, so they generate faster than a dense model of the same total size. All the weights still have to fit in GPU memory.
- Your mix. In prefill, the GPU processes a prompt's tokens in parallel, so it gets through input tokens much faster than it generates output tokens one at a time. An input-heavy workload serves more total tokens per GPU-hour than an output-heavy one.
- Batching. The serving engine runs many requests together. Each decoding step reads the model weights once for the whole batch, so bigger batches raise total throughput, but they also make each request slower.
- Your latency target. A tighter limit on time to first token, or a minimum output speed per request, caps the batch size and with it throughput per GPU.
- Context length. Long prompts take more KV cache memory per request, which leaves room for fewer requests at once.
Don't rely on a vendor's peak figure. Benchmark the model on the GPUs you'd rent, using prompts and output lengths sampled from your logs, at your latency target. Count input and output tokens together. That number only holds at your mix; if traffic shifts toward output, capacity drops.
Size for peak, not average
A dedicated endpoint has to handle your busiest minutes, and you pay for that capacity all day. If your peak is three times your average, most of what you rent sits idle most of the time.
Ways to narrow the gap:
- Autoscaling, where the provider adds and removes replicas and bills per replica-hour. A new replica has to load the model weights first, so scaling up isn't instant.
- Sending overflow above a set level to a per-token API.
- Moving batch work, such as evals or bulk summarization, into off-peak hours.
A worked example
All numbers here are illustrative. Say:
- Your blended per-token price at your mix is $0.80 per million tokens.
- One replica is an 8-GPU node at $2.50 per GPU-hour: 8 × $2.50 × 730 = $14,600 a month.
- Your benchmark shows one replica sustains 20,000 tokens per second at your mix and latency target.
- Your peak is twice your monthly average.
A month has 730 × 3,600 = 2,628,000 seconds. The break-even volume is $14,600 ÷ $0.80 = 18,250M tokens, about 18 billion a month. At that volume, average traffic is about 6,900 tokens per second and peak about 13,900, so one replica covers it.
| Monthly tokens | Peak tokens/s | Replicas | Per-token cost | Dedicated cost | Cheaper |
|---|---|---|---|---|---|
| 5B | 3,805 | 1 | $4,000 | $14,600 | Per-token |
| 10B | 7,610 | 1 | $8,000 | $14,600 | Per-token |
| 20B | 15,221 | 1 | $16,000 | $14,600 | Dedicated |
| 30B | 22,831 | 2 | $24,000 | $29,200 | Per-token |
| 40B | 30,441 | 2 | $32,000 | $29,200 | Dedicated |
| 60B | 45,662 | 3 | $48,000 | $43,800 | Dedicated |
Two things stand out. First, the crossover sits near 18 billion tokens a month. Second, replicas come in whole steps. At 30 billion tokens, the second replica is only needed for the peaks, and per-token wins again. Autoscaling or overflow to a per-token API smooths those steps out.
The dedicated column also leaves out the work of running the endpoint: monitoring, upgrades and on-call. A managed dedicated endpoint includes some of that. Raw GPUs running your own serving stack don't.
Quantization
Weight memory is roughly parameters × bytes per parameter: 2 bytes at BF16, 1 byte at FP8, and about half a byte at 4-bit. A 70B dense model needs about 140 GB for its weights at BF16 and about 70 GB at FP8, before the KV cache. Fewer bytes per weight means fewer GPUs per replica and more memory left for concurrent requests.
Quality can drop with quantization, depending on the model and the method. Some open-weight models are released with FP8 or 4-bit weights as their native format, so check the original precision first. Test the exact build you'd serve on your own evals. When you compare against an API, check which precision each provider serves; the per-model pages, such as gpt-oss-120b, list it by provider.
Latency SLAs
A shared API runs your requests alongside other customers' traffic, so latency moves with their load. If you need a p95 time to first token or a minimum output speed in writing, it's easier to get on a dedicated endpoint, where batch size is set for your traffic alone.
Fine-tunes and LoRA
A full fine-tune is a new set of weights, so in most cases it needs its own deployment. LoRA adapters are small and run on top of the base model. Serving engines such as vLLM can serve many adapters from one deployment, and some per-token providers host adapters on their shared base models. If you run several fine-tuned variants, a dedicated endpoint serving them all as adapters can be cheaper than one deployment per variant.
When per-token wins
- Low volume. Below the break-even, you're paying for idle GPUs.
- Spiky traffic. A high peak-to-average ratio means dedicated capacity sits idle.
- Many models. Each model on dedicated needs its own replicas.
- Uncertainty. If you don't yet know your volume or which model you'll settle on, don't commit.
- No one to run it. Per-token moves the operations work to the provider.
There's also a middle path. A token commit trades a monthly minimum for a lower per-token price. To weigh those quotes, see how to compare inference quotes. If you'd run the GPUs yourself, reserved vs on-demand GPU pricing covers the commitment side.
Get both kinds of quote
On QuoteGPU you describe the model, your monthly token mix, your peak and your latency target once. Verified providers can quote token commits, dedicated endpoints or reserved GPUs, and you see every quote priced at your mix. It's free for buyers. Request inference quotes.
Questions
How many tokens a month before a dedicated endpoint is cheaper?
Divide the endpoint's monthly cost by your blended per-token price. For example, a $14,600-a-month endpoint against $0.80 per million tokens breaks even at about 18 billion tokens a month, as long as the endpoint can also handle your peak load.
Why should a dedicated endpoint be sized for peak load?
A dedicated endpoint can only serve as many tokens per second as its GPUs allow, so it has to cover your busiest periods. You pay for that capacity all the time, which is why spiky traffic favors per-token pricing.
Does quantization make a dedicated endpoint cheaper?
Often, yes. Lower-precision weights take less memory, so a model needs fewer GPUs and has more room for concurrent requests. Test the quantized model on your own evals, because quality can drop.
Can I serve LoRA fine-tunes on a dedicated endpoint?
Yes. Serving engines such as vLLM can load many LoRA adapters on one base model deployment, so several fine-tuned variants can share the same GPUs.