Ravi Sir's Cards › AWS
Tokens and cost discipline
This revision card explains Tokens and cost discipline. It starts from the need that long prompts, long answers, and unbounded test loops create surprise bills. You usually pay per input token and per output token. Keep max_tokens small in labs; set AWS Budgets. The how-to section covers how to enable one cheap model, budget alert (e.g. $5), never put Bedrock in an infinite loop. An example on the card is ten short test calls stay cheap; a loop of 100k-token dumps does not.
Read card text
What this card says
Why do we need it?
Long prompts, long answers, and unbounded test loops create surprise bills.
What is it?
You usually pay per input token and per output token. Keep max_tokens small in labs; set AWS Budgets.
max_tokens
How to do it
Enable one cheap model, budget alert (e.g. $5), never put Bedrock in an infinite loop.
Example
Ten short test calls stay cheap; a loop of 100k-token dumps does not.