Estimate price
Estimate the price of a fine-tuning job.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
File-ID of a training file uploaded to the Together API
File-ID of a validation file uploaded to the Together API
Name of the base model to run fine-tune job on
Number of complete passes through the training dataset (higher values may improve results but increase cost and risk of overfitting)
Number of evaluations to be run on a given validation set during training
The training method to use. 'sft' for Supervised Fine-Tuning or 'dpo' for Direct Preference Optimization.
- Option 1
- Option 2
The training type to use. Defaults to LoRA if not provided.
- Option 1
- Option 2
The checkpoint identifier to continue training from a previous fine-tuning job. Format is {$JOB_ID} or {$OUTPUT_MODEL_NAME} or {$JOB_ID}:{$STEP} or {$OUTPUT_MODEL_NAME}:{$STEP}. The step value is optional; without it, uses the final checkpoint.
Response
Price estimated successfully
- Option 1
- Option 2
Whether price estimation is available for the requested fine-tune job.
true The price of the fine-tuning job
Whether you are allowed to proceed with the fine-tuning job.
true
Your credit limit in dollars.
The estimated number of tokens to be trained
The estimated number of tokens for evaluation