Published
Bedrock Provisioned Throughput vs On-Demand vs EKS vLLM: An Auditable Cost Model
Calculate break-even from measured token categories, usable serving capacity and operating costs, then reconcile Bedrock spend using trusted IAM principal tags.
The cheapest token rate can produce the most expensive deployment when capacity sits idle or the chosen model fails the quality requirement. Compare on-demand Bedrock, supported Provisioned Throughput and self-hosted vLLM only after fixing the model, context distribution, quality threshold, latency objective and failure behavior. An unlike model at a different quality level is a product trade-off, not an infrastructure saving.
Define the workload before the price
Capture requests per time bucket, input/output lengths, cache categories, concurrency, latency and failures for a representative period. Include evenings, weekends, traffic spikes and long-context requests. Use the current Bedrock prices for the exact model, Region and purchasing option. Availability of Provisioned Throughput and its commitment terms are model-specific; do not assume every endpoint supports the same choices.
| Option | Monthly scenario equation | Capacity constraint |
|---|---|---|
| On-demand | Sum of each billed token category × its matching unit rate, plus other applicable meters | Quotas, throttling and observed latency |
| Provisioned | Committed model-unit hours × quoted rate + applicable ancillary usage | Measured usable throughput and supported model terms |
| EKS vLLM | GPU/CPU hours + EKS + storage/network + telemetry + operating effort | Quality, batching, memory, availability and latency |
For a deliberately simple example with no caching or other meters, 100 million input tokens at a hypothetical $2/million and 20 million output tokens at $8/million cost $360. If the full fixed alternative costs $2,400/month, break-even is about 6.67 times that exact workload mix. Neither number is an AWS quote. Change the output ratio, availability requirement or nightly idle capacity and the conclusion changes.
Use a reproducible scenario, not a universal token threshold
The offline comparison script accepts a scenario file and performs no cloud calls. Its synthetic fixture contains the example above. Run it locally after reviewing the assumptions:
python3 cost_model.py cost-scenario.json
The model counts input and output tokens separately and compares two all-in fixed alternatives. It deliberately does not estimate model throughput, cache prices, contractual minimums, interruptions or the value of engineer time for you. Put those costs into the inputs using a measured benchmark and an explicit assumption register. Reject an alternative that cannot meet the accepted service objective even if its arithmetic is cheaper.
For vLLM, benchmark the actual model, quantization, hardware, prompt distribution and concurrency. Warmup, KV-cache pressure, batch behavior and failure recovery change usable capacity. Test an unavailable node and draining/restarting workloads. A one-GPU benchmark that meets average throughput does not demonstrate a highly available production service. Check model license and data handling before self-hosting.
Attribute costs using trusted IAM identity
Bedrock supports IAM principal cost tracking. Enable the applicable IAM principal cost allocation tags through the payer/management or standalone account and use the supported CUR 2.0 fields. A trusted team or application dimension can help separate agent workloads without putting emails or prompt identifiers in billing tags.
This is aggregated billing evidence, not a guaranteed invoice line for every prompt. Reconcile usage types, dates and model identifiers against your own approved request ledger. Configure tags through a trusted identity issuer; a model-supplied team=finance label is not an authorization or reliable cost allocation boundary. Keep tag cardinality controlled and review tag propagation across role chains.
Put an operational threshold on the decision
Approve the change only when three records agree: the bill/quoted commitment, the benchmarked service capacity and the on-call operating plan. State the expected quiet-month cost and the overload behavior. If a fixed commitment exceeds expected on-demand spend, a predicted future traffic increase is a business assumption requiring an owner, not a measured saving.
Keep a return path for the selected workload, including model/API compatibility, data movement and provisioned commitment constraints. A rollback cannot cancel a non-cancellable financial commitment. Use inline agent budgets to limit runaway consumption under any serving option.
The $3,500 telemetry cost audit can include one bounded AI spend scenario within the published source/account limits. Its output is a reviewable cost baseline and pilot, not an open-ended model training or migration project.
Frequently asked questions
Is there one RPS threshold where vLLM becomes cheaper?
No. Token mix, model, quality, batching, GPU utilization, availability and operating effort determine usable capacity and cost. Benchmark the accepted workload.
Do IAM principal tags provide exact per-prompt invoices?
No. They support billing attribution at the documented aggregation. Use an application request ledger and reconcile it with billing records for finer analysis.
Can a cheaper fixed commitment always be rolled back?
No. Technical rollback and contractual cancellation are separate. Review commitment duration and terms before buying capacity.
Continue reading
- Bedrock in FedRAMP and NIST 800-53 Environments: Guardrails and Audit Evidence
Map Bedrock network, identity, Guardrails and logging evidence to owned NIST controls, with authorized-scope checks and negative fixtures.
- Bedrock Knowledge Base Costs: OpenSearch Serverless OCUs vs Aurora pgvector
Compare classic and NextGen OpenSearch capacity with Aurora pgvector, then stage a Bedrock knowledge-base migration with retrieval and rollback checks.
- Bedrock Model Invocation Logging: Direct S3, Athena and CloudWatch Cost Boundaries
Use a reviewed S3-only Bedrock invocation-log route, verify endpoint coverage and build an auditable Athena pipeline without assuming universal CloudWatch rates.
Written by
Tymur Chmeruk
Cloud Security & Infrastructure Engineer · Baltimore–Washington Metro · [email protected]