Compare the monthly token cost of polling on a timer versus waking on a webhook, using official November 29, 2026 list rates.
Enter your event rate, poll interval and tokens per poll or per event. Poll Cost prices both paths and shows the break-even event rate. Token cost only; HTTP request fees are not included.
$9, once. The free version works without paying.
Everything runs in this browser tab. Nothing you paste is uploaded. Prices are a November 29, 2026 snapshot of official OpenAI, Anthropic and Gemini pricing pages. The event rate is yours; the tool does not estimate how often events arrive. This is token cost only. HTTP request fees, queue fees and the cost of hosting a webhook endpoint are not included unless you fold them into custom rates. The tool does not model missed events or delivery failures, and does not call any API.
Results
Run the tool to see results here.
Price
How it works
- Paste or type your input on the left, or press Load example.
- Press "Compare the paths". The work happens in this tab.
- Read the findings, then copy or download the result.
Why this exists
A two-minute poll looks cheap per call and pays for every empty check. A webhook pays only when an event arrives, but each event may use more tokens. Without the event rate and official list prices, the comparison is a guess.
- Claude Haiku 5.5 list rates for prompts up to 100,000 tokens: $0.10 input, $0.50 output, $0.01 cache hits per 1M tokens (November 29, 2026 snapshot). Empty poll loops still pay these rates. — Anthropic API pricing, 2026-11-29
- Standard list prices per 1M tokens, including gpt-5-nano at $0.05 input, $0.40 output and $0.005 cached input (November 29, 2026 snapshot). — OpenAI API pricing, 2026-11-29
- Paid list rates include gemini-3.1-flash-lite text at $0.25 input and $1.50 output (November 29, 2026 snapshot). — Gemini Developer API pricing, 2026-11-29