Use OpenAI Models with ChatGPT Plus/Pro Subscription
Use OpenAI models with your ChatGPT Plus/Pro subscription
If you already have a ChatGPT Plus ($20/month) or ChatGPT Pro ($200/month) subscription, you can use your subscription quota directly in TalkCody without purchasing additional API credits.
How It Works
TalkCody uses the official OAuth authentication provided by OpenAI, which is the same authentication method used by OpenAI's official Codex CLI.
After logging in via OAuth, TalkCody can use the model quota included in your subscription, including GPT-5.2, GPT-5.2-Codex, and other models.
Terms of Use & Disclaimer
Important: Please read the following terms carefully before using this feature.
This feature is designed for personal development use only, limited to your own ChatGPT Plus/Pro subscription. By using this feature, you agree to:
Permitted Uses
- ✅ Personal coding assistance and productivity enhancement
- ✅ Compliance with OpenAI's rate limits and usage policies
- ✅ Not using access for commercial services or resale
- ✅ Adherence to OpenAI Terms of Use and Usage Policies
Prohibited Uses
- ❌ Commercial API resale or white-label services
- ❌ High-concurrency automated requests beyond personal use
- ❌ Using one subscription to serve multiple users
- ❌ Any behavior that violates OpenAI's Acceptable Use Policy
This feature uses OpenAI's official OAuth authentication (the same method as official Codex CLI). However, users are responsible for ensuring their usage complies with OpenAI's Terms of Service.
Disclaimer
- This project is not affiliated with OpenAI in any way
- ChatGPT, GPT, Codex are trademarks of OpenAI
- This is an independent open-source project, not endorsed, sponsored, or affiliated with OpenAI
- Violation of OpenAI's Terms of Service may result in account restrictions
For production or commercial use, please purchase official API credits through the OpenAI Platform API.
Configuration Steps
Open Settings
- Launch TalkCody
- Click the Settings icon on the left
- Navigate to the API Keys page
- Find the OpenAI section
Login with OpenAI
In the OpenAI settings area, click the Login with OpenAI button.
The system will display an authorization URL and automatically open it in your browser.
Complete Browser Authorization
- On the opened browser page, log in with your ChatGPT Plus/Pro account
- Review the scope of permissions requested
- Click the Authorize button to grant authorization
Wait for Automatic Callback
TalkCody starts a temporary local server to listen for the callback. After successful authorization:
- Automatic mode: The system automatically receives the authorization code and completes authentication
- Manual mode: If automatic callback fails, copy the complete URL from the browser address bar or the authorization code, and paste it into the TalkCody input box
The authorization code supports multiple formats: complete URL, code#state format, or code=xxx&state=yyy query string.
Verify Connection
After successful authorization, you will see:
- Connection status shows as Connected
- You can start using OpenAI models for conversations
After successful OAuth login, tokens will refresh automatically, no need to log in repeatedly.
View Usage
TalkCody provides a Usage Dashboard that allows you to monitor your OpenAI Plus/Pro subscription usage in real-time.
Access Usage Dashboard
- Click the Usage icon in the left navigation bar
- Select the OpenAI tab to view OpenAI usage
Usage Metrics Explained

The dashboard displays the following metrics:
5-Hour Session Usage
- Content: API usage percentage in the last 5 hours
- Reset Time: Time until next reset
- Color Indicators:
- Green (< 50%): Normal usage
- Yellow (50-80%): Moderate usage
- Orange (80-95%): High usage
- Red (>95%): Approaching limit
7-Day Weekly Usage
- Content: API usage percentage in the last 7 days
- Reference Metric: Helps you understand your overall weekly usage
Credits
- Balance: Your API credit balance
- Unlimited: If your plan has unlimited quota, it will show "Unlimited"
Code Review Usage
- Content: Usage percentage for code review feature
- Description: Shows quota usage for OpenAI's code review functionality
Refresh Usage
Click the Refresh button in the top right corner to manually update usage data.
FAQ
What's the difference between OAuth authentication and API Key?
| Method | Pros | Cons |
|---|---|---|
| OAuth (Subscription) | Use existing subscription, no additional payment needed | Personal use only, rate limited |
| API Key | Higher rate limits, suitable for commercial use | Requires separate API credit purchase |
What if automatic callback fails?
If automatic callback fails (e.g., port is occupied), you can:
- Copy the complete callback URL from the browser address bar
- Paste it into the TalkCody authorization code input box
- The system will automatically parse and complete authentication