fine-tune-roi-calculator
Use when a user is considering fine-tuning vs prompt engineering. Returns training cost, monthly inference savings, months-to-ROI, and breakeven volume.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| train_tokens | Yes | Training tokens (dataset × epochs) | |
| train_cost_per_1m | No | Training cost per 1M tokens | |
| prompt_reduction_pct | No | Prompt size reduction % from eliminating few-shot (default 0) | |
| base_inference_cost_1m | No | Baseline API output cost per 1M | |
| monthly_inference_tokens | Yes | Expected monthly inference volume (output tokens) | |
| finetuned_inference_cost_1m | No | Fine-tuned inference cost per 1M |