Back to Sentiment Analyzer
CommunicationClaude Sonnet 4
Sentiment Analyzer Using Claude Sonnet 4
Optimized prompts and cost breakdowns for running sentiment analyzer with Claude Sonnet 4.
About Claude Sonnet 4
- Provider
- anthropic
- Context Window
- 200K tokens
- Input Cost
- $3.0 / 1M tokens
- Output Cost
- $15.0 / 1M tokens
Best For
CodingAnalysisBalanced cost/quality
Optimized Prompts for Claude Sonnet 4
These prompts are tailored to work best with Claude Sonnet 4's capabilities
analyze
Analyze the sentiment of this text. Provide:
1. Overall sentiment (Positive/Negative/Neutral) with score 0-100
2. Emotional indicators (frustrated, happy, confused, etc.)
3. Key phrases driving the sentiment
4. Any urgency indicators
Text:
{{content}}Cost Breakdown
Estimated costs for running this workflow with Claude Sonnet 4
- input tokens
- ~961 tokens
- output tokens
- ~307 tokens
- cost per request
- $0.0080
- monthly 1000 requests
- $12.04
Rate Limiting Considerations
Consider batching requests during peak hours Monitor 429 errors in Administrate
Monitoring with Administrate
Track latency and token usage for Claude Sonnet 4 in Administrate dashboard