Applications
Fine-tuning cost calculator
Training cost of a supervised fine-tune from examples, tokens per example and epochs, on OpenAI's published training prices.
With base model gpt-4.1-mini-2025-04-14, examples 5,000, avg tokens per example 600 tokens, epochs 3, the training tokens is 9,000,000 tokens at list prices read 2026-11-01.
Training tokens
Read from vendor pricing pages on 2026-11-01. Arithmetic on list prices, not advice or a quote.
Saving and exports come with Pro, $9 a month. What is in it. The calculator itself is free.
How it works
Training is billed per token actually trained, so epochs multiply the bill. Inference on a fine-tuned model is priced separately on the vendor page and is not included here.
The formula
training_tokens = examples * avg_tokens * epochs; cost = training_tokens * training_price / 1,000,000
Worked example
Inputs
- Base model
- gpt-4.1-mini-2025-04-14
- Examples
- 5,000
- Avg tokens per example
- 600 tokens
- Epochs
- 3
Result
- Training tokens
- 9,000,000 tokens
- Training cost
- $45.00
- Cost per epoch
- $15.00
Sources
- developers.openai.com/api/docs/pricing (read 2026-11-01)
Prices read from each vendor's own pricing page on 2026-11-01; the page may have changed since. This is arithmetic on published list prices, not advice or a quote. Check the vendor's page before committing a budget.
Questions
Why only OpenAI?
Related tools
Chatbot monthly cost estimator
Monthly cost of a chat assistant where every turn re-sends the conversation so far.
RAG monthly cost estimator
Monthly cost of a retrieval-augmented answer flow: query embedding, retrieved chunks in the prompt, and the generated answer.
AI agent run cost estimator
Cost of an agent loop where each step re-reads the growing transcript: steps, tool results and output per step.