v3

OpenAPI 3.1.0MIT2026-07-31192456807.8 KB
Fine-tuning

Estimate price

Estimate the price of a fine-tuning job.

post/fine-tunes/estimate-price

Request body

training_filestring required

File-ID of a training file uploaded to the Together API

validation_filestring

File-ID of a validation file uploaded to the Together API

modelstring

Name of the base model to run fine-tune job on

n_epochsinteger

Number of complete passes through the training dataset (higher values may improve results but increase cost and risk of overfitting)

n_evalsinteger

Number of evaluations to be run on a given validation set during training

from_checkpointstring

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

OR

Example response

{
  "allowed_to_proceed": true
}