Skip to content

Task size: pay-per-task ​

Pay-per-task categories, time limits, and claim rules.

Pay-per-task model ​

We base the pay-per-task model on task size categories. Each category defines two limits:

  • Maximum Computing Time (C): per-task execution time on the worker. If the task exceeds C, the worker stops the task and marks it as failed.
  • Maximum Deal Time (D): overall time window for a task in the deal. If the task isn’t completed within D, the requester can claim the task. On claim, the requester recovers the RLC engaged for this task.

Categories Description:

CategoryMaximum Computing Time (C)Maximum Deal Time (D)
0 – XS5 min50 min
1 – S20 min200 min (3h20m)
2 – M1 hour10h
3 – L3 hours30h (1d6h)
4 – XL10 hours100h (4d4h)
  • Worker allocates up to C per task. Beyond C, the worker stops the task.
  • Requesters can claim the task after D if the task isn’t completed.

How to pick a category (quick guide) ​

Use this decision table to choose a safe category for your workload.

Typical workloadSuggested category
Short scripts / small data processingCat 0–1
Medium data processing (10-15min)Cat 2
Heavy ML inference / long simulationsCat 3–4

Use the iExec SDK to set the category in app, request, or workerpool orders.
For commands and examples, see the iExec SDK Github repository.