How is Code by Zapier usage measured?

Code by Zapier usage is measured by the number of tasks your code steps use. This guide explains what counts as a task, how billing works for extended runtimes, and what happens when you reach your plan's limits.

Note

Billing for extended runtimes begins June 15, 2026. Until then, this feature is free to use.

Plan comparison

Plan Standard runtime Extended runtime billing
Free 1 second Not available.
Trial Matches the plan you're trialing 1 task per 30 seconds
Professional 30 seconds 1 task per 30 seconds
Team 30 seconds 1 task per 30 seconds
Enterprise 2 minutes 1 task per 30 seconds

Standard runtime is the amount of time each Code step can run before additional tasks are charged.

For full pricing details, visit the Zapier pricing page.

What uses tasks

Every Code step run uses tasks. How many depends on what your code does and how long it runs.

Code step execution

Each Code step run uses 1 task for initialization, regardless of how long it runs or what it does.

Extended runtime

If your code runs longer than your plan's standard runtime, you're charged 1 task for every additional 30 seconds. Partial blocks round up, so 45 seconds over your standard runtime counts as 2 tasks.

Note

Free plan users cannot use extended runtime. Code steps that exceed 1 second will fail.

How tasks stack

Tasks from different sources stack together. A single Code step can use multiple tasks if it runs longer than your standard runtime.

Example: Extended runtime less than 30 seconds

A Professional plan user runs a Code step for 35 seconds (5 seconds over the 30-second standard runtime):

Source Tasks
Code step 1
Extended runtime 1 (5 seconds rounds up to 1 block)
Total 2
Example: Extended runtime more than 30 seconds

A Professional plan user runs a Code step for 90 seconds (60 seconds over the 30-second standard runtime):

Source Tasks
Code step 1
Extended runtime 2 (60 seconds = 2 blocks of 30 seconds)
Total 3

What does not use tasks

The following do not use tasks:

  • Code triggers (only actions use tasks).
  • Code steps that fail or error before completing.
  • Time within your standard runtime.

Billing cycles

Your Code by Zapier usage counts toward your Zapier plan's task usage. Tasks reset on your billing date each month.

What happens if I reach my task limit

If you reach your plan's task limit:

  • Your Zap workflows will stop running until your next billing cycle, unless you have pay-per-task billing enabled.
  • With pay-per-task billing enabled, your Zap workflows continue running and you're charged for additional tasks.
Was this article helpful?
0 out of 0 found this helpful