Skip to main content

Fine-Tuning Cost Calculator

Estimate fine-tuning training and inference costs for custom AI models.

Last Updated: July 26, 2026

Fine-tuning pricing varies a lot by provider and billing model (per-hour vs. per-token), and platforms change availability often — as of 2026-07-26, OpenAI's classic per-token fine-tuning platform (GPT-4o/4o-mini/4.1-mini) is closed to new users as of this date — o4-mini is billed by training hours instead. All rates below are pre-filled from a real, currently-active example (OpenAI o4-mini (fine-tuned)) but are fully editable so you can plug in your own provider's rates.

Training

Ongoing Inference

One-Time Training Cost

$400.00

Daily inference

$24.80

Monthly inference

$744.00

Verified 2026-07-26 from developers.openai.com/api/docs/pricing

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

Fine-tuning pricing varies a lot by provider and billing model — some charge per training hour, others per million training tokens — and platform availability changes often. The fields start pre-filled with a real, currently active example but you can overwrite them with your own provider's rates.
As of the verification date shown, OpenAI's per-token fine-tuning platform for models like GPT-4o and GPT-4.1-mini is closed to new users; o4-mini fine-tuning (billed hourly for training) remains active. Always check the source link for the current status.