# Workers AI - Reject busy synchronous inference requests

Publisher-attributed story with a reviewed brief or permitted publisher paragraph. The original publisher is responsible for the linked reporting.

- Publisher: Cloudflare Developers
- Category: AI
- Original publication time: 2026-09-17T00:00:00Z
- First observed by NexusTechWire: 2026-10-01T15:54:34Z
- Original source: https://developers.cloudflare.com/changelog/post/2026-09-17-reject-if-busy/
- NexusTechWire record: https://nexustechwire.com/news/news-20def3263d8362599daa

## From the publisher

The rejectIfBusy option lets synchronous Workers AI inference requests fail when capacity is unavailable. Use it when your application should not wait in a capacity queue. Pass the option as the third argument to the Workers AI binding: const response = await env.AI.run( "@cf/google/gemma-4-26b-a4b-it", \{ messages: \[\{ role: "user", content: "Explain capacity queues." \}\], \}, \{ rejectIfBusy: true \}, ); const response = await env.AI.run( "@cf/google/gemma-4-26b-a4b-it", \{ messages: \[\{ role: "user", content: "Explain capacity queues."

Source license: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Publisher excerpt shortened and converted to plain text. Original source license applies.

Read the full original: [Cloudflare Developers](https://developers.cloudflare.com/changelog/post/2026-09-17-reject-if-busy/)

This record does not reproduce the complete article or represent independent confirmation of every source claim.
