Skill 2.1.4

Describe the token-based pricing model and its effect on cost and performance for inference

Key Concepts

On-demand FM pricing in Amazon Bedrock charges per input token and per output token (output usually costs more), varying by model. Larger, more capable models cost more per token.

Long prompts (large retrieved context, long conversation history) and long outputs raise cost and latency. Reduce them with concise prompts, limiting max tokens, summarising history, retrieving only relevant chunks, prompt caching for repeated prefixes, batch inference discounts and choosing smaller models where quality allows.