What This Calculator Measures
Fine-tuning trains a base model further on your own examples so it follows a specific style, format, or domain more reliably than prompting alone can achieve. This calculator estimates both the one-time training cost and the ongoing cost of running the fine-tuned model.
Two Different Billing Models
Fine-tuning pricing isn't standardized across providers, and it changes as platforms mature:
- Per-hour training: you're billed for compute time regardless of how many tokens you feed the trainer. OpenAI currently bills some models this way.
- Per-token training: you're billed based on total training tokens processed, often multiplied by the number of epochs (passes over your dataset). This has historically been OpenAI's default for models like GPT-4o mini, though availability for new users changes over time — always check the provider's current fine-tuning docs before committing.
Because of this, the calculator's rate fields are fully editable — they start pre-filled with a real, currently active example, but you should replace them with your own provider's quoted rate.
Inference Cost After Training
A fine-tuned model doesn't run for free — you still pay per-token input/output pricing for every call, usually at a rate specific to the fine-tuned model (often higher than the equivalent base model's price, since your account "owns" a private deployment of it).
The Math
training cost (hourly) = training hours × price per hour
daily inference cost = (input tokens/call × input price + output tokens/call × output price) × calls/day
When Fine-Tuning Is Worth It
- You have a large, consistent volume of a very specific task where prompting alone produces inconsistent results.
- You want to shrink your prompt (and therefore your per-call cost) by baking instructions into the model weights instead of repeating them every call.
- Off-the-shelf models can't be steered into your exact output format no matter how the prompt is engineered.
Common Mistakes
- Underestimating iteration cost. Getting a fine-tune right usually takes several training runs, not one — budget for retraining.
- Ignoring that platforms wind down fine-tuning access. Providers periodically retire or restrict older fine-tuning offerings for new users — check the source link below for current availability before planning around a specific model.
Frequently Asked Questions
Frequently Asked Questions
Related Calculators
You might also find these tools helpful
