FG
🤖 AI & LLMsOpenAI

Does this library distinguish `429 - Too many requests` from `429 - Too many tokens`? [question]

Freshover 1 year ago
Mar 14, 20260 views
Confidence Score79%
79%

Problem

Describe the bug Sorry, not a bug - just a question! The OpenAI docs stipulate that they enforce rate limits in 2 ways: by request, and by -- source here I'm wondering if this library distinguishes by the two. I don't think it does, because here is an error log I ahve for the `429`: [code block] Upon confirmation from a maintainer that it doesn't, I will open a feature request requesting this differentiation. Thank you! P.S. I'd request a 3rd option for issue submission, a new `Question` one, in addition to the current `Bug` and `Feature request` options. To Reproduce N/A Code snippets [code block] OS mac Ventura (13.0.1) Node version 16.16 Library version 3.0.0

Error Output

error log I ahve for the `429`:

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
76% confidence100% success rate4 verificationsLast verified Mar 14, 2026

Solution: Does this library distinguish `429 - Too many requests` from `429 - Too many tokens`? [question]

Low Risk

I have absolutely the same bug. I just started to explore this package with my new token. I use latest version of `openai` (3.2.1) and Node v16.13.2. I successfully can use deprecated method `listEngines`, and it returns list of all engines, but requests `createCompletion` and `createChatCompletion` always return `Request failed with status code 429`

76

Trust Score

4 verifications

100% success
  1. 1

    I have absolutely the same bug. I just started to explore this package with my n

    I have absolutely the same bug. I just started to explore this package with my new token. I use latest version of `openai` (3.2.1) and Node v16.13.2.

  2. 2

    I successfully can use deprecated method `listEngines`, and it returns list of a

    I successfully can use deprecated method `listEngines`, and it returns list of all engines, but requests `createCompletion` and `createChatCompletion` always return `Request failed with status code 429`

Validation

Resolved in openai/openai-node GitHub issue #168. Community reactions: 5 upvotes.

Verification Summary

Worked: 4
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

openaigptllmapienhancementquestionopenai-api