codex-quota
Check OpenAI Codex CLI rate limit status using local session logs.
Overview: Monitor your OpenAI Codex CLI rate limits with this portable Python script. It checks your daily and weekly quotas, helping you avoid unexpected rate limits. Key Features: * Checks rate limits for primary (5 hours) and secondary (7 days) windows * Displays reset times with countdown * Shows source session file and age * Supports multiple accounts with --all option How It Works: The script reads local session logs in ~/.codex/sessions/ and uses the codex CLI to query the rate limits. Use Cases: * Before starting heavy Codex work to check weekly quota * When Codex seems slow to determine if you’re rate-limited * Monitoring quota across multiple accounts with --all option
Reviews
No reviews yet.