Do I get charged for tokens consumed while fine tuning a model? When my model is done, making requests will consume all my training instructions + the request made?
For example:
Training file - Joe ( this tokens) +
request - Whats my name? (this tokens)
The pricing works as follows: you get charged once for finetuning the model. The amount you pay depends on the volume of your training examples plus the size of the individual training pairs along with a few other parameters. See here for an example of the costs involved (see sub-section “estimate costs”: https://platform.openai.com/docs/guides/fine-tuning/preparing-your-dataset
Once the finetuned model is in place, you get charged normally for the use of the model as you would for other models. A finetuned model is slightly costlier than the corresponding regular model. I could not find the latest price page otherwise I would have referenced it too.
Your training file will consist of examples of conversations. All AI-seen language within the file is counted as tokens.
Additionally, the fine-tune is performed in multiple passes called “epochs”, each of which are billed. A typical auto-default for a small file may be eight epochs.
Fine-tune cost = (training file tokens) X (epochs)
Then in use, compare the costs above to normal models. Fine tune model usage is now 2x the cost for input, 3x the cost for output (it used to be an extreme difference):