Skip to main content

Available Models

Model: gpt-4 or gpt-4-turbo
When to Use GPT-4:
  • Legal or compliance-critical interactions
  • Technical troubleshooting
  • Complex negotiations
  • High-value customer interactions
Model: gpt-3.5-turbo
When to Use GPT-3.5 Turbo:
  • High-volume calling
  • Time-sensitive responses
  • Cost-conscious operations
  • Standard customer interactions

Setup

Step 1: Get Your API Key

  1. Go to platform.openai.com
  2. Sign in to your OpenAI account
  3. Click “API keys” in the left menu
  4. Click “Create new secret key”
  5. Copy the key (you won’t see it again)

Step 2: Set up Billing

OpenAI charges per API usage:
  1. Go to “Billing” in OpenAI dashboard
  2. Set usage limits to prevent surprises
  3. Add payment method
  4. Review pricing page for current rates

Step 3: Add to CallIntel

For Super Admins:
  1. Go to Settings → Developer Settings
  2. Click “API Keys”
  3. Select “OpenAI” from provider list
  4. Paste API key
  5. Click “Test Connection”
  6. Save
For Organization Admins:
  1. Go to Settings → AI Models
  2. Click “Add OpenAI Model”
  3. Paste API key (or use super admin configured key)
  4. Select which models to enable
  5. Save

Step 4: Configure Agent

  1. Create or Edit an Agent
  2. Under “Language Model”, select:
    • gpt-4-turbo or
    • gpt-3.5-turbo
  3. Configure advanced settings:
    • Temperature: 0.7 (default)
    • Max Tokens: 150 (for responses)
    • Frequency Penalty: 0 (no penalty)
    • Presence Penalty: 0 (no penalty)
  4. Save agent

Step 5: Test

Make a test call to verify:
  1. Use Web Call feature
  2. Speak to agent
  3. Verify proper responses
  4. Check call logs

Model Selection

Model Comparison

Cost Example (1000 calls/month)

GPT-4 Scenario:
GPT-3.5 Turbo Scenario:
60x cost difference for 1000 calls!

Configuration Options

Temperature

Controls response creativity (0-2):
Recommended Settings:

Max Tokens

Maximum response length (1-4096):
Tip: Lower max tokens saves costs!

System Prompt

Define agent behavior (see Agent Setup Guide):

Advanced Features

Function Calling

Enable agents to call external functions:
Agents can:
  • Look up information
  • Process transactions
  • Update systems
  • Trigger actions

Vision Capabilities

GPT-4V can analyze images:
Note: Requires image input in calls (enterprise feature).

Cost Optimization

1. Use GPT-3.5 Turbo for Most Tasks

2. Optimize Prompts

Bad (expensive):
Good (cheaper):
Savings: 60% reduction in tokens!

3. Reduce Token Usage

4. Batch Processing

For scheduled calls, use batch API:
How to Use:
  1. Schedule calls for off-peak hours
  2. Use batch endpoint (CallIntel handles this)
  3. 24-hour processing window
  4. Save significantly on costs

Monitoring & Limits

Token Monitoring

Check usage in OpenAI dashboard:
  1. Go to Usage Dashboard
  2. View current usage
  3. Check spending
  4. View by model breakdown

Rate Limits

Default limits for standard accounts:

Budget Controls

Set spending limits to prevent surprises:
  1. Go to Billing → Usage Limits
  2. Set hard limit (e.g., $100/month)
  3. Optional email alert at 50%
  4. API requests blocked when limit reached

Best Practices

1. Start with GPT-3.5 Turbo

2. Monitor Performance

Track key metrics:
Review monthly and optimize.

3. Test Before Production

4. Use Lower Temperature for Consistency

Troubleshooting

Verify key starts with sk- and is not truncated. Copy from OpenAI dashboard again and test.
Switch to GPT-3.5 Turbo for faster responses. Also reduce max_tokens setting.
Check token usage in OpenAI dashboard. Reduce max_tokens, shorten KB, and simplify prompts.
Lower temperature setting to 0.3-0.5 for more deterministic responses.
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

Contact Support