OpenAI recently introduced OAuth authentication for ChatGPT subscriptions, allowing tools like Cline to use your existing subscription instead of managing API keys. Here are the key restrictions: cline
The main restriction is rate limiting tied to your ChatGPT subscription tier: reddit
- Plus users: Around 300–1,500 local messages every 5 hours, or 50–400 cloud tasks depending on complexity
- Pro users: Higher limits but still capped with 5-hour and weekly limits
- Usage counts against your overall ChatGPT subscription quota, not separate API credits github
Many users report hitting limits quickly, especially with intensive agentic coding workflows. community.openai
The models available depend on your subscription tier :
- gpt-5.2-codex: Optimized for agentic coding
- gpt-5.2: General-purpose with strong reasoning
- gpt-5-mini: Fast and cost-effective
- o3 / o4-mini: Advanced and everyday reasoning tasks
| Aspect | OAuth (ChatGPT Subscription) | API Keys |
|---|---|---|
| Pricing | Flat-rate (subscription) cline | Pay-per-token reddit |
| Limits | Time-based (5h/weekly caps) github | Token/request limits platform.openai |
| Setup | One-click sign-in | Manual key management |
| Credential exposure | Tokens handled automatically cline | Risk of accidental commits |
- Shared quota: Usage in Cline draws from the same pool as your ChatGPT web/app usage github
- No separate budget: You cannot add API credits to bypass OAuth limits—they're tied strictly to your subscription tier github
- Security: Your OpenAI credentials never leave OpenAI's servers; Cline only receives access tokens cline
For heavy coding use, some users find the 5-hour and weekly caps frustrating and prefer third-party providers or direct API access for more flexibility. community.openai
The weekly limits for OpenAI Codex (used via "Sign in with ChatGPT" in tools like Cline) vary by subscription tier, though OpenAI doesn't publish exact numbers:
5-Hour Rolling Limits (Primary Cap)
[apidog]
Weekly Cumulative Limits
Beyond the 5-hour window, there's a separate weekly usage cap that accumulates across all your 5-hour windows:[apidog]
Plus users: Typically hit the weekly limit after ~2–3 intensive coding sessions (around 500–700 credits worth)[community.openai]
Pro users: Approximately 10x the Plus quota, allowing ~6–8 intensive sessions per week (around 2,000–2,500 credits)reddit+1
OpenAI deliberately keeps the exact weekly numbers vague, but users report that hitting your 5-hour limit 2–3 times can consume ~35% of your weekly quota on Plus.[community.openai]
Checking Your Usage
You can monitor your current limits by running:
This shows remaining local and cloud message counts for both the 5-hour and weekly windows. In VS Code extensions like Cline, you can also view both caps in the interface.reddit+1
When Limits Reset
The weekly limit resets based on when you first started using Codex for that cycle—it's a rolling 7-day window, not a fixed calendar week. If you hit your limit, you can purchase additional credits to continue or wait for the reset.developers.openai+1
5-Hour Rolling Limits (Primary Cap)
[apidog](https://apidog.com/blog/codex-usage-limits/)
Weekly Cumulative Limits
Beyond the 5-hour window, there's a separate weekly usage cap that accumulates across all your 5-hour windows: [apidog](https://apidog.com/blog/codex-usage-limits/)
OpenAI deliberately keeps the exact weekly numbers vague, but users report that hitting your 5-hour limit 2–3 times can consume ~35% of your weekly quota on Plus. [community.openai](https://community.openai.com/t/pro-plan-hit-5-hour-limit-twice-in-2h-and-1-5h-and-nearly-exhausted-weekly-cap-in-1-day-after-today-s-update/1364782)
Checking Your Usage
You can monitor your current limits by running:
This shows remaining local and cloud message counts for both the 5-hour and weekly windows. In VS Code extensions like Cline, you can also view both caps in the interface. reddit
When Limits Reset
The weekly limit resets based on when you first started using Codex for that cycle—it's a rolling 7-day window, not a fixed calendar week. If you hit your limit, you can purchase additional credits to continue or wait for the reset. developers.openai