Fine-tuning an open LLM on cloud GPUs usually costs a few dollars to a few tens of dollars per run. On Nodus, where an NVIDIA H100 is listed at $2.60/hr, we estimate about $3 for an 8B LoRA run and $21 for a 70B QLoRA run, each on 20 million training tokens. The run you keep is rarely the big number: idle machines, failed attempts and repeated recipes are.
How do you estimate the cost of any fine-tuning run?
Count the math, divide by the speed you will really get, then multiply by the hourly rate. Training takes about 6 operations per parameter per token, the rule from Kaplan et al.'s scaling-laws paper. Our 70B fine-tuning cost post adapts it for fine-tuning with gradient checkpointing: about 6 operations for LoRA and QLoRA, and 8 for full fine-tuning.
GPU-hours = (ops per param x parameters x training tokens) / (dense BF16 peak x 0.30 x 3,600)
cost = GPU-hours x hourly rate + billed startup
The 0.30 is utilization, the share of peak speed a real job sustains. It is a planning assumption, not a measurement; our LLM training cost post explains where it comes from. Replace it with the tokens per second your own job reports and the formula stays the same.
Every example below uses one workload: 10,000 examples of about 1,000 tokens, trained for 2 epochs, so 20 million training tokens. We add 15 minutes of billed startup per run for pulling weights and loading them, the same allowance our other cost posts use.
What does a fine-tune cost for 8B, 14B and 70B models?
From $2.15 to $21.26 per run in our worked examples. Memory picks the GPU first, then price per unit of math picks among the GPUs that fit.
| Model and method | Setup | Hours | Training | With startup |
|---|---|---|---|---|
| Llama 3.1 8B, LoRA | 1 x L40S | 2.46 | $1.95 | $2.15 |
| Llama 3.1 8B, LoRA | 1 x H100 SXM | 0.90 | $2.35 | $3.00 |
| Qwen3-14B, LoRA | 1 x H100 SXM | 1.66 | $4.31 | $4.96 |
| Llama 3.1 8B, full | 8 x H100 SXM | 0.15 (1.20 GPU-h) | $3.13 | $8.33 |
| Llama 3.3 70B, LoRA | 1 x B200 | 3.48 | $19.16 | $20.54 |
| Llama 3.3 70B, QLoRA | 1 x H100 SXM | 7.93 | $20.61 | $21.26 |
Rates listed on the Nodus pricing page: L40S $0.793/hr, H100 SXM $2.60/hr, B200 $5.50/hr. Prices checked November 23, 2026. Dense BF16 peaks are 362.05 TFLOPS for the L40S from NVIDIA's L40S page, and 989 TFLOPS (H100) and 2,250 TFLOPS (B200) as derived in our 70B post. Parameter counts come from each model's Hugging Face files: 8.03 billion for Llama 3.1 8B, 14.77 billion for Qwen3-14B and 70.55 billion for Llama 3.3 70B.
Here is the arithmetic once, for the 8B LoRA run on an H100. Each token costs 6 x 8.03 billion = 48.2 billion operations, so 20 million tokens need 9.64 x 10^17. At 30% of 989 TFLOPS that takes 3,248 seconds, or 0.90 hours. At $2.60/hr that is $2.35, plus $0.65 for 15 minutes of startup: $3.00.

Model size moves the bill roughly in step with parameters; the full fine-tune row is expensive mostly because of startup on eight GPUs.
Hugging Face estimates about 16 GB for an 8B LoRA, which our Llama on H100 post quotes, so a 48 GB L40S has room. Qwen3-14B's 16-bit weights are 29.5 GB, well under an H100's 80 GB.
The 70B needs QLoRA to fit one H100, or a 180 GB B200 for 16-bit LoRA. Full fine-tuning of an 8B model needs about 16 bytes per parameter with AdamW, roughly 128 GB before activations, so it goes to eight GPUs.
Is there a rule of thumb for fine-tuning cost?
Yes: on an H100 at $2.60/hr and 30% utilization, LoRA costs about $0.015 per billion parameters per million training tokens. Full fine-tuning costs about a third more per token, because it does 8 operations per parameter instead of 6.
That gives $0.12 per million tokens for an 8B model, $0.22 for a 14B and $1.03 for a 70B. Multiply by your training tokens (dataset tokens x epochs) and add startup. The rule is linear, so a run on 200 million tokens costs ten times one on 20 million, and startup stops mattering.
The decision rule we use across sizes:
- Pick the method from memory: LoRA if the 16-bit model fits one GPU, QLoRA if only the 4-bit model fits, full fine-tuning only when you have measured that LoRA falls short. Our LoRA vs full fine-tuning post covers that trade.
- Among GPUs that fit, take the lowest hourly rate divided by dense peak. The L40S ($2.19 per petaFLOPS-hour) beats the H100 ($2.63) for an 8B LoRA, which is why it is the cheapest row above, though it takes 2.7 times longer. An A100 80 GB at $1.09/hr and 312 TFLOPS comes to $3.49, so its low rate buys the most expensive math.
- Budget with tokens x the per-million rate, then double it for a first project to cover the runs you will throw away.

