Skip to content

Commit 1bf5374

Browse files
Merge pull request #6625 from NandiniMurali/patch-6
Update fine-tuning-cost-management.md
2 parents 639d8c4 + 64d46c5 commit 1bf5374

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/ai-foundry/openai/how-to/fine-tuning-cost-management.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ This is the one-time, fixed cost associated with teaching a base model your spec
2929
It's straightforward to estimate the costs for SFT & DPO. You're charged based on the number of tokens in your training file, and the number of epochs for your training job.
3030

3131
$$
32-
\text{price} = \text{\# training tokens} \times \text{\# epochs} \times \text{price per token}
32+
\text{price} = \text{\# training tokens} \times \text{\# epochs} \times \text{training price per token}
3333
$$
3434

3535
In general, smaller models and more recent models have lower prices per token than larger, older models. To estimate the number of tokens in your file, you can use the [tiktoken library](https://github.com/openai/tiktoken) – or, for a less precise estimate, one word is roughly equivalent to four tokens.
3636

3737
We offer both regional and global training for SFT; if you don't need data residency, global training allows you to train at a discounted rate.
3838

3939
> [!IMPORTANT]
40-
> We don't charge you for time spent in queue, failed jobs, jobs canceled prior to training beginning, or data safety checks.
40+
> We don't charge you for time spent in queue, failed jobs, jobs canceled prior to training beginning, or data safety checks. Training token price is different from inferencing input/ output token price. Please refer the [pricing page](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service)
4141
4242
#### Example: Supervised fine-tuning (SFT)
4343

@@ -186,4 +186,4 @@ $$
186186
\text{Total Cost} = (1.70 \times 30 \times 24) + (22 + 176) = \$1422.00
187187
$$
188188

189-
Always refer to the [pricing page](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service) for pricing information. The numbers in this article are for example purposes only.
189+
Always refer to the [pricing page](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service) for pricing information. The numbers in this article are for example purposes only.

0 commit comments

Comments
 (0)