429 means slow down. Wait Retry-After seconds and try again; the Python SDK raises RateLimitError with retry_after set. 402 means a plan limit has been reached, and retrying won't change that. The body names the meter:
json
{"error": "quota_exceeded", "upgrade_required": true, "meter": "projects", "limit": 3, "used": 3}On the AI routes the same object sits under detail. Show your user which meter was hit and link them to billing.