Cost formula
Training cost = training tokens / 1,000,000 × training price per 1M; Inference cost = (input tokens / 1M × fine-tuned input price) + (output tokens / 1M × fine-tuned output price)
Calculator
Project training tokens × epochs, then add monthly inference so you can compare fine-tuning against prompt-only approaches.
Train + serve
$12.90train + first month
Ongoing serve $8.40/mo · prompt-only $12.90/mo
Workload
Break-even
Prompt-only path keeps the same model rates but bills the few-shot overhead every request.
Training pays back after about 20,000 served requests (~1.0 months at your volume). Savings $0.000225 per request vs prompt-only.
Inference uses standard list input/output rates for the selected model. Updated 2026-07-31. Approximate static list prices for planning only. Always verify against each provider’s official pricing page before production budgeting.
Guide
Project one-time training cost and ongoing inference cost for fine-tuned models. Training is billed by token processed; inference uses model-specific rates that may differ from the base model. Plan both phases before committing to custom weights for a use case that a prompt might solve cheaper.
Training cost = training tokens / 1,000,000 × training price per 1M; Inference cost = (input tokens / 1M × fine-tuned input price) + (output tokens / 1M × fine-tuned output price)
Fine-tuning adds upfront training spend and sometimes higher or separate inference pricing. Without modeling both, teams adopt custom models for problems where a strong system prompt on a cheaper base model would cost less at their monthly volume.
Not necessarily. Some fine-tuned models have dedicated inference rates. Shorter prompts on a fine-tuned model can save tokens, but you must net that against training cost and any rate premium.
Sum tokens across all training examples and multiply by the number of training epochs. Include validation data if your provider bills it as part of the job.
No. CentsPerToken uses approximate list prices for planning. Fine-tuning rates change frequently—verify on your provider's site before submitting a training job.
Self-hosted fine-tuned weights shift cost to GPU infrastructure. Use the local vs cloud comparer for that economics discussion.