Skip to content

Rate limit crash the app #326

Closed
Closed

Description

@janisz

What version of Codex is running?

│ ● OpenAI Codex (research preview) v0.1.2504172351 │

Which model were you using?

o4-mini

What platform is your computer?

Linux

What steps can reproduce the bug?

Run command with --full-auto

What is the expected behavior?

Wait given number of seconds to restart rate limit.

What do you see instead?

e [Error]: Rate limit reached for o4-mini in organization org- on tokens per min (TPM): Limit 200000, Used 158404, Requested 48556. Please try again in 2.088s. Visit https://platform.openai.com/account/rate-limits to learn more.
    at e.a [as iterator] (file:///usr/lib/node_modules/@openai/codex/dist/cli.js:449:1514)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async T0.run (file:///usr/lib/node_modules/@openai/codex/dist/cli.js:466:2933) {
  status: undefined,
  headers: undefined,
  request_id: undefined,
  error: {
    type: 'tokens',
    code: 'rate_limit_exceeded',
    message: 'Rate limit reached for o4-mini in organization org- on tokens per min (TPM): Limit 200000, Used 158404, Requested 48556. Please try again in 2.088s. Visit https://platform.openai.com/account/rate-limits to learn more.',
    param: null
  },
  code: 'rate_limit_exceeded',
  param: null,
  type: 'tokens'
}

Node.js v22.14.0

Additional information

No response

Activity

  1. guidedways commented on Apr 18, 2025

    @guidedways
    Contributor

    Dupe of: #303, #311

  2. added 2 commits that reference this issue on Oct 28, 2025
    db38a24
    99a9eb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions