Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Codex PingNew to Visual Studio Code? Get it now.
Codex Ping

Codex Ping

YasYar

|
27 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codex Ping

VSCode extension that automatically refreshes Codex state and pings the Codex API when rate limits reset.

Why

This extension automatically restarts rate limits by pinging Codex at the exact moment when cooldowns expire. This allows you to always fully utilize Codex limits, ensuring maximum usage efficiency without manual intervention.

How it works

The extension:

  1. Reads Codex authentication from ~/.codex/auth.json
  2. Uses the model from ~/.codex/config.toml or an optional VS Code setting override
  3. Falls back to current ChatGPT-account-compatible Codex models if the preferred model stops working
  4. Reads limit data from x-codex-* response headers
  5. Supports both reset-after-seconds and reset-at header formats
  6. Keeps a background refresh loop so the extension can recover if a scheduled timer was missed
  7. Automatically sends a ping to Codex API at the moment of reset

This ensures you always have up-to-date rate limit information immediately after a reset occurs.

Prerequisites

  • Codex authentication (codex login)
  • Authentication stored in ~/.codex/auth.json
  • Preferred model usually stored in ~/.codex/config.toml

Configuration

  • codexPing.refreshIntervalSeconds - background refresh interval in seconds (default: 60)
  • codexPing.requestModel - optional model override for ping requests; leave empty to follow ~/.codex/config.toml

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft