Back to Email Classifier
CommunicationLlama 3 (70B)

Email Classifier Using Llama 3 (70B)

Optimized prompts and cost breakdowns for running email classifier with Llama 3 (70B).

About Llama 3 (70B)
Provider
meta
Context Window
8K tokens
Input Cost
$0.9 / 1M tokens
Output Cost
$0.9 / 1M tokens

Best For

Self-hostingOpen sourcePrivacy
Optimized Prompts for Llama 3 (70B)
These prompts are tailored to work best with Llama 3 (70B)'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 Llama 3 (70B)
input tokens
~1820 tokens
output tokens
~803 tokens
cost per request
$0.0186
monthly 1000 requests
$32.00
Rate Limiting Considerations

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

Monitoring with Administrate

Track Llama 3 (70B) API latency and error rates. Set up alerts for rate limit warnings and cost thresholds.