tidy3d.web.real_cost#

tidy3d.web.real_cost(task_id: str, verbose=True) float#

Get the billed cost for given task after it has been run.

Parameters
  • task_id (str) – Unique identifier of task on server. Returned by upload().

  • verbose (bool = True) – Whether to log the cost and helpful messages.

Returns

The flex credit cost that was billed for the given task_id.

Return type

float

Note

The billed cost may not be immediately available when the task status is set to success, but should be available shortly after.