Customization Approaches and Their Cost Tradeoffs
The approaches, cheapest first (design guidance on ordering; facts verified where noted)
| Approach | What changes | Cost | Use when |
|---|---|---|---|
| In-context learning (prompt engineering, few-shot examples) | Only the prompt | Lowest: just tokens | Format, tone, simple task guidance |
| RAG | The context: retrieved documents | Low to medium: vector store, embeddings, retrieval | Answers must use current or private facts, with citations |
| Model distillation | A smaller student model learns from a larger teacher | Medium: teacher inference + training; then cheaper, faster inference | You need large-model quality at small-model cost and speed |
| Fine-tuning | The model's weights, using labelled examples | Medium to high: training (tokens × epochs) + storage + serving | Consistent style, format or domain behaviour |
| Continued pre-training | Weights, using large unlabelled domain data | High | Deep domain vocabulary (e.g. medical, legal) |
| Pre-training from scratch | A whole new model | Highest: huge data and compute | Almost never for a business; providers do this |
Amazon Bedrock specifics
- Bedrock customization methods: supervised fine-tuning (labelled data), reinforcement fine-tuning (reward functions, e.g. in AWS Lambda), and distillation (teacher → student, with Bedrock generating synthetic data).
- The current Bedrock customization page lists only those three methods; continued pre-training appeared in older Bedrock docs and is still a concept the guide names.
- Training is charged by tokens in the training data × epochs, plus monthly model storage.
- A customized model is served with Provisioned Throughput or an on-demand custom model deployment.
- Only you can access a distilled model; Bedrock doesn't use your data to train models for public use.
Exam traps
- Fine-tuning for knowledge that changes often. Use RAG.
- Pre-training a model when prompting or RAG would work.
- Distillation makes the student bigger. The student is smaller, faster and cheaper.
References
- Bedrock model customization — checked Oct 19, 2026
- Bedrock model distillation — checked Oct 19, 2026
- Inference for a custom model — checked Oct 19, 2026
Check your understanding
Cheapest way to get answers in a fixed JSON format?Show answerHide answer
Answer
Prompt engineering with an example (in-context learning).Keep large-model quality but cut latency and cost?Show answerHide answer
Answer
Model distillation.What two things make up Bedrock fine-tuning training cost?Show answerHide answer
Answer
Tokens processed (training tokens × epochs) and model storage per month.