Back to Email Classifier
CommunicationGemini 1.5 Pro

Email Classifier Using Gemini 1.5 Pro

Optimized prompts and cost breakdowns for running email classifier with Gemini 1.5 Pro.

About Gemini 1.5 Pro
Provider
google
Context Window
128K tokens
Input Cost
$1.25 / 1M tokens
Output Cost
$5.0 / 1M tokens

Best For

Multimodal tasksGoogle integrationCost efficiency
Optimized Prompts for Gemini 1.5 Pro
These prompts are tailored to work best with Gemini 1.5 Pro'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 Gemini 1.5 Pro
input tokens
~944 tokens
output tokens
~271 tokens
cost per request
$0.0282
monthly 1000 requests
$41.00
Rate Limiting Considerations

Google has rate limits of approximately 4988 RPM. Consider implementing request queuing for high-volume usage.

Monitoring with Administrate

Track Gemini Pro API latency and error rates. Set up alerts for rate limit warnings and cost thresholds.