LLM rate-limit & backoff shield
Protect upstream model quotas with per-tenant limits, smart retries, fallbacks, and 429 shielding so one noisy agent cannot melt the budget.
At a glance — Oct 2026
Updated 2026-10-27 · forward this page: /jtbds/llm-rate-limit-shield#briefScores as of 2026-09-14 (43 days old; Depot marks scores stale after 30 days). The pick is still Depot's current editorial pick; it has not been re-reviewed since. Prices below carry their own dates.
- Depot Pick
- Cloudflare AI Gateway · 8.42/10 for this job (curated estimate, high confidence)
Editorial replacement 2026-10-21: the former pick Helicone (8.12 for this job) has been in maintenance mode since 2026-03-03 (https://www.mintlify.com/blog/mintlify-acquires-helicone) and its site now says 'Helicone is no longer part of Mintlify. Details to come soon.' (https://www.helicone.ai/, re-checked 2026-10-21), so ownership and roadmap are unclear. Replaced by the highest-scoring live runner-up, Cloudflare AI Gateway (8.42 for this job; rate limiting is a free core feature, fixed or sliding windows, 429 on excess, per https://developers.cloudflare.com/ai-gateway/features/rate-limiting/ and /reference/pricing/; per user/project/team rate and budget limits with fallbacks via Dynamic Routing per /features/dynamic-routing/; all re-checked 2026-10-21; AI Gateway component 'operational' on cloudflarestatus.com 2026-10-21). Helicone stays a runner-up with the maintenance_mode flag. No score changed. Distinct from `llm-ai-gateway` (routing/guardrails). Focus rate limits + cost ceilings.
- Runner-up
- Portkey · 8.29/10
Scores higher than the pick on: Capability fit, Developer & agent DX.
- When not to use the pick
- Need per-virtual-key budgets and a full governance gateway (Portkey); Vercel already terminates AI traffic (Vercel AI Gateway); Helicone only if you accept maintenance-mode risk (since 2026-03-03, ownership unclear).
- Lock-in / migration
- The pick has lower stored lock-in risk than runner-up Portkey (4 vs 5).
- Sourced price (no comparable unit)
Pick: no sourced price in this job's unit (no_sourced_price).
No cheapest SKU (no_comparable_unit_for_job). No price was invented.
- Free option
- No free resource lists this job. A cheap paid SKU is not a free option.
- Failure modes to watch
- Identity confusion: Bind every tool call to a user or tenant id. Refuse the call if that id changed mid-task. For a public bot, the operator owns the words the bot shows.
- Non-determinism: Run the task more than once and compare the end state, not a single transcript. Record the trial count next to any success rate you cite.
- Runaway spend: Set a budget and a tool-call cap per task. Alert when spend jumps. Stop the run at the cap instead of summarizing a partial trace as success.
Cite: Agent Provider Depot, Depot Pick for llm-rate-limit-shield: cloudflare-ai-gateway, scores as of 2026-09-14. Agents: GET /api/decide?jtbd=llm-rate-limit-shield
Cloudflare AI Gateway
Editorial replacement 2026-10-21: the former pick Helicone (8.12 for this job) has been in maintenance mode since 2026-03-03 (https://www.mintlify.com/blog/mintlify-acquires-helicone) and its site now says 'Helicone is no longer part of Mintlify. Details to come soon.' (https://www.helicone.ai/, re-checked 2026-10-21), so ownership and roadmap are unclear. Replaced by the highest-scoring live runner-up, Cloudflare AI Gateway (8.42 for this job; rate limiting is a free core feature, fixed or sliding windows, 429 on excess, per https://developers.cloudflare.com/ai-gateway/features/rate-limiting/ and /reference/pricing/; per user/project/team rate and budget limits with fallbacks via Dynamic Routing per /features/dynamic-routing/; all re-checked 2026-10-21; AI Gateway component 'operational' on cloudflarestatus.com 2026-10-21). Helicone stays a runner-up with the maintenance_mode flag. No score changed. Distinct from `llm-ai-gateway` (routing/guardrails). Focus rate limits + cost ceilings.
Pricing (directional): As of 2026-09-14 (developers.cloudflare.com/ai-gateway/reference/pricing, updated 2026-05-19): Core gateway (analytics, caching, rate limiting, DLP profiles) free on all Cloudflare plans. Persistent logs: Workers Free 100k total; Workers Pa…
Lock-in risk: higher = more lock-in (worse). Overall already inverts this dimension.
Free edge gateway peer to Portkey/OpenRouter. Depot llm-ai-gateway pick stays Portkey for virtual keys/fallbacks/budgets; use CF AI Gateway when already on Workers and want $0 analytics+cache.
Quote for LLM rate-limit & backoff shield
Depot Pick stays Cloudflare AI Gateway. Prices below are sourced SKU rows only (as of 2026-10-27). Input and output are not blended. GET /api/quote?jtbd=llm-rate-limit-shield
Nothing was compared. no comparable sourced unit for this job; chat input $/1M and other units were not borrowed pickIsPriceWinner is null.
Sourced price unavailable for the Depot Pick. No row in the pricing index.
3 of 5 candidates have no sourced price row. 5 are excluded from the Matching price comparison (none). no comparable sourced unit for this job; chat input $/1M and other units were not borrowed
Runners-up
Portkey
Depot pick for production AI gateway (fallbacks, virtual keys, budgets). OpenRouter when you want a model…
Vercel AI Gateway
Best when the app already ships on Vercel/AI SDK. Portkey remains production-gateway default; OpenRouter for…
OpenRouter
Best multi-model router for agents that need failover and experimentation. Pin providers in production; don’t…
Helicone
Maintenance mode since 2026-03-03 (Mintlify); site now says 'no longer part of Mintlify'. Runner-up only, not a pick.
When NOT to use the top pick
Need per-virtual-key budgets and a full governance gateway (Portkey); Vercel already terminates AI traffic (Vercel AI Gateway); Helicone only if you accept maintenance-mode risk (since 2026-03-03, ownership unclear).
Full ranking (score table)
Ranked with this JTBD's weights. Scores are curated estimates unless marked otherwise. Agents: prefer /api/decide then this table for tie-breaks.
| # | Provider | Overall | Fit | $/perf | Latency | DX | As of |
|---|---|---|---|---|---|---|---|
| 1 | Cloudflare AI GatewayDepot Pick | 8.4 | 8.0 | 9.4 | 9.0 | 8.2 | 2026-09-14 |
| 2 | Portkey | 8.3 | 8.8 | 8.2 | 8.6 | 9.0 | 2026-09-14 |
| 3 | Vercel AI Gateway | 8.2 | 8.2 | 9.0 | 8.6 | 9.2 | 2026-09-14 |
| 4 | Helicone | 8.1 | 8.2 | 8.5 | 8.4 | 8.8 | 2026-10-19 |
| 5 | OpenRouter | 7.9 | 8.8 | 7.8 | 7.6 | 9.2 | 2026-09-14 |
Score methodology for this job
Distinct from `llm-ai-gateway` (routing/guardrails). Focus rate limits + cost ceilings. Confidence: high.
capabilityFit: 20%pricePerformance: 12%latencyReliability: 28%developerDx: 14%privacyPosture: 8%lockInRisk: 8%maturity: 10%