08 Documentation

Pricing Best Practices

The formula for calculating the estimated cost of a task

{subtask amount x GNT/h x Subtask timeout settings in hourly increments}

Examples:

  • 5 substasks x 0.5 GNT/hr x 30mins Subtask Timeout = 1.25 GNT
    • 5 x 0.5 x (30/60) = 1.25
  • 10 subtasks x 1 GNT/hr x 1hr Subtask Timeout = 10 GNT_
    • 10 x 1 x 1 = 10

Note: If your settings result in a number with long decimal, Golem will round to the nearest 100th.

  • 3 substasks x 0.5 GNT/hr x 12mins 30sec Substask Timeout = 0.31 GNT
    • 3 x 0.5 x (12.5/60) = 0.3125 rounded down to 0.31
  • 5 subtasks x 0.5 GNT/hr x 15mins 30sec Subtask Timeout = 0.65 GNT
    • 5 x 0.5 GNT/hr x (15.5/60) = 0.645833333~ rounded up to 0.65

Since price is directly tied to your subtask timeouts, it is important to test your typical workflow a few times in our alpha app to determine the best settings for the lowest price.