Skip to main content

Pricing Calculate

Calculates the price to autotrain a model based on the specified configuration.

URL

GET https://api.synodic.ai/v0/pricing/calculate

Query Parameters

  • {gpu}: t4 | a100 | h100 (string)
  • {variant}: the type of model being trained (string)
    • yolov6n, yolov6s, yolov6m, yolov6l (YOLOv6 variants)
    • yolov8n, yolov8s, yolov8m, yolov8l, yolov8x (YOLOv8 variants)
    • yolov9t, yolov9s, yolov9m, yolov9c, yolov9e (YOLOv9 variants)
    • yolov10n, yolov10s, yolov10m, yolov10l, yolov10x (YOLOv10 variants)
  • {epochs}: (integer)
  • {train_images}: the number of images in the training set (integer)
  • {test_images}: the number of images in the test set (integer)
  • {valid_images}: the number of images in the validation set (integer)

Example Request

curl -X GET "https://api.synodic.ai/v0/pricing/calculate?gpu={gpu}&variant={variant}&epochs={epochs}&train_images={train_images}&test_images={test_images}&valid_images={valid_images}"

Example Response

{
"cost": 0.9198558427008771,
"time": 316.28281124385455,
"prediction": "linear_regression"
}