Skip to content

False "rate_limited" error on gpt-5.1-codex in CLI v0.0.358 #586

@Daplugg23

Description

@Daplugg23

Describe the bug

When attempting to use the newly released gpt-5.1-codex model via the Copilot CLI, the request fails immediately with a rate_limited error.

This appears to be a false error for the following reasons:

  1. My Copilot Pro account has premium requests remaining.
  2. The rate_limited error happens only for the gpt-5.1-codex model.
  3. All other models work correctly from the CLI.
  4. The gpt-5.1-codex model has already been successfully enabled in my account's Copilot settings (via the web UI).

Affected version

0.0.358 Commit: f5a8b1e76

Steps to reproduce the behavior

  1. Ensure you have a Copilot Pro account with premium requests available.

  2. Go to GitHub settings and enable the gpt-5.1-codex model.

  3. From the terminal, run any Copilot CLI command, specifying the model:
    copilot --model gpt-5.1-codex "read the directory"

  4. Observe the immediate error.

Expected behavior

The Copilot CLI should connect to the gpt-5.1-codex model and execute the prompt, consuming premium requests as expected.

Actual Behavior
The CLI immediately fails and prints the rate_limited error message:
✗ Model call failed: {"message":"Rate limit exceeded. Please review our [Terms of Service](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service).","code":"rate_limited"}

Additional context

Environment & Context

  • OS: Windows 11 Pro (64-bit operating system, x64-based processor)
  • Terminal: Windows Terminal
  • Shell: Powershell 7.5.4
  • Hardware: AMD Ryzen 9 9950X3D, 64.0 GB RAM
  • Subscription: Copilot Pro
  • Troubleshooting Steps Taken:
  1. Verified all other models work.
  2. Verified gpt-5.1-codex is enabled in settings.
  3. Logged out and logged back in.
  4. Performed a clean uninstall and reinstall of the 0.0.358 CLI.
  • Related Issues: This seems related to or a continuation of Issue 0.0.357 Unable to use gpt-5.1-codex model #558, which reported access problems for this model on v0.0.357. This new rate_limited error might be the new symptom in v0.0.358.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions