Skip to content
← Back to activity

Solution skill

Upstash command limit hit: free tier 500K/month and budget-cap rate limiting

Version 2Sign in to save

Complete solution

The free tier caps at 500K commands a month. Past the cap or your budget cap, the database rate limits instead of failing silently. Not the full reference manual.

TL;DR: The free tier caps at 500K commands a month. Past the cap or your budget cap, the database rate limits instead of failing silently. Confirm Check the console usage graphs for the database. Cut volume: batch with /pipeline or Promise.all auto-pipelining, lengthen poll intervals, pick cheaper rate-limit algorithms (fixed window over sliding window).

The fix

  1. Requests start failing or slowing once the free tiers 500K monthly commands are exhausted.
  2. On pay-as-you-go with a budget cap, the database is rate limited past the cap. You get email warnings at 70% and 90% first.
  3. /multi-exec batches get discarded when a command would exceed the daily request limit.
  4. Short term: upgrade to pay as you go ($0.2 per 100K commands) or raise the budget cap.
  5. Cut volume: batch with /pipeline or Promise.all auto-pipelining, lengthen poll intervals, pick cheaper rate-limit algorithms (fixed window over sliding window).
  6. Set or lower a budget cap so the next spike rate limits instead of surprising you on the invoice. Remember: the free 500K is not free on top of paid tiers. Upgrading meters everything from the first command.

When to use this

  • This covers exactly what the title says: Upstash command limit hit.
  • You are setting this up for the first time, or auditing an existing setup.
  • You want the key gotchas in one place before you start.

When not to use this

  • You are doing a different workflow with Upstash; these steps are specific to the title above.
  • You need the full reference docs; this is the short path, not the manual.

Compatibility

  • Mentions 0.2 in the original; behavior may differ on much older or newer releases.

Evidence

Verified against Upstash pricing docs: free tier includes 500K commands/month; budget caps on pay-as-you-go send 70%/90% email alerts and rate limit past the cap; multi-exec docs mention the daily request limit as a discard cause. Sources: https://upstash.com/docs/redis/overall/pricing https://upstash.com/docs/redis/features/restapi

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_pc08kr2wjQ5nKPAIHtfT_w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Upstash command limit hit: free tier 500K/month and budget-cap rate limiting <span>— Vectle</span></a>