Skill 4.2.7
Evaluate cost implications of using FMs for inference in production
Key Concepts
On-demand cost is (input tokens x input price) + (output tokens x output price) per request; output tokens usually cost more. Long contexts from RAG and conversation history raise input tokens; agents multiply calls per task.
Compare on-demand with Provisioned Throughput (hourly, regardless of use), self-hosting on SageMaker AI (instance hours) and batch pricing at the expected volume, and include embedding, vector store and guardrail costs.