Available Models
GPT-4 (Recommended for Quality)
Model:gpt-4 or gpt-4-turbo
- Legal or compliance-critical interactions
- Technical troubleshooting
- Complex negotiations
- High-value customer interactions
GPT-3.5 Turbo (Recommended for Balance)
Model:gpt-3.5-turbo
- High-volume calling
- Time-sensitive responses
- Cost-conscious operations
- Standard customer interactions
Setup
Step 1: Get Your API Key
- Go to platform.openai.com
- Sign in to your OpenAI account
- Click “API keys” in the left menu
- Click “Create new secret key”
- Copy the key (you won’t see it again)
Step 2: Set up Billing
OpenAI charges per API usage:- Go to “Billing” in OpenAI dashboard
- Set usage limits to prevent surprises
- Add payment method
- Review pricing page for current rates
Step 3: Add to CallIntel
For Super Admins:- Go to Settings → Developer Settings
- Click “API Keys”
- Select “OpenAI” from provider list
- Paste API key
- Click “Test Connection”
- Save
- Go to Settings → AI Models
- Click “Add OpenAI Model”
- Paste API key (or use super admin configured key)
- Select which models to enable
- Save
Step 4: Configure Agent
- Create or Edit an Agent
- Under “Language Model”, select:
gpt-4-turboorgpt-3.5-turbo
- Configure advanced settings:
- Temperature: 0.7 (default)
- Max Tokens: 150 (for responses)
- Frequency Penalty: 0 (no penalty)
- Presence Penalty: 0 (no penalty)
- Save agent
Step 5: Test
Make a test call to verify:- Use Web Call feature
- Speak to agent
- Verify proper responses
- Check call logs
Model Selection
Model Comparison
| Feature | GPT-4 | GPT-3.5 |
|---|---|---|
| Quality | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| Speed | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
| Cost | ⭐⭐ | ⭐⭐⭐⭐⭐ |
| Reasoning | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| Languages | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
Cost Example (1000 calls/month)
GPT-4 Scenario:Configuration Options
Temperature
Controls response creativity (0-2):Max Tokens
Maximum response length (1-4096):System Prompt
Define agent behavior (see Agent Setup Guide):Advanced Features
Function Calling
Enable agents to call external functions:- Look up information
- Process transactions
- Update systems
- Trigger actions
Vision Capabilities
GPT-4V can analyze images:Cost Optimization
1. Use GPT-3.5 Turbo for Most Tasks
2. Optimize Prompts
Bad (expensive):3. Reduce Token Usage
4. Batch Processing
For scheduled calls, use batch API:- Schedule calls for off-peak hours
- Use batch endpoint (CallIntel handles this)
- 24-hour processing window
- Save significantly on costs
Monitoring & Limits
Token Monitoring
Check usage in OpenAI dashboard:- Go to Usage Dashboard
- View current usage
- Check spending
- View by model breakdown
Rate Limits
Default limits for standard accounts:Budget Controls
Set spending limits to prevent surprises:- Go to Billing → Usage Limits
- Set hard limit (e.g., $100/month)
- Optional email alert at 50%
- API requests blocked when limit reached
Best Practices
1. Start with GPT-3.5 Turbo
2. Monitor Performance
Track key metrics:3. Test Before Production
4. Use Lower Temperature for Consistency
Troubleshooting
Getting 'API key invalid' error
Getting 'API key invalid' error
Verify key starts with
sk- and is not truncated. Copy from OpenAI dashboard again and test.Responses are slow
Responses are slow
Switch to GPT-3.5 Turbo for faster responses. Also reduce max_tokens setting.
Costs are higher than expected
Costs are higher than expected
Check token usage in OpenAI dashboard. Reduce max_tokens, shorten KB, and simplify prompts.
Agent responses are inconsistent
Agent responses are inconsistent
Lower temperature setting to 0.3-0.5 for more deterministic responses.
Agent keeps making mistakes
Agent keeps making mistakes
Consider upgrading to GPT-4 for better reasoning, or improve system prompt and knowledge base.
See Also
AI Models Overview
Compare all AI providers
Agent Setup
Create and configure agents
Knowledge Base Guide
Build effective knowledge bases
Support
OpenAI API Docs
Contact Support
Email: callintel01@gmail.com