The cheapest hourly rate is not the cheapest math: the A100 80 GB costs the most per unit of training work of these three.
Is a managed fine-tuning API cheaper than paying for GPU time?
For small jobs and slow pipelines, often yes. Together AI lists supervised LoRA fine-tuning at $0.34 per million tokens for Llama 3.1 8B and $2.03 for Llama 3.3 70B, with a $4.00 minimum per job, on its pricing page. That price is all-in: no idle machines, no startup, no failed-run risk you pay for.
OpenAI's pricing page says its fine-tuning is closed to new users, so it is not an option for a new project. Prices checked November 23, 2026.
Against our estimates, Together costs $6.80 for the 20-million-token 8B run and $40.60 for the 70B run, against $3.00 and $21.26 on an H100. The comparison flips with your real speed. At 30% of peak, the 8B job trains at about 6,158 tokens per second; below 2,124 tokens per second (about 10% of peak) the per-token price is cheaper. For the 70B on an H100, the break-even is about 356 tokens per second, or 15% of peak.

Below about 12 million tokens Together's $4.00 minimum sets its price; above it the gap grows with every token, if your job sustains 30% of peak.
| Training tokens | 1 x H100 on Nodus (estimate) | Together AI, Llama 3.1 8B |
|---|---|---|
| 5 million | $1.24 | $4.00 |
| 10 million | $1.82 | $4.00 |
| 20 million | $3.00 | $6.80 |
| 50 million | $6.51 | $17.00 |
| 100 million | $12.38 | $34.00 |
The Nodus column is our formula plus $0.65 of startup, not a measured run. Pick the managed API if your model is on its list, you want no infrastructure at all, or you cannot measure throughput yet. Pay by the GPU-hour if you train a model it does not list, need full control of the recipe, or run enough tokens that the per-token gap adds up.
What costs do fine-tuning estimates leave out?
The runs you do not keep. A training estimate prices one clean attempt; real projects pay for idle time, failures, iterations, evaluation and storage.
- Idle time. A machine left on for an hour after the 8B run adds $2.60 on an H100, 87% of the $3.00 run.
- Failed attempts. In our Nodus vs Modal fine-tuning benchmark, a wrapper bug failed our first attempt before training. That failure was charged $0.062308, more than the $0.048696 successful run, bringing the total to $0.111004.
- Preemption without a checkpoint. A reclaimed machine repeats every step since the last save. The Llama post works through one case: $8.35 clean becomes $15.50 with no checkpoint, or $9.44 with 10-minute checkpoints.
- Recipe iterations. Three learning rates means three runs. This is why we double the first budget.
- Evaluation. A forward pass costs about 2 operations per parameter per token, a third of LoRA training, so scoring a held-out set is cheap. Generation-based evals run slower than this math suggests, so time one before you scale it.
- Storage. Base weights, datasets and checkpoints sit in storage between runs, and on Nodus a recovery snapshot is billed as storage until it is deleted, per the checkpoints guide.
Our post on whether fine-tuning is worth it covers the bigger hidden cost: training on a gap that fine-tuning cannot fix.
How do you cap fine-tuning spend on Nodus?
Put a hard limit on the job and check the estimate before it starts. A Nodus TrainingJob (Beta) estimates the run before launch and takes a maxCostUSD cap that covers the job, its grading, its output export and its retries, per the training guide. These lines are copied from that guide:
maxCostUSD: "20.00"
$ nodus apply -f sft.yaml --dry-run -o yaml # status.estimate: cost to completion, first hold, start time
When the cap is reached, the run is suspended rather than failed. Raising the cap resumes it from its checkpoint, so hitting the limit does not throw away the hours already paid for. Nodus also checkpoints runs and restores them on a new machine when capacity is reclaimed, which shrinks the preemption line above.
FAQ
How much does it cost to fine-tune a 7B model?
About the same as the 8B examples: at $0.015 per billion parameters per million tokens, a 7B LoRA costs roughly $0.10 per million training tokens on an H100 at $2.60/hr. A 20-million-token run is a few dollars including startup.
Is a B200 cheaper than an H100 for fine-tuning?
Per unit of math, yes: $5.50/hr over 2,250 TFLOPS is $2.44 per petaFLOPS-hour. For the 8B LoRA it still costs more, $3.56 against $3.00, because 15 minutes of startup at $5.50/hr eats the saving on a short run.
Does more data always cost more?
Yes, linearly: cost follows training tokens, which is dataset size times epochs. Cutting a third epoch saves a third of the GPU time, so check validation loss before paying for it.
How much does it cost to fine-tune a 70B model with full fine-tuning?
Our 70B post estimates about $37 on 8 x B200 and $45 on 8 x H200 for the same 20 million tokens, including startup. Memory, not math, is what makes it more expensive than LoRA.
Originally published on the Nodus blog.
Top comments (0)