Back to Email Classifier
CommunicationGPT-4o
Email Classifier Using GPT-4o
Optimized prompts and cost breakdowns for running email classifier with GPT-4o.
About GPT-4o
- Provider
- openai
- Context Window
- 128K tokens
- Input Cost
- $2.5 / 1M tokens
- Output Cost
- $10.0 / 1M tokens
Best For
Complex reasoningCode generationLong documents
Optimized Prompts for GPT-4o
These prompts are tailored to work best with GPT-4o's capabilities
classify
Classify this email into one of these categories: {{categories}}
Also determine:
- Priority: High/Medium/Low
- Intent: Question/Complaint/Request/Information
- Sentiment: Positive/Neutral/Negative
Email:
{{email_content}}Cost Breakdown
Estimated costs for running this workflow with GPT-4o
- input tokens
- ~1384 tokens
- output tokens
- ~705 tokens
- cost per request
- $0.0419
- monthly 1000 requests
- $29.00
Rate Limiting Considerations
Openai has rate limits of approximately 9447 RPM. Consider implementing request queuing for high-volume usage.
Monitoring with Administrate
Track GPT-4o API latency and error rates. Set up alerts for rate limit warnings and cost thresholds.