AI economics · Free calculator

Fine-Tuning Cost Calculator

Price a fine-tune end to end: training tokens × epochs, hosted inference premium, and the break-even point where a shorter prompt pays back the training bill.

Disclaimer: Model prices move constantly. Every rate here is an editable input, not a quote — pull the current price page for your provider before you lock a margin model. Token counts are estimates (~0.75 words per token) and vary by tokenizer and language.

2,000
600
3
8
3

Nobody nails it first try. Budget 2–4.

200,000
900

Few-shot examples you no longer need to send.

1
100%

Hosted fine-tunes often cost ~2× base per token.

Try it like this

Tap a scenario to load realistic numbers, then tweak the sliders.

New here? Watch it work in 2 seconds — then tweak it for you.
Advertisement
Formula used

Fine-tune cost and payback

Training is a one-off. The recurring economics are what matter: you save on prompt tokens you no longer send, but you usually pay a per-token premium to run a hosted fine-tune. Fine-tuning only wins at volume.

Train = examples × tokens × epochs × runs ÷ 1M × P_train; Payback = Train ÷ (prompt savings − hosted premium)
Typical training price
$3 – $25 / M tokens
Hosted fine-tune inference premium
1.5× – 3× base
Runs before a usable tune
2 – 4
Minimum examples for a style tune
500 – 1,000
Backlink-friendly embed

Embed this calculator

Free to embed on any site. Inputs preserved, link back to RevenueLab. Each format trades polish for SEO juice.

<iframe src="https://www.revenuelab.fyi/embed/fine-tuning-cost-calculator?examples=2000&tokensPerExample=600&epochs=3&trainPrice=8&runs=3&monthlyCalls=200000&promptSavedTokens=900&inferencePrice=0.5&tunedPremiumPct=100" width="100%" height="680" style="border:0;border-radius:12px;max-width:100%" loading="lazy" title="Fine-Tuning Cost Calculator"></iframe>
<p style="font:12px/1.4 system-ui;color:#666;margin:6px 0 0">Calculator by <a href="https://www.revenuelab.fyi/fine-tuning-cost-calculator?examples=2000&tokensPerExample=600&epochs=3&trainPrice=8&runs=3&monthlyCalls=200000&promptSavedTokens=900&inferencePrice=0.5&tunedPremiumPct=100" target="_blank" rel="noopener">RevenueLab</a></p>

Easiest to install — passes referral traffic and a referring-domain signal.

Cite this calculator

Writing about this topic? Grab a citation — every link helps keep these tools free.

APA
RevenueLab. (2026). Fine-Tuning Cost Calculator. Retrieved from https://www.revenuelab.fyi/fine-tuning-cost-calculator
HTML
<p>Source: <a href="https://www.revenuelab.fyi/fine-tuning-cost-calculator" target="_blank" rel="noopener">Fine-Tuning Cost Calculator — RevenueLab</a> (2026).</p>
Markdown
Source: [Fine-Tuning Cost Calculator — RevenueLab](https://www.revenuelab.fyi/fine-tuning-cost-calculator) (2026).

Fine-tune for behaviour, not for knowledge

Fine-tuning teaches a model how to respond — format, tone, structure, classification boundaries. It is a poor and expensive way to teach it what is true. For facts that change, use retrieval (RAG). Teams that fine-tune to inject knowledge usually end up retraining every time the data changes, which is the most expensive possible loop.

The hidden cost: hosted inference premium

Providers commonly charge more per token to serve a fine-tuned model than the base model — often around 2×. If your prompt savings are small, that premium quietly eats the benefit and you end up paying more forever in exchange for a one-off training bill.

Budget for failed runs

First fine-tunes are almost never the one you ship. Data cleaning issues, wrong epoch counts, and overfitting mean 2–4 runs is realistic. Multiply your single-run estimate accordingly, and add engineering time — which usually dwarfs the compute cost at small scale.

FAQ

How much does it cost to fine-tune an LLM?

A typical style/tone tune — 5,000 examples at 600 tokens, 3 epochs, at $8 per million training tokens — costs about $72 per run, so roughly $215 across three runs. Large domain tunes on bigger models run into the thousands.

Is fine-tuning cheaper than prompting?

Only at volume. Fine-tuning saves prompt tokens on every call but typically adds a per-token inference premium. Below roughly 50,000–100,000 calls per month, a well-engineered prompt plus caching usually wins.

Fine-tuning vs RAG — which do I need?

RAG for knowledge that changes; fine-tuning for behaviour that doesn't. Most production systems use both: a fine-tune for output format and tone, retrieval for the facts.

How many examples do I need?

500–1,000 clean examples is enough for tone and format. Classification typically needs 50–100 examples per class. Data quality beats quantity — 500 excellent examples outperform 5,000 noisy ones.

What about LoRA / open-source fine-tuning?

LoRA on rented GPUs shifts the cost from per-token to per-GPU-hour. A small LoRA often trains in 1–4 GPU-hours; price it in the GPU cloud cost calculator, then compare against the hosted number here.

How many epochs should I use?

Three is the common default. More epochs increase cost linearly and raise overfitting risk — the model starts parroting training examples verbatim instead of generalising.

How this calculator is built

Independently maintained

Written by Sam Doshi and the RevenueLab editorial team. We don't sell the data feeds this tool is built on.

Sourced from primary data

Benchmarks come from public AdSense / Stripe / IRS disclosures and reader-submitted data — never third-party "$X per view" claims. Full methodology.

Last editorial review

Reviewed on a rolling quarterly cycle. Dated reviews are published on the methodology record for each calculator.

Editorial standards

See our editorial policy and disclaimer. Results are estimates, not advice.