[⊙_⊙] CLERK ASSAY LEDGER v0.15.1·305 PROVIDERS (FROZEN)·206 JTBDs·EDITORIAL PRIOR (±0.5)
[⊙_⊙]
Agent Provider Depot
Signalry · Independent Agent Prior

Agent Provider Depot / Error Rescue Index (28 Traps) / openai-insufficient-quota

rate_limit_429trapId: trap-openai-insufficient-quota · asOf: 2026-10-28

OpenAI 429 insufficient_quota / billing_hard_limit_reached

OpenAI returns HTTP 429 with code insufficient_quota when prepaid credits expire or monthly spend cap is hit; retrying against api.openai.com will fail indefinitely until failover.

1. Immediate Code & SKU Fix
Replace With SKU: openrouter (openai/gpt-5 or anthropic/claude-sonnet-4-5)
Install Command: npm install openai@latest
Required Env Vars: OPENROUTER_API_KEY
const client = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey: process.env.OPENROUTER_API_KEY });
2. Verified Hot-Swap Fallback Route
Primary: openrouter → Fallback: anthropic
liveHealth: operational · autoActOk: true

Compliance blocks Anthropic

Matched Error String Signatures (4)
insufficient_quotabilling_hard_limit_reachedYou exceeded your current quota, please check your plan and billing detailsexceeded your current quota
curl -s "https://getagentdepot.com/api/rescue?q=insufficient_quota"

Browse All 28 Agent Runtime Rescue Cards