Compare costs between AWS Bedrock and Self-Hosting on SageMaker
This tool compares two pricing models by calculating costs across different token volumes. Here's the math behind each calculation:
Input Cost = (Token Volume ÷ 1000) × Input Token Price
Output Cost = (Token Volume ÷ 1000) × Output Token Price
Processing Time (hours) = Max(Input, Output) Tokens ÷ (Throughput × 3600)
Note: Throughput applies to both input and output simultaneously; 3600 converts seconds to hours
Total Cost = Processing Time × Instance Hourly Cost