How to Cut AI Task Usage in Zapier With Filters and Formatter
Stop wasting AI credits by filtering out items that do not need a model and trimming text before it hits the prompt.
AI steps are the most expensive part of many Zaps, both in Zapier tasks and in model tokens. The fix is to run the model only when it is truly needed and to feed it less text. This short guide shows the two cheapest, highest-impact changes you can make.
What you need
- An existing Zap that already uses an AI step
- A Zapier plan (Filter and Formatter are widely available)
- About 8 minutes
Step 1: Add a Filter before the AI step
Insert a Filter by Zapier step between your trigger and the AI action. Set conditions so the Zap only continues for items worth analyzing. If the filter does not pass, the Zap stops and the costly AI step never runs.
Step 2: Trim text with Formatter
Add a Formatter by Zapier step before the AI action. Use Text, then Truncate to cap the input length, or Replace to strip out quoted reply chains and signatures. Fewer tokens in means lower cost and often a sharper answer.
Text > Truncate
Input: {{Body Plain}}
Max length: 1500
Append: "..." (optional)
Text > Replace (strip signature)
Find: "\nSent from my iPhone"
Replace with: ""Step 3: Cap the output too
In the AI step, set max tokens to the smallest value that still gives a complete answer. For a one-line classification, 30 tokens is plenty. Shorter responses cost less and run faster.
Result: The AI step only runs on items that matter, sees trimmed input, and returns short output, often cutting AI cost by more than half with no loss in quality.
Watch related tutorials
20:00
12:05
32:08
21:45
28:30
32:40