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
No, Claude Code does not offer an official OAuth sign-in for third-party tools like Cline. In fact, Anthropic recently took the opposite approach—actively blocking such usage.
The Workaround (Now Blocked)
Previously, users could connect their Claude Max subscription to Cline through the Claude Code CLI as a workaround:[cline]
Install Claude Code CLI:
npm install -g @anthropic-ai/claude-codeConfigure Cline to use "Claude Code" as the API provider
Set the path to your Claude CLI executable
This let Cline delegate authentication to the Claude Code CLI, effectively routing requests through your subscription.[github]
Anthropic's Crackdown (January 2026)
Anthropic implemented strict technical safeguards in early January 2026 to prevent third-party applications from using Claude Code subscription tokens. The changes:[venturebeat]
Subscription OAuth tokens no longer work outside the official Claude Code client[ai-checker.webcoda.com]
Third-party "harnesses" (software wrappers that managed OAuth tokens) were specifically targeted[venturebeat]
Users attempting to use credentials externally now receive errors on the first request[ai-checker.webcoda.com]
Why Anthropic Blocked It
According to reports, Anthropic's motivations include:[ai-checker.webcoda.com]
Economic concerns: Flat-rate subscriptions being used for heavy automated workflows that would cost significantly more at API rates
Support burden: Users blaming Anthropic for issues caused by third-party tools
Ecosystem control: Maintaining direct relationship with developers rather than becoming a "swappable backend"
Current Options for Cline Users
The community response has been largely critical, with some developers canceling their Max subscriptions in protest. As one user noted: "When I pay for a subscription, I'm not paying for Claude Code. I'm paying for Anthropic models. The client should be able to choose how those models are consumed".linkedin+1
For now, if you want to use Claude in Cline, you'll need to use a separate Anthropic API key with pay-per-token billing rather than your subscription.[reddit]
The Workaround (Now Blocked)
Previously, users could connect their Claude Max subscription to Cline through the Claude Code CLI as a workaround: [cline](https://cline.bot/blog/how-to-use-your-claude-max-subscription-in-cline)
npm install -g @anthropic-ai/claude-codeThis let Cline delegate authentication to the Claude Code CLI, effectively routing requests through your subscription. [github](anomalyco/opencode#1461)
Anthropic's Crackdown (January 2026)
Anthropic implemented strict technical safeguards in early January 2026 to prevent third-party applications from using Claude Code subscription tokens. The changes: [venturebeat](https://venturebeat.com/technology/anthropic-cracks-down-on-unauthorized-claude-usage-by-third-party-harnesses)
Why Anthropic Blocked It
According to reports, Anthropic's motivations include: [ai-checker.webcoda.com](https://ai-checker.webcoda.com.au/articles/anthropic-blocks-claude-code-subscriptions-third-party-tools-2026)
Current Options for Cline Users
The community response has been largely critical, with some developers canceling their Max subscriptions in protest. As one user noted: "When I pay for a subscription, I'm not paying for Claude Code. I'm paying for Anthropic models. The client should be able to choose how those models are consumed". linkedin
For now, if you want to use Claude in Cline, you'll need to use a separate Anthropic API key with pay-per-token billing rather than your subscription. [reddit](https://www.reddit.com/r/ClaudeAI/comments/1klpiw1/claude_max_plan_api_connect_to_cline/)