⚠️
This page is not yet translated, showing English version
OpenAI Setup Guide
This guide will help you configure your OpenAI API Key in Chatbox to use GPT 5.2, o3, and other models.
Getting an API Key
Step 1: Register an OpenAI Account
- Visit OpenAI Platform
- Click "Sign up" to create an account (phone verification may be required)
- Complete email verification
Step 2: Add Payment Method
- After logging in, go to the Billing page
- Click "Add payment method" to add a credit card
- We recommend setting usage limits to control spending
Step 3: Create an API Key
- Go to the API Keys page
- Click "Create new secret key"
- Name your key (e.g., "Chatbox")
- Copy the generated key (shown only once, save it securely)
Configure in Chatbox
Step 1: Open Settings
- Open the Chatbox app
- Click the "Settings" entry in the bottom left
- Select "AI Provider" or "Model Settings"
💡
On mobile, tap the menu icon (☰) in the top left to open the sidebar first, then tap "Settings".
Step 2: Add OpenAI
- Click "Add Provider"
- Select "OpenAI"
- Paste your key in the "API Key" field
- Keep API Host as default:
https://api.openai.com
Step 3: Select a Model
After saving, you can choose from these models:
| Model | Features | Use Cases |
|---|---|---|
| gpt-5.2 | Latest flagship, best for coding and agentic tasks | Daily chat, writing, analysis |
| gpt-5-mini | Fast and cost-efficient | Simple tasks, high volume |
| o3 | Deep reasoning model | Math, coding, complex logic |
Pricing
OpenAI charges by Token, with different rates for each model:
| Model | Input Price | Output Price |
|---|---|---|
| gpt-5.2 | $1.75 / 1M tokens | $14.00 / 1M tokens |
| gpt-5-mini | $0.25 / 1M tokens | $2.00 / 1M tokens |
| o3 | $1.00 / 1M tokens | $4.00 / 1M tokens |
Prices may change. Please check OpenAI's official pricing for current rates.
Common Issues
API Key Not Working
Possible causes:
- Key expired or deleted
- Insufficient account balance
- Key permission settings issue
Solutions:
- Check if the key is valid in OpenAI dashboard
- Confirm account has available balance
- Generate a new key
"Insufficient Quota" Error
Solutions:
- Visit the Usage page to check usage
- Add credits on the Billing page
Network Connection Issues
Possible causes:
- Network cannot access OpenAI API
- Proxy configuration issues
Solutions:
- Confirm network can access
api.openai.com - Check system proxy settings
- Try configuring proxy in Chatbox settings
Slow Response
Optimization tips:
- Use
gpt-5-minifor faster responses - Reduce conversation context length
- Check network latency
Usage Tips
- Set usage limits: Configure monthly spending limits in OpenAI dashboard to avoid unexpected high bills
- Choose appropriate models: Use cheaper models for simple tasks, premium models for complex tasks
- Monitor usage regularly: Check the Usage page to understand Token consumption
- Protect your key: Never share your API Key publicly