On this page
Amazon prices Ergo on Bedrock at $1 per million input tokens, $0.03 per million cached input tokens and $3 per million output tokens. Its weights are also free to download under the Amazon Ergo Open-Weights License. So which is cheaper: paying per token, or renting GPUs and serving it yourself?
The honest answer depends on two numbers you have to measure: how much of your input is cached, and how many tokens per second your own node can sustain. This article shows how to put them together. GPU prices below are illustrative inputs, not quotes.
#Step 1: what a request costs on Bedrock
Bedrock bills three kinds of tokens at different prices, so the useful number is the cost per request for your traffic:
Two request shapes, computed from those prices:
| Request shape | Input | Cached share | Output | Cost per request | Blended price per million tokens |
|---|---|---|---|---|---|
| Chat | 2,000 | 0% | 500 | $0.0035 | $1.40 |
| Chat with a shared system prompt | 2,000 | 60% | 500 | $0.0023 | $0.93 |
| Agentic coding turn | 60,000 | 95% | 1,000 | $0.0077 | $0.13 |
| The same turn with no caching | 60,000 | 0% | 1,000 | $0.0630 | $1.03 |
The agent row is the one to notice. Coding agents resend the whole conversation, files and tool results on every turn, so almost all of each prompt is a prefix the service has already seen. At $0.03 per million, those cached tokens are 33 times cheaper than uncached input, and a 61,000-token turn costs under a cent. Without caching, the same turn costs eight times as much. Whether you use Bedrock or your own GPUs, a stable prompt prefix is the biggest cost lever you have (prompt cache calculator, KV cache explained).
#Step 2: what a self-hosted node must sustain
A dedicated node costs the same every hour, busy or idle. To match Bedrock on cost, it has to serve enough tokens to be worth its hourly price at Bedrock's rates:
Take an illustrative 8-GPU Blackwell node at $40 an hour ($29,200 a month), the kind of node that holds the MXFP4 checkpoint. Replace the price with your own quote.
| Workload | Requests per second needed, around the clock | Output tokens per second | Input tokens per second |
|---|---|---|---|
| Chat (2,000 in, 500 out) | 3.2 | about 1,600 | about 6,300 |
| Agent turns (60,000 in, 95% cached, 1,000 out) | 1.4 | about 1,400 | about 86,000, of which about 4,300 uncached |
These are averages over every hour of the month. Real traffic has quiet hours, so the node needs headroom above them. At 50% average utilisation, which is good for interactive traffic, the chat workload needs a node that can serve about 3,200 output tokens per second at your latency target; at 30%, about 5,300.
And these figures cover only the GPU rent. Add the engineers who run it, the on-call rota, monitoring, storage, a spare node or second region for availability, and the evaluation you will run on every engine upgrade. A conservative share of people time often doubles the bill for one service (cost per million tokens explained).
#Step 3: can a node actually do that?
That is the number to measure, because nobody has published Ergo throughput on your hardware with your traffic yet. What we know:
- Decode at small batches is bounded by reading about 29 GB of active weights per token in MXFP4. On 8 × B200 that caps a single stream at about 1,500 tokens per second in theory, and real figures are far lower once routing and communication between GPUs are counted (self-hosting guide).
- Throughput comes from batching. With hundreds of 32K-token sessions fitting in the KV cache of an 8 × B200 node, there is room for large batches, but the node must reach the throughput above while meeting your latency target, which is a lower number than its peak.
- Prefill counts too. For agents, 4,300 uncached input tokens per second is modest. For chat with no caching, 6,300 input tokens per second of prefill competes with decode for the same GPUs (prefill vs decode).
So run the benchmark first: an open-loop load test with your real prompt and output lengths, at a fixed latency target, on the node you would rent (how to benchmark an LLM server). Then compare the sustainable throughput with the table above.
#What moves the answer
- Your node price. It scales the break-even throughput directly: a $20-an-hour node needs half the throughput of a $40 one.
- Your utilisation. Steady, round-the-clock traffic (batch jobs, evaluation runs, background agents) makes self-hosting look much better than spiky daytime traffic.
- Your cache hit rate. Bedrock's cached-input price is so low that heavy caching makes the API very hard to beat. If your prompts share little, the blended price rises and self-hosting gets closer.
- Your output length. Output costs three times as much as input on Bedrock, and output tokens are also what your own GPUs spend most of their time on.
- Turbo pricing. Amazon's faster Ergo Turbo mode is in preview with pricing to come; if it is priced higher, the comparison changes for latency-sensitive work.
The self-host vs API calculator lets you try these inputs, and the FinOps lesson shows why the break-even point can disappear entirely: if each extra GPU serves a million tokens for more than the API charges, self-hosting never catches up, however much traffic you have.
#Reasons to self-host that are not about price
- Data that cannot leave your infrastructure, even with zero data retention on Bedrock.
- Fine-tuning. The licence allows modifying the weights, and you can serve your own variant.
- Latency and placement control: your region, your network, your scheduler settings, your own prefix-cache strategy.
- Independence from one provider's capacity and pricing, within the licence's terms.
One licence term to check if you resell access: a group running a model-as-a-service business with more than US$20 million of revenue in 12 months needs a separate agreement with Amazon. Using Ergo inside your own product is not affected by that clause, but read the licence yourself.
#A simple rule
Start on Bedrock. Log your real input, cached-input and output tokens for a few weeks, compute your blended price, and only then price a node against it, using throughput you have measured. For most teams the API will be cheaper; self-host when the data, fine-tuning or control argument is strong enough to pay for the difference.
Prices from the Ergo model card on 2 December 2026. The GPU node price is illustrative; request shapes are examples, not measurements of any real workload.
costservingmodels
Found this useful?
Send it to someone who is learning the same thing.
Next: learn it step by step, free
FinOps for LLM inference: unit cost, utilisation, spot and reserved
Compute cost per million tokens from first principles, find where money leaks (idle GPUs, low batch, long prompts, retries), compare on-demand, reserved and spot capacity, build a cost model and da… A free lesson with worked examples and a quiz.
Free 5-day email course
Why LLM inference is slow and how to make it fast. One short email a day for five days, each built on a free lesson, then the occasional new lesson or offer. Unsubscribe in one click.